-
Notifications
You must be signed in to change notification settings - Fork 0
Context Packs
McAmner edited this page Jun 18, 2026
·
1 revision
Context packs are small, task-scoped bundles for Codex and Claude Code.
The goal is to replace broad reads of full READMEs, old release notes, large vault notes, or unrelated repo history with focused context.
task
-> memory query
-> context-pack.v1
-> Codex / Claude Code reads only the pack
python3 scripts/generate-context-pack.py \
--task "fix mq-mcp brain writer paths" \
--repo mq-mcp \
--target codex \
--out .mq/context/task-pack.mdGenerated context should stay small. The current budget check is:
python3 scripts/check-token-budget.py-
mqobsidianowns schemas, templates, examples, and durable memory. -
mq-agentshould own context selection, generation, and export. - Target MQ repos should keep
AGENTS.mdandCLAUDE.mdthin.
schemas/context-pack.v1.jsontemplates/context-pack.mdexamples/sanitized-context-pack.mddocs/context-budget.mddocs/roadmap-token-reduction.md