AGENTS.md vs Copilot instructions
Every comparison page on the web is a capability table someone wrote from the vendor docs in an afternoon. None of them can tell you how many real repositories ship each file, how long the median one runs, or how often two of them turn up in the same project. Those answers need a corpus, and RuleStack counts one every night.
| Format | AGENTS.md 2026-08-02 | Copilot instructions 2026-08-01 |
|---|---|---|
| Asserted — what the docs say it can express | ||
| File | AGENTS.md | .github/copilot-instructions.md |
| Status | open-standard | vendor |
| Cross-tool | Yes | No |
| Tools that read it |
|
|
| Frontmatter | No | Yes |
| Glob targeting | No | Yes |
| Imports other files | No | No |
| Nested / per-directory | Yes | No |
| Multiple files | Yes | Yes |
| User-level scope | No | No |
| When it applies | Always in scope; in a monorepo the nearest AGENTS.md to the edited file wins. | copilot-instructions.md is always in scope. Additional .github/instructions/*.instructions.md files load when their applyTo glob matches the open file. |
| Size limits | None | None |
| Measured — counted from real repositories on 2026-08-03 | ||
| Repositories carrying it | 396 | 126 |
| Share of indexed repos | 57.0% | 18.1% |
| Files indexed | 1,366 | 309 |
| Median length (words) | 954 | 417 |
| 90th percentile length | 2,955 | 1,329 |
| Files naming commands | 42.9% | 41.8% |
| Files containing code | 36.5% | 48.2% |
| Median quality score | 52 | 60 |
| Median repository stars | 8,629 | 18,124 |
How often they turn up together
A capability table cannot answer this at all. Of the repositories carrying the first format, this is the share that also carry the second — counted, both directions, on 2026-08-03.
AGENTS.md + Copilot instructions
2026-08-0374
repositories carry both. That is 18.7% of everything with AGENTS.md, and 58.7% of everything with Copilot instructions.
What each one is for
AGENTS.md
2026-08-02A plain-markdown README for coding agents, deliberately unopinionated: no frontmatter, no globs, no vendor keys. That minimalism is why it became the one file a dozen different agents will read, and why it carries the least per-file targeting power of any format here.
Strengths
- Read by more agents than any other format — one file covers most of a team's tooling
- No schema to get wrong; a plain markdown file always parses
- Nested files let a monorepo scope instructions per package
Weaknesses
- No glob targeting — every rule is loaded for every file, spending context
- No imports, so shared rules must be duplicated across packages
- No frontmatter means no machine-readable metadata for tooling to act on
Copilot instructions
2026-08-01Two layers: one always-on repo file, plus optional glob-scoped instruction files. Lives under .github/ rather than the repo root, which is the tell that it is aimed at the GitHub platform surface as much as the editor.
Strengths
- Reaches Copilot across the editor, github.com and the coding agent from one file
- applyTo globs give per-path targeting without leaving the .github convention
Weaknesses
- Copilot-only
- No imports; shared text is copied between instruction files
- Buried under .github/, so contributors discover it less often than a root file
