# What Open-Source Projects Tell Their Coding Agents: A Census of AGENTS.md and CLAUDE.md

arXiv: https://arxiv.org/abs/2610.31715 · HTML: https://mlsanity.com/paper/2610.31715/

## Key facts

- No citing papers in the map yet (data through 24 Nov 2026).
- Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use.
- Builds on 31 of its 43 references that are in the map.
- Submitted 22 Oct 2026.

## Placed in

- LLM agents and tool use / [Software engineering coding agents](https://mlsanity.com/agents/software-engineering-coding-agents/)

## Builds on (most cited first, 30 of 31)

- [ChatGPT Outperforms Crowd-Workers for Text-Annotation Tasks](https://mlsanity.com/paper/2303.15056/) (2023)
- [Agentic Much? Adoption of Coding Agents on GitHub](https://mlsanity.com/paper/2601.18341/) (2026)
- [Understanding the Factors that Impact the Popularity of GitHub Repositories](https://mlsanity.com/paper/1606.04984/) (2016)
- [Agent READMEs: An Empirical Study of Context Files for Agentic Coding](https://mlsanity.com/paper/2511.12884/) (2025)
- [AIDev: Studying AI Coding Agents on GitHub](https://mlsanity.com/paper/2602.09185/) (2026)
- [Categorizing the Content of GitHub README Files](https://mlsanity.com/paper/1802.06997/) (2018)
- [Context Engineering for AI Agents in Open-Source Software](https://mlsanity.com/paper/2510.21413/) (2025)
- [Decoding the Configuration of AI Coding Agents: Insights from Claude Code Projects](https://mlsanity.com/paper/2511.09268/) (2025)
- [Harness Engineering for Agentic AI Coding Tools: An Exploratory Study](https://mlsanity.com/paper/2602.14690/) (2026)
- [PromptSet: A Programmer's Prompting Dataset](https://mlsanity.com/paper/2402.16932/) (2024)
- [Promises, Perils, and (Timely) Heuristics for Mining Coding Agent Activity](https://mlsanity.com/paper/2601.18345/) (2026)
- [Beyond the Prompt: An Empirical Study of Cursor Rules](https://mlsanity.com/paper/2512.18925/) (2025)
- [Do Context Files Help Coding Agents? A Two-Agent Ablation Study on Real Repositories](https://mlsanity.com/paper/2607.27250/) (2026)
- [On Autopilot? An Empirical Study of Human-AI Teaming and Review Practices in Open Source](https://mlsanity.com/paper/2601.13754/) (2026)
- [Guardrails Beat Guidance: A Large-Scale Study of Rules, Skills, and Persistent Configuration for Coding Agents](https://mlsanity.com/paper/2604.11088/) (2026)
- [Self-Admitted GenAI Usage in Open-Source Software](https://mlsanity.com/paper/2507.10422/) (2025)
- [A Dataset of Agentic AI Coding Tool Configurations](https://mlsanity.com/paper/2605.08435/) (2026)
- [Six Million (Suspected) Fake Stars in GitHub: A Growing Spiral of Popularity Contests, Spams, and Malware](https://mlsanity.com/paper/2412.13459/) (2024)
- [Instruction Adherence in Coding Agent Configuration Files: A Factorial Study of Four File-Structure Variables](https://mlsanity.com/paper/2605.10039/) (2026)
- [Do as I Do, Not as I Say: Do Contribution Guidelines Match the GitHub Contribution Process?](https://mlsanity.com/paper/1908.02320/) (2019)
- [Same File, Different Changes: The Potential of Meta-Maintenance on GitHub](https://mlsanity.com/paper/2102.06355/) (2021)
- [Developers and Generative AI: A Study of Self-Admitted Usage in Open Source Projects](https://mlsanity.com/paper/2603.26277/) (2026)
- [Rule Taxonomy and Evolution in AI IDEs: A Mining and Survey Study](https://mlsanity.com/paper/2606.12231/) (2026)
- [Beyond Simpson's Paradox: A Cascade of Confounders in AI Agent Pull-Request Co-Authorship](https://mlsanity.com/paper/2606.22711/) (2026)
- [Making AI Visible, Not Vanished: How AI Policies Reshape Developer Experience on GitHub](https://mlsanity.com/paper/2608.03329/) (2026)
- [When "Do Not" Is Not Deny: Security Rules in CLAUDE.md vs Built-In Controls](https://mlsanity.com/paper/2608.23550/) (2026)
- [Operationalizing Ethics for AI Agents: How Developers Encode Values into Repository Context Files](https://mlsanity.com/paper/2605.05584/) (2026)
- [AI Policy, Disclosure, and Human in the Loop: How Are Contribution Guidelines Adapting to GenAI?](https://mlsanity.com/paper/2605.16706/) (2026)
- [Toward Instructions-as-Code: Understanding the Impact of Instruction Files on Agentic Pull Requests](https://mlsanity.com/paper/2606.13449/) (2026)
- [Detecting AI Coding Agents in Open Source: A Validated Multi-Method Census of 180 Million Repositories](https://mlsanity.com/paper/2606.24429/) (2026)

## Abstract (arXiv)

Coding agents can be guided with instruction files in a repository. We examine this emerging practice through a census of 22,854 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 26.3% of repositories and 59.6% of the most-starred; where both files exist, 'CLAUDE.md' usually points to 'AGENTS.md'. We analyse 341,852 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 74.0% 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.
