Cursor is now Grok Build: what happens to your .cursor/rules

The desktop app reads .mdc and ignores .md. The terminal does the reverse

December 3, 2026 7 min read

Cursor was renamed Grok Build on 30 November 2026. Your .cursor/rules folder still works in the desktop app. In the terminal, the same folder is read by the opposite rule: .mdc files are skipped and plain .md files are loaded.

So a team with twenty .mdc rules has twenty rules in the app and zero in the terminal. No error on either side. This post covers what was announced, what each surface reads, and how to get one set of rules working on both.

Cursor is now Grok Build: what was announced

The announcement is dated 30 November 2026. The parts that matter for your config:

The docs moved too. On 3 December, cursor.com/docs/rules redirected to docs.grok.com/build/agents-window/rules. If you have old Cursor doc links in a README or an onboarding page, they still resolve, but the page they land on now says Grok Build.

Nothing in the announcement mentions rules. The detail is in the docs, and that is where the two surfaces split.

Grok Build rules in the desktop app: .cursor/rules, .mdc only

The folder was not renamed. The Agents Window rules page still says project rules "live in .cursor/rules as .mdc files". Creating a rule from the Customize panel writes a file like .cursor/rules/react-patterns.mdc.

The three frontmatter fields work as before:

The extension is strict. The docs: "A plain .md file in .cursor/rules is ignored by the rules system because it has no frontmatter."

Two more lines from the rules help page are worth knowing. The old single-file format is on notice: "The .cursorrules file in your project root is legacy and will be deprecated." And rules have a narrower reach than most people assume: they "do not apply to Tab completion or Bugbot PR reviews".

When rules conflict, the stated order is Team Rules, then Project Rules, then User Rules. All applicable rules are merged, and the earlier source wins a conflict.

Grok Build TUI rules: .mdc files are not read at all

The terminal has its own page, titled AGENTS.md, and its own discovery rules. It loads global rules from ~/.grok/, then walks every directory from the repo root down to your working directory.

In each of those directories it reads:

Then comes the compatibility clause, and it reads like a warning label. .claude/rules/ and .cursor/rules/ are read, but Grok "loads only plain *.md files sitting directly in those directories, and it does not load .mdc files at all". The docs spell out the consequence: "Cursor project rules are written as .mdc, so a rule set written for Cursor produces no rules here."

Three more differences sit in the same paragraph:

Put the two pages side by side and you get this:

FileAgents WindowTerminal UI
.cursor/rules/x.mdcRead, frontmatter appliedNot read
.cursor/rules/x.mdIgnoredRead, every session
.grok/rules/x.mdNot listed on the rules pageRead, every session
AGENTS.mdReadRead

The docs are blunt that this is intended: "These are real per-surface differences, not documentation drift."

There is one more terminal behaviour to know. Files ignored by .gitignore are skipped. The docs frame that as a feature, since it keeps a personal CLAUDE.local.md out of shared context. It also means a rules file you gitignored on purpose will not load in the terminal.

Move .cursor/rules to .grok/rules or AGENTS.md

The docs give two routes for rules you want on both surfaces: "a copy in .grok/rules/ as *.md, or their content in an AGENTS.md, which both surfaces read."

The copy route keeps your .mdc files where they are and adds a plain copy for the terminal. This snippet does it and drops the frontmatter block from each copy:

mkdir -p .grok/rules
find .cursor/rules -name '*.mdc' | while read -r f; do
  out=".grok/rules/$(basename "$f" .mdc).md"
  awk 'NR==1 && /^---$/ {fm=1; next}
       fm && /^---$/     {fm=0; next}
       !fm               {print}' "$f" > "$out"
done

We ran it on three sample rules in a scratch folder and got three clean Markdown files. We did not test the output inside Grok Build. Two things to check before you commit it. Rules with the same filename in different subfolders will overwrite each other, because the snippet flattens the tree. And every copied rule becomes always-on in the terminal. A rule you scoped to src/components/**/*.tsx in the app will now load for a database migration too.

That second point is why the copy route gets worse as your rule set grows. The terminal docs say rules files "are loaded in full, with no size cap". Thirty scoped rules in the app are thirty always-on rules in the terminal, on every session.

The AGENTS.md route is the one we would pick:

One catch on nested files. The terminal only walks from the repo root down to your working directory. A packages/frontend/AGENTS.md loads when you start grok inside packages/frontend, not when you start at the root and the agent later edits a file there. The app follows the files. The terminal follows where you launched.

If you do not have a root file yet, you can generate an AGENTS.md for your stack and paste your always-on rules into it. There are also ready-made AGENTS.md templates for stacks like Next.js and FastAPI.

Check what loaded with grok inspect

In the app, the Customize panel lists your rules and their status. The terminal has a command:

grok inspect

The docs say it "lists each rules file Grok found, with its path and approximate token count". Run it before and after the move. If your .mdc rules were the whole setup, the first run should show how little the terminal was getting.

Make sure you are on the merged CLI first. The what's new page says to run grok --version: "If the version starts with 2., you're on the new CLI." People coming from the Cursor CLI update with cursor-agent update --channel grok. People on the old Grok CLI run grok update --channel unified. Organization-managed teams need an admin to unify plans first.

For a one-off rule you can skip files entirely. grok --rules "Always use TypeScript." appends the text to the system prompt for that run.

CLAUDE.md and AGENTS.md in Grok Build

Both surfaces read CLAUDE.md. The help page says the app "reads CLAUDE.md files the same way it reads AGENTS.md" and that they are "always applied to every conversation, regardless of any alwaysApply frontmatter setting". The terminal lists CLAUDE.md next to AGENTS.md in its discovery order.

That matters if your repo has both files with overlapping content. By the docs' wording, Grok Build reads both. Claude Code, by default, reads AGENTS.md only when there is no CLAUDE.md on the path. The layout that behaves the same everywhere is one real file and one pointer: put the content in AGENTS.md and keep CLAUDE.md to a one-line @AGENTS.md import. We have not confirmed how Grok Build treats that import line, so check grok inspect for the token count after you set it up.

The announcement also lists /import-claude in the terminal, which brings over Claude Code "permissions, environment variables, MCP servers, and hooks". Rules are not in that list.

What to do this week

The rename itself asks nothing of you. The app reads the same folder it read in November. The work is only for teams that use the terminal, or plan to, and it is the same work that made sense before the rename: keep the rules that must always hold in a plain AGENTS.md that both surfaces, and most other tools, read.

Short version of the Grok Build rules picture. .mdc is app-only. .md in .grok/rules/ is terminal-only. AGENTS.md is both. Switch @Cursor mentions to @Build from 7 December. And run grok inspect once, because a rules folder that loads nothing looks exactly like one that loads everything.

If your repo carries rules for several tools at once, Context Doctor ($19) scans the repo, shows which instruction files each coding tool is skipping or cutting off, and repairs them. For the wider picture of who reads what, see the AGENTS.md compatibility matrix.

Doing this across a whole company? contextarch for teams shows which AI tool loads which instructions in every repo you have, and stops a pull request from breaking them.
contextarch.ai·Context Doctor·Setup check·Generator·Templates·Blog·Newsletter