Blog
What Grok Build CLI picks up from Claude Code and Cursor
On one Mac, Grok Build CLI listed configuration written for other assistants as loaded. The list had the permission rules, MCP servers, hooks, skills, agents and plugins set up for Claude Code, and the rules written for Grok Build (formerly Cursor). This post shows the command that prints the list on your machine, and how to read the files behind it.
Published 2026-12-01. Measured the same day on macOS, with Grok Build CLI at 1.0.97 and at 2.0.6.
See your own list
Cursor is now Grok Build (product page), and Grok Build 2.0, released on November 30, 2026, puts Grok Build CLI on Cursor's agent harness (changelog). Grok Build CLI has a command that, in the words of its own help text, shows "the configuration Grok discovers for this directory":
Run it in a project you work in. Some entries end with a tag, [claude] or
[cursor], that says whose configuration they come from. Other sections name the file they
read: the Permissions section names ~/.claude/settings.json as its source.
What it listed on one Mac
Both versions listed the same sources as loaded:
- Instructions and rules from
~/.claudeand from~/.cursor/rules. - The permission rules in
~/.claude/settings.json. - Claude Code's skills, agents and plugins.
- The MCP servers in
~/.claude.json. - The hooks in
~/.claude/settings.json.
Cursor's own hook entries in ~/.cursor/hooks.json were the exception. Grok Build CLI listed them as not run, with a note that it runs none of Cursor's own entries unless the
cursor_hook_entries feature is on.
The last section of the output says what's switched on. It's shortened here to its
cursor and claude rows:
Hooks are the one part observed at run time. The Skarn guard's prompt hook was set up for Grok Build CLI and for Claude Code on that Mac, and one prompt in Grok Build CLI 1.0.97 wrote a guard record in each of the two logs.
What was not measured
- Which of the listed permission rules take effect when Grok Build CLI runs a tool.
- Whether Grok Build CLI called any of the listed MCP servers.
- Linux and Windows.
- What Grok Build (formerly Cursor), the desktop app, loads.
Why read the list
You approved each permission rule and connected each MCP server with one assistant in mind. A second agent on the same machine now lists them as loaded. Which of them it acts on wasn't measured here, so review every broad grant and every server in the list.
Read the same files with skarn vet
skarn vet statically checks the local AI assistant configuration: hook commands, MCP
server definitions, permission grants, and installed plugins and skills. Two of the files it reads are
~/.claude/settings.json and ~/.claude.json, which grok inspect
listed above. It's read-only, makes no network call, and needs no license.
grok inspect shows which files Grok Build CLI lists as loaded. skarn vet shows
what is in them.
The output below is Skarn 0.38.0 on a throwaway home directory with made-up configuration: a
~/.claude/settings.json that allows Bash(*), and a
~/.claude.json with two MCP servers. The home directory is shortened to ~
here:
Each finding names the file and the entry. skarn vet doesn't edit a file or change a
permission, and findings alone leave its exit status at 0.
Check your own machine
Run grok inspect, then install Skarn and run skarn vet.