
Context Audit
Audit an agent's context layout against the four places: system prompt, tools, history...
Install
npx skills add undefined-ui/second-brain-os --skill context-audit -g -a claude-code -y- Repository
- undefined-ui/second-brain-os1.2k
- Category
- Design
- Updated
- 22d ago
- License
- MIT
- Context cost
- Lightabout 694 tokens
- Runs scripts
- No, instructions only
What it does
Audit an agent's context layout against the four places: system prompt, tools, history, tail. Use when the user asks to audit, review or fix their agent's context, prompt caching, token spend per turn, or CLAUDE.md / AGENTS.md layout. Read-only: reports findings and a fix list, changes nothing. Do NOT use for writing evals (evals-bootstrap) or for loop design (goal-test).
Audit the context window
Theory: How models read context and The four places. Every piece of context belongs in exactly one of four places, a byte-stable system prompt, a frozen tool set, a compacting history, and a short live tail, and most agent problems trace back to something sitting in the wrong one.
Core rule
Report and rank; never edit. The output is an audit, and the user decides what to apply. If they ask you to apply fixes afterwards, that is a normal edit session, not this skill.


