Individual skill
agentsop-session-state-hygiene
Decision protocol for managing the context/session state of an AI coding tool: when to /clear, when to keep context, and how to detect "context bleed" — the failure mode where stale conversation history biases the model against the current task. Surfaces a discipline that Aider (/clear), Claude Code (/clear), CrewAI (memory=False, re-instantiate), and LangGraph (new thread_id, subgraph isolation) all encode separately but none name as a skill.
skills/agentsop-session-state-hygiene/SKILL.md
Source commit cf4376869e5f23f82404c3021a2a1315dfca318d
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 465
- Repository last updated
- Oct 24, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skill Repository topic
- skill-creation Repository topic
- ai-agent Repository topic
- llm-agent Repository topic
- skill-engineering Repository topic
- skill-generation Repository topic
- skill-pipeline Repository topic
- skill-construction Repository topic
- agent-skills Repository topic
- skill-acquisition Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
README.mddoc · 3,249 bytesSKILL.mdcore · 25,928 bytesSKILL.mdcore · 25,928 bytesintermediate/operation_candidates.jsonasset · 10,945 bytesreferences/R1-source-evidence.mddoc · 5,707 bytesreferences/R2-tool-commands.mddoc · 6,439 bytes
Read excerpt
# Session-State Hygiene · SOP
> One line: **context is signal; stale context is noise; clearing restores
> signal.** A coding session is a sliding window of evidence. Early in a task
> the window is pure signal. The longer it runs, the more dead ends, abandoned
> plans, and superseded files accumulate — and at some point yesterday's good
> context becomes today's bad bias. This skill is the discipline of noticing
> that moment and acting on it with the smallest correct cut.
> Source posture: every framework-specific claim is cited inline as
> `[tool/topic]`. Resolve tags against `references/R1-source-evidence.md` (full
> URLs) and `references/R2-tool-commands.md` (copy-pastable commands).
---