Background advisors for Claude Code — keep the foreground LLM honest, focused, and remembering.
A small framework of skills + hooks + persistent advisor agents that surround a Claude Code session and:
- Catch drift before harmful actions land (PreToolUse intercept)
- Provide external long-term memory the foreground forgets
- Surface relevant context when foreground is about to need it
Built around two observations:
- The foreground LLM (your main Claude session) drifts — over-engineers, repeats refused actions, loses scope mid-conversation, only catches it when externally pointed out.
- Even with 1M context, mid-context recall degrades over long sessions. Specialized advisors with focused contexts hold things the foreground forgets.
Design phase. No code yet. See conversation transcript / future docs/design.md for the architecture being explored.
cohort/
├── skills/ # User-invoked skills (scope-keeper, etc.)
├── hooks/ # Stop / PreToolUse / UserPromptSubmit hook scripts
├── advisors/ # Persistent advisor agent prompts (memory-keeper, context-curator)
├── docs/ # Architecture, design decisions
└── scripts/ # install.sh, helpers
MIT. See LICENSE.