Why Stronger Models Need Leaner Skills and AGENTS.md

    As instruction-following models improve, overly broad Skills and AGENTS.md rules can degrade performance. This article explains why context governance has become the real bottleneck and shows how to rewrite vague triggers as specific actions, replace mandatory full reads with a context routing table, and layer memory for on-demand retrieval. You will find practical examples and a rollout checklist to reduce token usage, false triggers, and stalled tasks.

    1. The Problem: Stronger Models Make Rough Context a Liability

    Recent discussions around a new generation of strong instruction-following models have reached a shared conclusion: the Skill mechanism and the AGENTS.md convention, once treated as productivity boosters, are becoming negative optimizations in some scenarios. A cloud vendor’s prompting guidelines for its latest models also state clearly that as instruction-following improves, models take rules in the context more literally. Vague, conflicting, or overly broad constraints can cause the model to pause early, ask the user questions, or even block the task.

    This points to the real issue: after a model upgrade, the bottleneck shifts from “not understanding instructions” to “context governance.”

    2. Root Cause: Why It Worked Before and Fails Now

    Early agents often failed to proactively retrieve project information, so the community widely adopted a blunt strategy: force a full read of all documentation before every edit. That was a patch in the weak-model era; in the strong-model era, it becomes an amplifier.

    • Overly broad triggers: for example, “use a certain Skill when working with databases, queries, models, or persistence” covers almost every backend change, so even modifying a single ORM field matches.
    • Absolute rules: “always read the architecture, database, and deployment docs before every change” forces a full load even for a one-string edit.
    • No priority or conflict resolution: when multiple rules match at once, the model tends to execute all of them or stop and ask.

    The result is that tokens are consumed by large amounts of ineffective content, the context expands quickly, attention is diluted, the probability of hallucination rises, and task progress actually slows down.

    3. Fix 1: Write Triggers as Specific Tasks, Not Broad Domains

    Changing domain-level descriptions into action-level descriptions is the highest-value step.

    Bad example:

    1. Use when working with databases, queries, models, or persistence.

    Good example:

    1. Use when adding or changing a migration, or reviewing its rollout.

    The latter describes a concrete, decidable action, so the model will not falsely match during ordinary logic changes. This avoids injecting subsequent check steps and reference material without reason.

    Practical tips:

    • Start with a verb and make clear “what to do” rather than “what it involves.”
    • Add exclusions, such as “do not trigger when only changing frontend copy.”
    • Define a minimum necessary context list for each Skill and prohibit loading large background sections along the way.

    4. Fix 2: Replace Mandatory Full Reads with a Context Routing Table

    Rewriting AGENTS.md from a “command list” into a “routing table” is a more reasonable way to organize it today.

    Bad example:

    1. Before every edit, read architecture.md, database.md, and deployment.md.

    Good example:

    1. Use architecture.md for service boundaries,
    2. database.md for schema changes,
    3. deployment.md when preparing a deployment.

    Its essence is a mapping: the task type determines which document to load.

    Current Task Context to Load
    Adjusting service boundaries Architecture notes
    Changing data structures Database notes
    Preparing a release Deployment notes
    Ordinary UI bug No extra context

    This preserves the necessary knowledge constraints while preventing irrelevant content from entering the window.

    5. Fix 3: Layered Memory and On-Demand Retrieval

    It is recommended to split the context into three layers: a small set of global iron rules, module-level notes, and task-level temporary material. The global layer keeps only non-negotiable items such as security and commit conventions; the module layer is placed close to the relevant directories; the task layer is retrieved on demand. Use logging services and monitoring alerts to observe hit counts and token consumption, and continuously trim inefficient rules.

    6. Rollout Checklist and Benefits

    1. Inventory existing Skills and AGENTS.md, and flag overly broad trigger words.
    2. Rewrite them into action-level triggers and add exclusions.
    3. Build a context routing table and remove “always read” rules.
    4. Set conflict priorities: security > conventions > preferences.
    5. Run regressions with real tasks and compare tokens and completion time.

    After this governance work, you can typically get shorter context, fewer false triggers, and more stable task progress. The conclusion is clear: when the model is obedient enough, what developers really need to invest in is not more rules, but more precise context engineering.