Your AGENTS.md might be a big problem
Bad AGENTS.md files can make your coding agent worse and cost you tokens.
Most developers don't realize their AGENTS.md is the problem. They add rules every time the agent messes up. A few months later, they've got this sprawling document that's actually hurting performance instead of helping it.
Here's why: you've got a limited "instruction budget". Frontier LLMs can really focus on about 150-200 instructions before things get fuzzy. Every rule in your AGENTS.md burns through that budget on every single request, whether it's relevant or not.
The solution? Progressive disclosure. Keep your root AGENTS.md ruthlessly small (3-5 things, max), then nest everything else into separate files that agents pull in when they need them. Smaller token overhead. Better agent focus. Problem solved.