Claude Skill: The Context Window Hygiene Skill
Use this skill when AI starts losing the plot. Keep an AI agent’s working memory clean using the Write, Select, Compress, Isolate framework.
This skill works in Claude Code and Claude Cowork, so you can use it both when coding and when managing longer agentic work sessions. It helps you keep an AI agent’s working space clean, focused, and useful.
Use it when:
The agent starts repeating itself.
The agent forgets an earlier decision.
The agent invents a tool, file, or function.
The AI suddenly asks what you’re working on.
Output quality drops mid-session.
Or you see each eesponse getting more expensive.
What comes out:
A handoff note that preserves the decisions.
A persistent
CLAUDE.mdormemory/entry for anything that should outlive the session.A scoped subagent prompt instead of one mega-agent juggling everything.
A live artifact for views you’ll re-open later.
Sometimes a scheduled task for work that can wait.



