RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

AGENTS.md vs Copilot instructions vs GEMINI.md

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.

Measured — counted from real repositories, nightlyAsserted — read from the vendor docs, dated
CompareAGENTS.mdCLAUDE.mdCursor rulesCopilot instructionsCline rulesGEMINI.md.cursorrulesWindsurf rulestwo to five
FormatAGENTS.md
2026-08-02
Copilot instructions
2026-08-01
GEMINI.md
2026-08-01
Asserted — what the docs say it can express
FileAGENTS.md.github/copilot-instructions.mdGEMINI.md
Statusopen-standardvendorvendor
Cross-toolYesNoNo
Tools that read it
  • OpenAI Codex
  • Cursor
  • Amp
  • Aider
  • Zed
  • Google Jules
  • Gemini CLI
  • Factory
  • RooCode
  • opencode
  • Devin
  • Warp
  • goose
  • VS Code
  • GitHub Copilot coding agent
  • Windsurf
  • Junie (JetBrains)
  • Kilo Code
  • Augment Code
  • UiPath Autopilot
  • Semgrep
  • Phoenix
  • Ona
  • GitHub Copilot
  • Copilot coding agent
  • VS Code
  • Gemini CLI
  • Gemini Code Assist
FrontmatterNoYesNo
Glob targetingNoYesNo
Imports other filesNoNoYes
Nested / per-directoryYesNoYes
Multiple filesYesYesYes
User-level scopeNoNoYes
When it appliesAlways 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.Hierarchical memory: a global ~/.gemini/GEMINI.md, then the project file, then nested files, concatenated from broadest to narrowest.
Size limitsNoneNoneNone
Measured — counted from real repositories on 2026-08-04
Repositories carrying it39912633
Share of indexed repos57.2%18.1%4.7%
Files indexed1,37330946
Median length (words)953417257
90th percentile length2,9561,2991,704
Files naming commands42.8%41.4%52.2%
Files containing code36.0%48.2%45.6%
Median quality score526060
Median repository stars9,40218,12311,320

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-04.

Copilot instructions + GEMINI.md

2026-08-04

14

repositories carry both. That is 11.1% of everything with Copilot instructions, and 42.4% of everything with GEMINI.md.

AGENTS.md + GEMINI.md

2026-08-04

23

repositories carry both. That is 5.8% of everything with AGENTS.md, and 69.7% of everything with GEMINI.md.

AGENTS.md + Copilot instructions

2026-08-04

74

repositories carry both. That is 18.5% of everything with AGENTS.md, and 58.7% of everything with Copilot instructions.

What each one is for

AGENTS.md

2026-08-02

A 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
Full page Browse 1,373 files

Copilot instructions

2026-08-01

Two 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
Full page Browse 309 files

GEMINI.md

2026-08-01

Gemini CLI's memory file, structurally close to CLAUDE.md — @imports and a user-scope layer — which is why repos that carry both usually carry near-identical text in each.

Strengths

  • @path imports and a global user file, same composition model as CLAUDE.md
  • Explicit hierarchy from global to local

Weaknesses

  • Google-only
  • No glob targeting
Full page Browse 46 files
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack