RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

CLAUDE.md vs Copilot instructions vs .cursorrules

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
FormatCLAUDE.md
2026-08-02
Copilot instructions
2026-08-01
.cursorrules
2026-08-02
Asserted — what the docs say it can express
FileCLAUDE.md.github/copilot-instructions.md.cursorrules
Statusvendorvendordeprecated
Cross-toolNoNoNo
Tools that read it
  • Claude Code
  • GitHub Copilot
  • Copilot coding agent
  • VS Code
  • Cursor (legacy)
FrontmatterNoYesNo
Glob targetingNoYesNo
Imports other filesYesNoNo
Nested / per-directoryYesNoNo
Multiple filesYesYesNo
User-level scopeYesNoNo
When it appliesAlways in scope. Project file, plus nested files in subdirectories, plus a user-level file (~/.claude/CLAUDE.md) that applies across every project.copilot-instructions.md is always in scope. Additional .github/instructions/*.instructions.md files load when their applyTo glob matches the open file.Always in scope, single file at the repo root.
Size limitsNoneNoneNone
Measured — counted from real repositories on 2026-08-04
Repositories carrying it24812627
Share of indexed repos35.5%18.1%3.9%
Files indexed775309308
Median length (words)2,042417366
90th percentile length2,9981,2991,104
Files naming commands34.2%41.4%13.6%
Files containing code34.5%48.2%25.0%
Median quality score446041
Median repository stars11418,12326

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.

.cursorrules + Copilot instructions

2026-08-04

5

repositories carry both. That is 18.5% of everything with .cursorrules, and 4.0% of everything with Copilot instructions.

CLAUDE.md + .cursorrules

2026-08-04

10

repositories carry both. That is 4.0% of everything with CLAUDE.md, and 37.0% of everything with .cursorrules.

CLAUDE.md + Copilot instructions

2026-08-04

47

repositories carry both. That is 19.0% of everything with CLAUDE.md, and 37.3% of everything with Copilot instructions.

What each one is for

CLAUDE.md

2026-08-02

Claude Code's memory file. Shaped like AGENTS.md but with two things it lacks: @path imports, so shared rules live in one place, and a user-scope layer that follows the developer across repos rather than shipping with the code.

Strengths

  • @path imports — shared conventions written once and pulled into each file
  • A user-scope file lets personal preferences live outside the team repo
  • Nested project files compose with the root file rather than replacing it

Weaknesses

  • Single-vendor: no other agent reads it, so multi-tool teams maintain two files
  • No glob targeting, same context cost as AGENTS.md — path-scoped rules exist, but in a separate .claude/rules/ file, not in CLAUDE.md itself
Full page Browse 775 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

.cursorrules

2026-08-02

Cursor's original single-file format, superseded by .cursor/rules/*.mdc. Tracked here precisely because it is dead: how much of the ecosystem is still shipping a deprecated file is a measurable answer, and a large share of the "best cursor rules" pages on the web still teach this format.

Strengths

  • One file, nothing to configure

Weaknesses

  • Deprecated — do not start here
  • No targeting, no composition, no metadata
Full page Browse 308 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