Context Pack
Run the briefing before a manual tree walk. With the MCP server installed, call get_context (or get_changed_context for review); otherwise run the CLI.
Workflow
- Brief:
context-pack --cwd <repo>.- Reviewing or resuming work:
context-pack review --cwd <repo>. - Tight budget:
context-pack compact --cwd <repo>; more detail:context-pack deep --cwd <repo>. - A subsystem the ranking misses: add
--include '<glob>'; noise:--exclude '<glob>'.
- Reviewing or resuming work:
- Follow every file under Agent instructions before editing.
- Use Commands to verify changes; prefer the ones CI runs.
- Start reading at Entry points and Key files; use Layout and Workspace to find the right package.
- When you learn a durable, non-obvious fact about the repo (setup quirk, invariant, pitfall), record it:
context-pack memory add "<fact>"or theadd_memory_notetool. Never store secrets or task-specific state.
Guardrails
- Rankings are heuristics. If the code disagrees with the briefing, trust the code and say so.
- The briefing is a starting map; switch to targeted search and file reads once you know where to look.