The Exponential Rise of Agent Instruction Files homes.cs.washington.edu · 13 poi...
HN Best 200 @best
The Exponential Rise of Agent Instruction Files homes.cs.washington.edu · 13 points · 1 comments · HN thread
TL;DR A University of Washington researcher reports that AGENTS.md instruction files for coding agents grew from about 20,000 to 1.4 million on GitHub code search in just over a year, with CLAUDE.md growing at a similar pace. The post adds a look at the 100 most-starred repositories, where AI-written edits to these files are rising, and argues that unenforced rules need checking, which motivated the author's tool InstructGuard.
- Code search counted about 1.4 million AGENTS.md files on November 27, 2026, roughly 70 times the August 2025 figure; 719,000 sit at repository roots.
- CLAUDE.md files grew 57% between September and November 2026, slightly faster than AGENTS.md's 46%, and root-level counts for the two formats are nearly even.
- Among the 100 most-starred GitHub repositories, those with an instruction file rose from 47 to 52 between September and November 2026; 33 of the 52 have at least one AI-written commit to these files.
- Excluding one project (garrytan/gstack), the share of AI-written commits to these files rose from 6% in late 2025 to 22% in October and November 2026.
- The author cites studies finding that agents often ignore instruction-file rules, and presents InstructGuard, which turns checkable rules into checks run during agent work.
- Counts rely on GitHub code search and commit author or co-author lines, so the author notes AI involvement is a lower bound.
Discussion Only one comment so far, and it is a practical reply rather than a debate. The commenter, who says they maintain agent instruction files in their own repositories, offers a set of working habits: keep the root file short, put rules next to the code they govern, phrase rules as verifiable checks, delete rules agents no longer need, and periodically compare agent behaviour with the file. The mood is constructive and experience-based.
- Treat instruction files like code and maintain them (a few): The one commenter argues the files only stay useful when managed like code: short root files, per-directory rules, pruning stale entries, and regular checks of what agents actually do against them.
- Make rules checkable instead of vague (a few): Rules should be phrased as verifiable steps such as running a typecheck before finishing, rather than general goals like writing clean code, since vague rules are hard to verify.
#AIagents #AGENTSmd #codingAgents #InstructGuard #softwareDevelopment