Why Stronger Instruction-Following Models Make Your Skills and AGENTS.md a Liability

    As new models follow instructions more literally, outdated prompts, Skill descriptions, and rules in files like AGENTS.md can waste tokens and block tasks. This article explains why stronger instruction-following exposes rule defects, then walks through a four-step cleanup: inventory and metrics, concrete trigger conditions, on-demand document loading, and deduplication with priority and exit conditions. It also covers review practices and common pitfalls for treating context assets as maintainable code.

    1. The Problem: Better Instruction-Following Turns Stale Rules into Debt

    A counterintuitive conclusion is gaining attention in discussions of the latest generation of large models: once a model’s instruction-following ability improves significantly, the large amount of prompts, Skill descriptions, and project-level rule files accumulated in context as safeguards—such as convention-based files like AGENTS.md—can become negative optimizations.

    The reason is straightforward. Early agents had weak proactive retrieval, often did not know to read project documentation, and the community settled on patterns like “always read all architecture documents before making any change.” Skill trigger descriptions were also written broadly, following a “better to over-trigger than miss” mindset. But when a model starts enforcing constraints literally, one by one, the side effects of those rules are amplified: a task that changes a single string pulls in several complete documents, and a routine query optimization drags an entire database migration workflow into context.

    The result is a threefold loss: tokens are consumed without purpose, task progress is repeatedly interrupted, and context expands quickly, which further worsens hallucination. The phrase “learn slowly enough and you don’t have to keep learning” has a precise engineering reading: instead of constantly chasing new models and tuning prompts, make your context assets a low-coupling, evolvable structure.

    2. The Mechanism: Why Strong Instruction-Following Amplifies Rule Defects

    Strong instruction-following means the model is less likely to “ignore things on its own judgment” and more likely to “execute literally.” This makes three kinds of rule defects visible.

    The first is overly broad scope. A typical pattern is “use this Skill when working with databases, queries, models, or persistence.” The problem is that these words cover nearly every backend task: changing an ORM field or fixing a query is judged relevant, so migration procedures, checklists, and reference material all enter context. The right approach is to narrow triggers to concrete actions—for example, “when adding or modifying a migration script, or reviewing its rollout plan”—so the description points to a decidable task boundary rather than a vague domain term.

    The second is conflicting rules. When rule files are layered by many people over many rounds, you often see “always read A” coexisting with “read A only when necessary.” Faced with such conflicts, a strong-following model tends to choose the more conservative, more blocking path: pause first, then ask the user, or even stop and wait for confirmation.

    The third is missing priority and exit conditions. Rules state only “what to do,” not “when not to do it” or “which rule wins in a conflict,” so the model cannot make trade-offs during long tasks.

    3. Cleanup Methodology: A Four-Step Context Cleanup

    Step 1: Build an inventory and metrics. Register all Skill descriptions, rule files, and example snippets in a table, noting trigger conditions, where they are referenced, last modified time, and estimated token cost. Without measurement there is no optimization; track at least three metrics: “average tokens injected per task,” “Skill false-trigger count,” and “interruptions caused by rules.”

    Step 2: Make trigger conditions concrete. Rewrite domain words as action words, changing “when working with X” to “when adding/changing/reviewing Y.” Example:

    1. # Bad example: scope too broad
    2. Use when working with databases, queries, models, or persistence.
    3. # Good example: clear and decidable action
    4. Use when adding or changing a migration, or reviewing its rollout.

    Step 3: Load documents on demand. Replace “read all documents before every edit” with a layered index: the entry file keeps routing information within 20 lines, stating “which document to read for which task,” and the model retrieves as needed. Example:

    1. ## Documentation Routing
    2. - Changing a table schema → read section 2 of data-model.md
    3. - Adjusting the release process → read release.md
    4. - Otherwise → no additional reading needed

    Step 4: Deduplicate, layer, and set exit conditions. Keep only one copy of the same constraint; layer rules as “global rules / repository rules / task rules” and define priority when they conflict; add exit conditions to each strong constraint, for example, “skip the migration check if this change does not involve a schema change.”

    4. Practical Advice and Common Pitfalls

    Include context assets in code review: treat rule changes the same as code changes, and answer three questions during review—is the trigger condition decidable, does it conflict with existing rules, and does it specify when not to execute. Also roll out rules gradually: first validate the false-trigger rate in a low-risk repository, then expand.

    Pitfalls to avoid include treating “write more” as “safer,” replacing clear boundaries with stacked examples, and making a one-time sweeping change with no rollback. Cleanup should proceed in small steps, validating the benefit of each step with the metrics above.

    In terms of implementation, whether you use local repository rule files or general cloud capabilities such as container platforms, logging services, and monitoring alerts for rule invocation and effect observation, the core principle is the same: context is a finite budget resource, and the value of a rule depends on its decidability and signal-to-noise ratio, not its quantity. Treating Skills and rule files as code assets that require ongoing maintenance is the right approach in the era of strong instruction-following.