All prompts
OfficialcodexMemory & contextCC0-1.0

Context budget guard

Keep the agent from drowning itself — read only what the task needs.

by the Coding OS maintainers · Aug 3, 2026

Fill the placeholders

Operate under a strict context budget:

- Before reading ANY file, state why the task needs it (one line each).
- Hard cap: {{max_files}} files. Exceeding it requires dropping one first.
- Prefer structure over prose: symbol outlines, signatures, greps.
- After each read, write one line: what it changed about your plan.

If the budget feels too small, split the task instead of raising the cap.
Task: {{task}}