RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

AGENTS.md vs Cursor rules

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
Cursor rules
2026-08-02
Asserted — what the docs say it can express
FileAGENTS.md.cursor/rules/*.mdc
Statusopen-standardvendor
Cross-toolYesNo
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
  • Cursor
FrontmatterNoYes
Glob targetingNoYes
Imports other filesNoYes
Nested / per-directoryYesYes
Multiple filesYesYes
User-level scopeNoNo
When it appliesAlways in scope; in a monorepo the nearest AGENTS.md to the edited file wins.Four modes set in frontmatter: Always Apply (every chat session), Apply Intelligently (the agent picks it by description), Apply to Specific Files (globs match the edited file), and Apply Manually (@-mentioned). Rules must carry the .mdc extension — a plain .md file in .cursor/rules is ignored.
Size limitsNoneNone
Measured — counted from real repositories on 2026-08-03
Repositories carrying it396179
Share of indexed repos57.0%25.8%
Files indexed1,3661,279
Median length (words)954272
90th percentile length2,9551,171
Files naming commands42.9%29.3%
Files containing code36.5%58.0%
Median quality score5252
Median repository stars8,62924

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 + Cursor rules

2026-08-03

68

repositories carry both. That is 17.2% of everything with AGENTS.md, and 38.0% of everything with Cursor rules.

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,366 files

Cursor rules

2026-08-02

The most expressive format here. Many small .mdc files, each with frontmatter declaring when it should load, so a rule about migrations only enters context when a migration is open. Costs the most to maintain and only one editor reads it.

Strengths

  • Glob-scoped activation — the only widely-used format that keeps unrelated rules out of context
  • Description-based activation lets the agent pull a rule in on demand
  • Many small files are easier to review in a PR than one growing document

Weaknesses

  • Cursor-only
  • Frontmatter is a schema, and a malformed .mdc silently stops applying
  • Fragmentation: rules spread over many files are easy to duplicate and contradict
Full page Browse 1,279 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