agentsop-session-state-hygiene
90 / 100 · Low risk
Fine to try.
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.
What this skill can do
Changes files outside its own folder
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'agentsop-session-state-hygiene' ] || [ -L ~/.agents/skills/'agentsop-session-state-hygiene' ]; then echo 'A skill folder named agentsop-session-state-hygiene already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/agentsope/SkillAlchemy' "$d" && git -C "$d" checkout --quiet '955562e4416c483da946e9c95a1c3974ac52df3c' -- 'skills/agentsop-session-state-hygiene' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/agentsop-session-state-hygiene' ~/.agents/skills/'agentsop-session-state-hygiene' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'agentsop-session-state-hygiene' ~/.claude/skills/'agentsop-session-state-hygiene' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/agentsope/SkillAlchemy/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-09 | 955562e | 90 |
| 2026-11-07 | cf43768 | 90 |