What Cursor loads

Project rules in .cursor/rules (.mdc with description, globs, alwaysApply), plus AGENTS.md at the root and in subdirectories.

Modelled from https://cursor.com/docs/context/rules, checked 2026-10-03. Status: beta.

Known gaps

  • Team rules and user rules live in Cursor's settings, not the repository, and are not shown.
  • Legacy .cursorrules is no longer described in Cursor's docs; it is shown as legacy and may not load.
  • Glob patterns without a slash are matched against the file name anywhere in the tree.

See it for your repository

Which files Cursor loads for a given file, in precedence order, with token estimates:

npx threadctx explain src/index.ts --tool cursor

Where Cursor and the other agents disagree about the same directory:

npx threadctx diff