Load fewer tools
Keep instruction files short
Instruction files such as CLAUDE.md and Cursor rules load into every session, so every line is paid for on every run. Keep them short, move detail into skills or docs the agent opens when needed, and check what loads at the start of a session.
Where it fits
Building my own agent Partly
Keep the system prompt short.
Using a coding agent Fits
CLAUDE.md under 200 lines; Cursor rules under 500.
Using an enterprise assistant Partly
Keep agent instructions short.
Using a workflow tool Partly
Keep the agent prompt short.
The setting in each harness
Read on each vendor's own page, linked next to the setting.
| Harness | Setting |
|---|---|
| Claude Code | Keep |
| Cursor | Keep each rule under 500 lines cursor.com, read 30 Nov 2026 |
| Codex | project_doc_max_byteslearn.chatgpt.com, read 30 Nov 2026 |