What Open-Source Projects Tell Their Coding Agents: A Census of AGENTS.md and CLAUDE.md
Pawel Zarzycki
Key points
From the paper's conclusion- We examine this emerging practice through a census of popular, active GitHub repositories in thirteen languages, treating each repository's root AGENTS.md and CLAUDE.md as one instruction set.
Abstract
Coding agents can be guided with instruction files in a repository. We examine this emerging practice through a census of popular, active GitHub repositories in thirteen languages, treating each repository's root AGENTS.md and CLAUDE.md as one instruction set. Agent instructions appear in of repositories and of the most-starred; where both files exist, CLAUDE.md usually points to AGENTS.md. We analyse statements using model-assisted annotation and human review. The annotations reveal a practical mix of project knowledge and rules about code, building and workflow. Collaboration rules name concrete requirements, from test plans to commit formats, yet of directives give no reason. Projects disagree on AI attribution: commit-message rules more often prohibit it than require it, while pull-request rules more often require disclosure. A third of instruction sets have a generator-associated signature, a tool-inserted block, shared text or an AI-marked creation commit; four in five are edited after creation. Prespecified tests associate repository popularity with rules on pull requests and AI contributions. Exploratory analyses link activity to process-oriented content and show that LLM and agent projects are over-represented among adopters. The models agree much more closely with each other than with the human reviewer's topic assignments, a caution for automated annotation. We release the annotations, taxonomies and pointers to the analysed file versions.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Toward an Evidence-Based Template for Agent Instruction Files: An Empirical Study of Adoption, Consistency, and MaintenancearXiv · 2026
- The Role of Agentic Instruction Categories for Code Generation: A Study of Five Python LibrariesarXiv · 2026
- GHAgentCI: A Dataset of Coding-Agent Invocations in CI Workflow HistoriesarXiv · 2026
- Agentic Much? Adoption of Coding Agents on GitHubACM Transactions on Software Engineering and Methodology · 2026
- Do They Do as They Are Told? Investigating Coding Agents' Adherence to Explicit Instructions in Context FilesarXiv · 2026
- AI Cannot Review What Humans Catch: A First Look at the Reviews of Agent Instruction FilesarXiv · 2026