Stronger Models, Fewer Skills: Why LLM Context Engineering Needs Subtraction
As foundation models become more capable, long prompt templates, elaborate Skill orchestration, and oversized AGENTS.md files can turn from assets into liabilities. This article explains why excessive constraints trade away a model's upper bound for output certainty, how constraints act as a second selection pass over parameterized knowledge, and which rules are worth keeping. It offers retention criteria, a rule-auditing workflow, layered context injection strategies, model-tier maintenance, and a practical cleanup checklist for AI coding agents.
1. The Problem: Why Stronger Models Need Lighter Constraints
As AI coding tools and code assistants evolve quickly, developers are noticing a counterintuitive pattern: once the underlying model becomes significantly more capable, the “longer is safer” approach to prompt engineering, Skill orchestration, and AGENTS.md conventions starts to become a liability rather than an asset.
The core argument can be reduced to one sentence: overly strong constraints essentially trade a lower model ceiling for more deterministic output. This touches the fundamental tension in context engineering.
1.1 Benefits and Costs of Constraints
Constraints provide three benefits: they reduce variance, fill in private knowledge the model lacks, and clarify acceptance criteria. They also carry three costs:
- Attention dilution: models tend to activate every item mentioned in the context, so irrelevant entries compete for a limited attention budget;
- Path lock-in: once implementation steps are prescribed, the model struggles to deviate even when it finds a better solution;
- Maintenance rot: rules become outdated as projects evolve, creating contradictory layers of accumulated conventions.
1.2 An Analogy
When you tell a model “I want tomato scrambled eggs, not braised pork,” the usual failure is not that it misunderstands. Instead, it must first process the concept of “braised pork” in context, then produce a long explanation of why the dish contains none, or even perform the absurd act of adding it and picking it back out. This is the machine version of the curse of knowledge: a negative constraint must first activate the thing it negates.
2. The Mechanism: Constraints as a Second Filtering Pass
Mechanically, prompts, Skills, AGENTS.md files, and longer contexts are not fundamentally different. They all perform a selective activation in vector space on top of the knowledge already encoded in the model’s parameters, effectively filtering the activation results a second time.
The implications are straightforward:
- Content written into the context is not a “free addition”; it consumes capacity that could otherwise be used to model the problem itself;
- Constraints improve how tightly the conditional distribution converges, not the model’s capability boundary;
- Therefore, “what the model cannot do cannot be fixed by more rules.” It can only be solved by switching models, changing task decomposition, or supplying external information.
One common misunderstanding needs clearing up: the “more stable” behavior from constraints is often mistaken for “more capable.” Stability is an engineering metric; capability is a model metric. The two cannot substitute for each other.
3. Criteria: What to Keep and What to Cut
When cleaning up Skills and AGENTS.md, apply three retention rules:
- Write only what the model does not know: private repository structure, internal API conventions, domain terminology, compliance boundaries;
- Write only workflows and acceptance criteria: deliverable formats, checks that must pass, boundaries that must not be crossed;
- Delete what the model can infer on its own: general coding standards, language syntax, common design patterns, implementation steps.
A practical decision workflow:
for each rule in AGENTS.md / Skill:Is it already widely known by the model? -> deleteDoes it prescribe specific steps? -> rewrite as acceptance criteriaIs it phrased negatively? -> rewrite as a positive goalTriggered in the last 30 days? -> archiveDo two rules conflict? -> merge or delete one
Example of rewriting negative phrasing:
# Not recommended: activates the negated object first- Do not use any global state- Do not introduce extra dependencies# Recommended: positive goal + verifiable- State must remain functionally cohesive, with explicitly derivable inputs and outputs- Keep the number of dependencies minimal; any new dependency requires a justification
4. Context Is the Biggest Skill of All
More powerful than any Skill is the overall context. The model cannot easily decide on its own “what matters,” and any mentioned information gets activated with no way to actively suppress it. The engineering answer is layering and on-demand injection:
| Layer | Content | Injection strategy |
|---|---|---|
| L0 always-on | Compliance boundaries, definition of done | Very short, constant |
| L1 task | Current goal, acceptance criteria | Rebuilt per task |
| L2 retrieval | Relevant code snippets, docs | Retrieved on demand, discarded after use |
| L3 history | Past conversations and artifacts | Summarized, not stacked verbatim |
Supporting practices include: compressing long contexts into structured summaries; attaching sources and snippet boundaries to retrieval results; setting review cycles for outdated conventions; and using logging services and monitoring alerts to track “rule hit rates” so entries that never trigger can be removed.
5. Strategy by Model Capability Tier
Constraint strength should not be a constant; it should be a function of model capability:
- Weak models: need clearer steps, examples, and format constraints, otherwise output diverges;
- Medium models: keep workflows and acceptance criteria, remove implementation details;
- Strong models: keep only private knowledge, boundaries, and goals, and hand implementation paths back to the model.
This means Skills need versioning and tiered maintenance: prepare a “strong-constraint version” and a “weak-constraint version” for the same capability, loading the appropriate tier as models switch, rather than relying on a single file for everything.
6. Implementation Checklist
- Build a rule inventory, noting each rule’s source, purpose, and last hit time;
- Set budget limits, for example keeping always-on conventions within one screen;
- Rewrite all negative phrasing into verifiable positive goals;
- Layer the context, discarding history and retrieval content after use;
- Run a subtraction review each quarter, merging conflicting entries first;
- Measure with observability: first-pass success rate, rework rounds, rule hit rate;
- Solidify the workflow on a container platform or cloud host, storing configuration and artifacts separately in configuration management and object storage for easy rollback.
7. Conclusion
The tension between constraints and capability cannot be fully eliminated: without constraints, the model does not know what you want; with too many, the model’s ceiling is flattened. The workable answer is not “write less” but write more precisely: supply only the knowledge the model lacks, declare only goals and acceptance criteria, and leave implementation freedom to increasingly capable models. As model capability keeps rising, what most needs trimming is often the pile of conventions we have accumulated ourselves.
