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.

agentsope 9fe78a4 5 files · 50.8 KB Updated

File contents

agentsope/SkillAlchemy/tree/main/skills/agentsop-session-state-hygiene commit 9fe78a4534

Frequently asked questions

npx skillmds@latest add agentsope/agentsop-session-state-hygiene