Why AI Agents Don’t Need Long Instruction Files
Working with AI coding agents, I've noticed how easily instruction files like AGENTS.md or CLAUDE.md grow out of control. You start with a few rules about project structure, then add testing requirements, coding standards, and error handling. Eventually,…

Working with AI coding agents, I've noticed how easily instruction files like AGENTS.md or CLAUDE.md grow out of control.
You start with a few rules about project structure, then add testing requirements, coding standards, and error handling. Eventually, you end up with a huge document where useful instructions are buried under outdated or repetitive ones.
The problem isn't just wasted tokens. The more unnecessary context an agent receives, the harder it becomes to focus on what actually matters.
How to Keep Instructions Short
I recently came across an approach shared by Matt Pocock, who suggested using /writing-for-agents to clean up instruction files.
The idea is simple:
- Remove the noise: Delete duplicate, outdated, and unnecessary rules.
- Keep what matters: Focus on instructions that actually affect the agent's decisions.
- Separate the context: Move detailed standards into files like
CODING_STANDARDS.mdand load them only when needed.
His approach uses three subagents to review the instructions in sequence, with each one trying to simplify them further.
Less Context, Better Focus
I like this approach because we already do something similar with code. We refactor, remove duplication, and clean up technical debt. Why should AI instructions be any different?
Of course, the goal isn't just to reduce the number of lines. Important project rules and constraints still need to stay.
**A good AGENTS.md isn't one that documents everything. It's one that helps an agent make the right decisions without unnecessary context.**




