AI-attributed commits to coding-agent instruction files rose from 6% in 2025 Q4 to 22% between October 1 and November 27, 2026, in Reshabh K. Sharma’s selected GitHub sample, with garrytan/gstack excluded. Those percentages are the share of instruction-file commits that met Sharma’s AI-authorship rule, as described in his research post.
What Sharma counted
Sharma searched public GitHub repositories for AGENTS.md and separately checked for files at repository roots. In a second analysis, he examined instruction-file histories in the 100 most-starred repositories. The figures describe those searches and that selected sample.
| Measure | Reported figure | Scope |
AGENTS.md files | 1.4 million | Public repositories on November 27, 2026; forks and archived repositories excluded |
Repositories with a root-level AGENTS.md | 719,000 | Separate root-path query on November 27, 2026 |
| Repositories with agent instruction files | 47 of 100 in September 2026; 52 of 100 by November 2026 | The 100 most-starred repositories Sharma examined |
| Instruction-file commits classified as AI-written | 393 of 2,573, or 15.3% | Across the 52 repositories with instruction files; includes 101 commits from garrytan/gstack |
| AI-written share of instruction-file commits | 6% in 2025 Q4; 22% from October 1 to November 27, 2026 | garrytan/gstack excluded from this comparison |
The 1.4 million figure counts files, not distinct repositories: one project can have instruction files in several folders. The separate root-level query counted 719,000 repositories with a root AGENTS.md. Sharma’s broader sample also covered CLAUDE.md and instruction files for Copilot, Gemini, and Cursor, so its commit figures are not limited to AGENTS.md.
The repository sample was deliberately drawn from GitHub’s 100 most-starred projects. Its results describe those projects, rather than all repositories on the platform.
What an AI-attributed commit means
Sharma counted a commit as AI-written when an agent account appeared as its author or the commit message explicitly named an AI co-author. Undeclared AI assistance does not meet that rule. The classification tracks commit authorship signals; it does not assess what each edit changed or whether a person reviewed it.
Treat an AI attribution as a record of who was credited, not a verdict on what the change did.
An instruction file is guidance, not enforcement
AGENTS.md is a Markdown convention for repository-specific directions to coding agents. Sharma describes an agent as reading those directions alongside the task, code, and tool output, while the model decides how much weight to give each. A rule written in the file is therefore not mechanically enforced just because the file exists; a project needs a separate check to enforce a constraint automatically.