Stop Using /init for AGENTS.md

Addy Osmani ยท article ยท 2026-02-23 source โ†— Reader ๐Ÿ–ฅ๏ธ

Agent SkillsAgent Context Files (CLAUDE.md / AGENTS.md)Context EngineeringContext Rot & Context LimitsIntent DebtProgressive Disclosure
AGENTS.md should hold only project-specific facts an agent cannot discover by reading the code itself โ€” because auto-generated, comprehensiveness-optimized context files duplicate what agents already find on their own and measurably slow and bias them โ€” and the file should function as a living log of unfixed codebase friction to be resolved in the code, not as a permanent, ever-growing configuration.

practical ยท argumentative โ€” Builds an evidence-based case against a widespread practice (/init-generated AGENTS.md) and argues for a specific alternative practice (treat AGENTS.md as a diagnostic, friction-tracking artifact; move toward a layered, selectively-loaded context architecture).

Structure

PartRole
Two 2026 papers (Lulla et al., ICSE JAWs; ETH Zurich) compared with and without AGENTS.mdevidence
Reconciliation: auto-generated files are redundant (duplicate discoverable info), human-written files with non-discoverable project facts helpsynthesis of the two studies' apparently conflicting results
The anchoring / 'pink elephant' effect of mentioning anything in a flat context fileadditional cost mechanism beyond raw token/discoverability waste
Case against /init specifically: its output is 99-100% codebase overview, i.e. pure redundancyapplication of the discoverability filter to the concrete, common ritual
What earns a line: the uv-vs-pip usage-rate dataevidence for a concrete inclusion criterion
The static-file problem: a flat file can't condition on task typearchitectural critique, independent of content quality
ACE framework and the proposed three-layer (protocol file / focused persona-skill files / maintenance subagent) architectureproposed solution to the architectural problem
Arize AI automated prompt-optimization resultsevidence that even expert human intuition about content misjudges what helps the model
Reframe: AGENTS.md as diagnostic tool for codebase friction, to be fixed in code and then deletedconclusion / practical mindset
Limitations of both papers (no correctness measure; fresh-file-only scenario; no layered architecture tested; model-trajectory decay)qualification

Key terms

Propositions

Arguments

Stop running /init for AGENTS.md; keep only non-discoverable, operationally significant facts, and treat the file as diagnostic rather than permanent. strength: high
Explicit premises:
Implicit premises:
Inferences:

Narratives

Questions addressed

Gaps

Closes gaps elsewhere

Related documents