Why Your Skills and AGENTS.md Need to Slim Down in the Era of Stronger Models
As base models get better at following instructions, the massive prompt rules, skill descriptions, and project constraints written to compensate for earlier model weaknesses are turning from assets into liabilities. This article explains why overly broad triggers, mandatory-read rules, and conflicting instructions cause negative optimization, and shows how to turn documentation into a context routing table, write tighter skill descriptions, and build a minimal rule governance process. Readers will find practical examples, a comparison table, common pitfalls, and a landing checklist for cleaning up context rules.
Why Your Skills and AGENTS.md Need to Slim Down in the Era of Stronger Models
1. The Symptom: More Rules, a “Dumber” Agent
A half-joking saying has been circulating in the community: if you learn slowly enough, you never have to learn at all. It points to a real technical shift. As base models become significantly better at following instructions, the huge volume of prompts, skill descriptions, and project constraints we wrote to patch model weaknesses is turning from an asset into a liability.
A cloud vendor’s official prompting guidance for its latest model generation sends a clear signal: the new model adheres more closely to explicit instructions in context, so it is also more easily influenced by Skills and repository-level instruction files such as the conventionally used AGENTS.md. Vague, mutually conflicting, or overly broad rules can make the model pause early, ask the user questions, or even block the task outright.
In other words, early models “wouldn’t listen,” so we added rules as a safety net. Strong models “listen too well,” so the rules themselves become a source of noise. This is where negative optimization comes from: beyond consuming tokens and slowing progress, excessive rules crowd out useful context and amplify hallucinations.
2. Root Causes: Three Kinds of Rules Creating Negative Optimization
2.1 Overly Broad Triggers Over-Activate Skills
A typical counter-example looks like this:
Use when working with databases, queries, models, or persistence.
The problem is that database, query, model, and persistence cover an enormous semantic surface. A user might only be changing an ORM field, fixing a single query, or adjusting an ordinary business branch, yet the model decides the work is “database-related” and loads the entire migration skill: migration conventions, checklists, rollback requirements, and reference docs all enter the context. The result is that the window is already filled with irrelevant content before the task even starts.
A tightened version should point to a concrete action:
Use when adding or changing a migration, or reviewing its rollout.
The difference is that the first describes a “domain” while the second describes a “task.” A domain is a persistent background; a task is a decidable trigger event.
2.2 Mandatory-Read Constraints Turn Context into a Log
Another high-frequency counter-example:
Before every edit, read architecture.md, database.md, and deployment.md.
This rule was born in an era when agents did not proactively retrieve project documentation, so it is a historical artifact. But a strong model will execute it faithfully: change one string, read all three documents; change a second spot, read them all again. Tokens grow linearly, progress slows, and the amount of new information approaches zero. Worse, contradictory fragments in a long context are all “present” at once, which makes the model more likely to waver.
2.3 Conflicting Rules Interrupt Tasks Repeatedly
When multiple skills and instruction files give different requirements for the same action (for example, one says confirm before executing and another says execute directly and self-check), a strong model cannot decide priority on its own, and the safest choice is to stop and ask the user. What users perceive as “why is this model so chatty” is usually not the model’s fault but a failure of rule governance.
3. Solution 1: Turn Instruction Files into a Context Routing Table
The recommended approach is to bind each document to a task type:
Use architecture.md for service boundaries,database.md for schema changes,and deployment.md when preparing a deployment.
This effectively builds an explicit context routing table in the repository:
| Current Task | Context to Load |
|---|---|
| Adjusting service boundaries or module responsibilities | architecture.md |
| Changing table schemas, indexes, or data migrations | database.md |
| Preparing a release, rollback, or canary rollout | deployment.md |
| Ordinary UI defects or copy changes | Load no documents |
The routing table has three benefits: first, it changes “always read” into “read on demand,” keeping context size under control; second, it makes loading behavior predictable and easier to troubleshoot; third, it naturally eliminates conflicts, since only one category of convention is present at any given moment.
4. Solution 2: Criteria and Writing Rules for Skill Descriptions
The quality of skill entries almost determines the real-world performance of AI coding tools. Four rules are worth following:
- Use a concrete action starting with a verb as the trigger, and avoid piling up domain nouns;
- State the “out of scope” explicitly, since negative boundaries matter as much as positive conditions;
- Each skill should carry a single goal, and bundling conventions, checks, and reference docs is prohibited;
- Description length should be proportional to importance: key skills can be slightly more detailed, while peripheral skills need only one sentence.
An illustrative comparison:
# Not recommendedUse for anything related to performance.# RecommendedUse when a request path exceeds the latency budget,or when adding a new cache layer. Not for UI rendering tweaks.
5. Solution 3: Build a Minimal Viable Rule Governance Process
The root cause of rule bloat is the lack of lifecycle management. Treat instruction files as code to maintain:
- Periodic audits: track how often each rule actually triggers, and delete anything with zero triggers over a long period;
- Conflict scanning: merge entries that impose two or more requirements on the same action, or annotate their priority;
- Change hooks: when directory structure, build methods, or release processes change, update the routing table at the same time;
- Measure the payoff: watch three metrics—average turns per task, context length, and number of human interventions—rather than only “did it run.”
In engineering terms, instruction files can be brought into version control and review, reviewed in the same batch as code changes; continuous integration can add simple text checks, such as limiting lines per file and detecting duplicate entries, to keep rules from getting out of control again.
6. Common Misconceptions
- Misconception 1: More rules are safer. With strong models, more rules more easily trigger interruptions and blocks.
- Misconception 2: Treating prompting tricks as permanent assets. After the model iterates, yesterday’s best practice can become today’s liability.
- Misconception 3: Only adding, never removing. A rule base without a deletion mechanism will inevitably degrade into a pile of noise.
- Misconception 4: Treating context length as capability. Effective information density matters far more than window occupancy.
7. Landing Checklist
- Inventory existing skills and repository instruction files, and flag entries whose triggers contain broad domain words;
- Rewrite “must read every time” constraints into task-to-document mappings;
- Add out-of-scope notes to every skill to eliminate potential conflicts;
- Establish a quarterly audit and change-sync mechanism, and fold rule maintenance into the development process;
- Validate the optimization with average interaction turns, context length, and number of human confirmations.
Conclusion
The real change brought by strong models is that the focus of prompt engineering shifts from “constraining the model” to “organizing context.” When the model is obedient enough, success depends on whether the information you give it is precise, clean, and conflict-free. A thorough cleanup of skills and repository instruction files—deleting historical baggage and keeping clear routing and boundaries—is the optimization with the best return on investment right now. If you already run Agent workloads on cloud container platforms, log services, and monitoring and alerting systems, you can also turn rule audit results into observable metrics, moving context governance from experience-based judgment toward data-driven practice.
