148 GitHub projects, 15,549 agentic pull requests, one question: does writing an AGENTS.md or CLAUDE.md file actually make Copilot, Claude, and Cursor produce better pull requests? The answer is not a clean yes. 27.7% of projects saw their merge rate jump by 20% or more after adding instruction files and 26.35% saw it drop by just as much. The difference wasn't whether a file existed, it was how much was in it: projects whose merge rate improved had instruction files nearly twice as long, with far deeper header structure, than projects whose merge rate got worse.
Every project in the dataset got compared against itself agentic PRs before its instruction file existed versus agentic PRs after across success, complexity, and effort.
There's no single standard yet each coding agent looks for its own filename and location, which is exactly why a project with multiple agents in play often ends up with multiple instruction files stacked on top of each other.
| Agent | Where it looks |
|---|---|
| Devin | **/PULL_REQUEST_TEMPLATE/DEVIN_PR_TEMPLATE.md |
| Cursor | .cursor/*, .cursorrules, **/*.mdc |
| Copilot | .github/copilot-instructions.md, .github/instructions/* |
| Claude | .claude/*, CLAUDE.md, .github/workflows/claude*.yml |
| Codex | **/AGENTS.override.md, **/TEAM_GUIDE.md, **/.agents.md |
| Common | **/AGENTS.md the closest thing to a cross-agent standard |
Aggregate percentages hide how dramatic individual swings can be in either direction.
| Project | Before | After | Change |
|---|---|---|---|
| NethermindEth/nethermind | 20.00% | 69.23% | +246.15% |
| Significant-Gravitas/AutoGPT | 42.85% | 65.30% | +52.38% |
| theopenco/llmgateway | 89.00% | 66.66% | −25.10% |
| Azure/adx-mon | 75.00% | 35.35% | −52.87% |
Nethermind's instruction files turned a one-in-five merge rate into better than two-in-three. Azure/adx-mon's instruction files cut a strong 75% merge rate by more than half. Both projects did the same thing added an instruction file and got opposite results, which is the entire reason this paper exists.
Comparing only the projects with a clear ≥20% merge-rate swing in either direction isolates the one variable that actually correlated with the outcome: how much was written, and how it was organized.
If thin, unstructured instruction files correlate with worse outcomes and thick, well-organized ones correlate with better outcomes, the implication is direct: writing AGENTS.md shouldn't be a five-minute afterthought. It needs the same review, iteration, and quality bar as the code it's meant to guide versioned, structured, and treated as a first-class engineering artifact rather than a one-time README nobody revisits.
WRITE IT
ONCE
OR WRITE IT
RIGHT.