[{"data":1,"prerenderedAt":59},["ShallowReactive",2],{"blog-grok-build-import-claude":3,"blog-related-grok-build-import-claude":39},{"slug":4,"title":5,"description":6,"category":7,"categoryId":8,"keyword":9,"date":10,"minutes":11,"body":12,"html":13,"headings":14},"grok-build-import-claude","Grok Build's \u002Fimport-claude and \u002Fresume-claude: what they read, and what to check first","Grok Build's new \u002Fimport-claude copies Claude Code's permissions, environment variables, MCP servers and hooks; \u002Fresume-claude picks up your Claude Code sessions. Where those live, what can hide in them (keys, code, secrets), and how to import cleanly.","Privacy","privacy","grok build import claude code","2026-11-30",7,"When [Cursor became Grok Build](\u002Fblog\u002Fcursor-is-now-grok-build) on November 30, 2026, its terminal app gained two commands for people coming from Claude Code. By [the announcement](https:\u002F\u002Fgrok.com\u002Fnews\u002Fcursor-is-now-grok-build), `\u002Fimport-claude` brings over \"your Claude Code settings in one step, including permissions, environment variables, MCP servers, and hooks\", and `\u002Fresume-claude` (with `\u002Fresume-codex` for Codex) picks up \"your previous Claude Code or Codex sessions in Grok Build\".\n\nIt's a useful feature, and switching tools shouldn't mean rewriting your setup. But those four kinds of settings and your session history are where keys and code tend to collect, and a migration is a good moment to look at them. Here's what each command reads, what to check, and how to do it cleanly.\n\nOn November 30, Grok Build's docs had no page for either slash command yet: the [Terminal UI's What's new](https:\u002F\u002Fdocs.grok.com\u002Fbuild\u002Fwhats-new) and its [changelog](https:\u002F\u002Fgrok.com\u002Fproduct\u002Fbuild\u002Fchangelog), last updated November 19, don't mention them. The [CLI reference](https:\u002F\u002Fdocs.grok.com\u002Fbuild\u002Fcli\u002Freference) has one line for the shell version, `grok import [targets...]`, to \"Import sessions from Claude Code\", with no more detail. So the file locations below come from [Claude Code's own docs](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fsettings), which say where those settings live. Check Grok Build's docs again before you run them.\n\n## What does \u002Fimport-claude read?\n\nClaude Code keeps the four kinds of settings the announcement lists in a few files:\n\n| What | Where Claude Code keeps it | What can be in it |\n| --- | --- | --- |\n| Permissions | `permissions` in `~\u002F.claude\u002Fsettings.json`, `.claude\u002Fsettings.json`, `.claude\u002Fsettings.local.json` | Commands you allowed without asking, files you denied |\n| Environment variables | `env` in the same files | Anything you set for every session: proxies, flags, sometimes tokens |\n| MCP servers | `.mcp.json` (project), `~\u002F.claude.json` (your own servers, per project or for all) | Commands, URLs, and `env` or `headers` values, which may hold keys |\n| Hooks | `hooks` in the settings files | Shell commands that run on events, with your paths and scripts |\n\nHow those files stack, and what each key does, is in [Claude Code settings.json explained](\u002Fblog\u002Fclaude-code-settings-json).\n\nOrganizations can also deploy a managed `managed-settings.json`. By Grok Build's [enterprise docs](https:\u002F\u002Fdocs.grok.com\u002Fbuild\u002Fenterprise), its terminal app already reads part of that file (permission rules, MCP allowlists, some telemetry flags and marketplace limits), but not Claude Code's `disableBypassPermissionsMode`. Grok Build has its own setting for that.\n\n## What does \u002Fresume-claude read?\n\nYour Claude Code sessions. By [Claude Code's data usage page](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fdata-usage), it stores session transcripts \"locally in plaintext under `~\u002F.claude\u002Fprojects\u002F`\", for 30 days by default (`cleanupPeriodDays` changes it), one folder per project, one `.jsonl` file per session.\n\nA transcript holds the whole conversation: your prompts, Claude's answers, the files it read, the output of every command it ran. Continuing that session in another tool means sending that history to the model you pick there, through that tool's servers. For Grok Build's terminal app, that's `cli-chat-proxy.grok.com`, its inference proxy by the enterprise docs.\n\n## Doesn't Grok Build already read some of this?\n\nYes, and it's worth knowing before you import anything. By Grok Build's docs, read on November 30:\n\n- **The terminal app** loads MCP servers from `~\u002F.claude.json` and project `.mcp.json` files, below its own `config.toml` ([MCP servers](https:\u002F\u002Fdocs.grok.com\u002Fbuild\u002Ffeatures\u002Fmcp-servers)). It reads `CLAUDE.md`, `CLAUDE.local.md` when Git doesn't ignore it, and `.claude\u002Frules\u002F*.md` ([AGENTS.md](https:\u002F\u002Fdocs.grok.com\u002Fbuild\u002Ffeatures\u002Fproject-rules)).\n- **The desktop app**, formerly Cursor, runs Claude Code hooks from `.claude\u002Fsettings.local.json`, `.claude\u002Fsettings.json` and `~\u002F.claude\u002Fsettings.json` when \"Include Third-Party Plugins, Skills, and Other Configs\" is on, which is the default ([third-party hooks](https:\u002F\u002Fdocs.grok.com\u002Fbuild\u002Fagents-window\u002Freference\u002Fthird-party-hooks)). It also loads skills from `.claude\u002Fskills\u002F` and reads `CLAUDE.md`.\n\nSo on a Mac where Claude Code is set up, part of your Claude Code setup is live in Grok Build before you type `\u002Fimport-claude`. To see what the terminal app loaded and from where, run `grok inspect`. To stop it from reading Claude Code's MCP servers, set `mcps = false` under `[compat.claude]` in `~\u002F.grok\u002Fconfig.toml`.\n\n## What should you look at before you run it?\n\n### Keys in environment variables\n\nThe `env` block applies to every session, so it's where people put things they need often. Look for API keys, `ANTHROPIC_BASE_URL` pointing at a proxy, tokens for internal services. A key that was meant for Claude Code would now sit in another tool's config too.\n\n### Keys in MCP configs\n\nMCP entries often carry credentials: an `env` value with an API key, an `Authorization` header with a token. Claude Code supports `${VAR}` references so the key stays in your shell, but many configs copied from a README have the key written in clear. Servers you added for yourself are in `~\u002F.claude.json`, which is easy to forget because you never edit it by hand.\n\n### Permissions you granted for another agent\n\nAn allow rule such as `Bash(npm run deploy:*)` was a decision about Claude Code, with its model and its permission prompts. Carried over, it becomes a decision about a different agent. Read the allow list and keep only what you'd grant again.\n\n### Hooks that run commands\n\nHooks are shell commands. Grok Build maps Claude Code's hook names to its own and supports exit code 2 to block an action, by its docs, so most hooks keep working. They will also run in a second tool, with your paths and scripts, so read them like any script you're about to run. Grok Build's docs note one difference: hooks written for Claude Code run with no loop limit on stop events, where Grok Build's own default is 5.\n\n### Code and secrets in transcripts\n\nThis is the one to take most seriously. If Claude ever ran `cat .env`, printed a config, or read a file with a key in it, that text is in the transcript, in plain text. So is any key you pasted into a prompt. Resuming the session sends it along with everything else.\n\n## How do you import cleanly?\n\n1. **Set Grok Build's data settings first.** In its terminal app without zero data retention, `\u002Fprivacy` and `\u002Fsettings` control whether code data is retained, and a first-run screen asks whether data can be used to improve the product, by the [security FAQ](https:\u002F\u002Fdocs.grok.com\u002Fdevelopers\u002Ffaq\u002Fsecurity). Choose before you send anything. [Grok Build privacy](\u002Fblog\u002Fgrok-build-privacy) covers which policy applies where.\n2. **Look at what will be read.** In your project and home folder:\n\n```sh\n# Permissions, env and hooks\ncat ~\u002F.claude\u002Fsettings.json .claude\u002Fsettings.json .claude\u002Fsettings.local.json 2>\u002Fdev\u002Fnull\n\n# MCP servers: the project's, then yours\ncat .mcp.json 2>\u002Fdev\u002Fnull\njq '.mcpServers, (.projects[]?.mcpServers \u002F\u002F empty)' ~\u002F.claude.json\n\n# Anything that looks like a key in those files\ngrep -nEi \"(api[_-]?key|token|secret|password|bearer|sk-[a-z0-9])\" \\\n  ~\u002F.claude\u002Fsettings.json .claude\u002Fsettings*.json .mcp.json ~\u002F.claude.json 2>\u002Fdev\u002Fnull\n```\n\n3. **Move keys out of the files.** Put them in your shell environment or keychain and reference them as `${NAME}`. Grok Build expands `${VAR}` in MCP configs too, so the same file works in both tools.\n4. **Trim the allow list and read the hooks.** Remove rules you no longer need, and hooks you don't recognize.\n5. **Resume only what you need.** Pick the one or two sessions that matter instead of bringing everything. Before resuming one, search its transcript for secrets:\n\n```sh\nls ~\u002F.claude\u002Fprojects\u002F\ngrep -lEi \"(sk-[a-z0-9]{20,}|AKIA[0-9A-Z]{16}|-----BEGIN [A-Z ]*PRIVATE KEY)\" ~\u002F.claude\u002Fprojects\u002F*\u002F*.jsonl\n```\n\nA shorter route: start a new Grok Build session and ask it to read your `CLAUDE.md` and the last commit. You lose the conversation, and that's often what you wanted to leave behind.\n\n6. **Check the result.** `grok inspect` lists the rules, MCP servers and hooks Grok Build loaded, with their origin.\n7. **Rotate what leaked.** If a key turns up in a transcript or a config you've already shared with another tool, rotate it. Deleting the line doesn't take it back from a copy.\n\nNone of this is specific to Grok Build. The same checks apply when you import settings into any agent, or share a transcript with anyone. [Keeping secrets out of Claude Code](\u002Fblog\u002Fclaude-code-secrets) covers the habits that keep keys out of transcripts in the first place.\n\n## FAQ\n\n**Does \u002Fimport-claude upload my settings?**\n\nThe announcement says it imports them into Grok Build. Grok Build's docs had no page for the slash command on November 30, so they don't say whether it stores anything beyond your machine. MCP servers and permissions are used locally, while what you send in sessions goes to the model through Grok Build's servers.\n\n**Does \u002Fresume-claude send my old conversation to Grok Build?**\n\nContinuing a conversation means the model needs its history, so expect the transcript to go to the model you pick, through Grok Build's inference proxy.\n\n**Will Claude Code still work after I import?**\n\nYes. Importing reads Claude Code's files, and nothing in the announcement says it changes them. Each tool keeps its own folder, `~\u002F.claude` and `~\u002F.grok`.\n\n**Can I stop Grok Build from reading Claude Code's config?**\n\nIn the terminal app, `mcps = false` under `[compat.claude]` turns off Claude Code's MCP servers. In the desktop app, turn off \"Include Third-Party Plugins, Skills, and Other Configs\" under Settings, Agents, Third-Party Imports.\n\n**Where do Claude Code transcripts live?**\n\nIn `~\u002F.claude\u002Fprojects\u002F`, in plain text, for 30 days by default. Set `cleanupPeriodDays` to keep them for less.\n\n## More on the Grok Build change\n\n- [Cursor is now Grok Build: what changed](\u002Fblog\u002Fcursor-is-now-grok-build)\n- [Grok Build pricing](\u002Fblog\u002Fgrok-build-pricing)\n- [Using Claude in Grok Build](\u002Fblog\u002Fuse-claude-in-grok-build)\n- [Grok Build alternatives](\u002Fblog\u002Fgrok-build-alternatives)\n- [Relais vs Grok Build](\u002Fblog\u002Frelais-vs-grok-build)\n- [How to migrate from Cursor to Claude Code](\u002Fblog\u002Fmigrate-cursor-to-claude-code)\n- [Grok Build Remote Control vs Claude Code](\u002Fblog\u002Fgrok-build-remote-control-vs-claude-code)\n- [Running coding agents in parallel in Grok Build and Claude Code](\u002Fblog\u002Fparallel-coding-agents-grok-build-vs-claude-code)\n- [Grok Build privacy after the Cursor merger](\u002Fblog\u002Fgrok-build-privacy)\n- [Grok Build vs Claude Code, side by side](\u002Fblog\u002Fgrok-build-vs-claude-code)\n\n## In Relais\n\nRelais is a Mac app built on Claude Code, and it reads the same files Claude Code does: `CLAUDE.md`, `.mcp.json`, your settings. It doesn't import them anywhere and sends no telemetry: no analytics, no usage events. Keys an agent needs live in the [Vault](\u002Ffeatures\u002Fvault), handed to the agents you choose, not written into a config file. It doesn't run Grok Build. More on [privacy in Relais](\u002Fprivate), and how the two compare in [Relais vs Grok Build](\u002Fblog\u002Frelais-vs-grok-build).","\u003Cp>When \u003Ca href=\"\u002Fblog\u002Fcursor-is-now-grok-build\">Cursor became Grok Build\u003C\u002Fa> on November 30, 2026, its terminal app gained two commands for people coming from Claude Code. By \u003Ca href=\"https:\u002F\u002Fgrok.com\u002Fnews\u002Fcursor-is-now-grok-build\">the announcement\u003C\u002Fa>, \u003Ccode>\u002Fimport-claude\u003C\u002Fcode> brings over &quot;your Claude Code settings in one step, including permissions, environment variables, MCP servers, and hooks&quot;, and \u003Ccode>\u002Fresume-claude\u003C\u002Fcode> (with \u003Ccode>\u002Fresume-codex\u003C\u002Fcode> for Codex) picks up &quot;your previous Claude Code or Codex sessions in Grok Build&quot;.\u003C\u002Fp>\n\u003Cp>It&#39;s a useful feature, and switching tools shouldn&#39;t mean rewriting your setup. But those four kinds of settings and your session history are where keys and code tend to collect, and a migration is a good moment to look at them. Here&#39;s what each command reads, what to check, and how to do it cleanly.\u003C\u002Fp>\n\u003Cp>On November 30, Grok Build&#39;s docs had no page for either slash command yet: the \u003Ca href=\"https:\u002F\u002Fdocs.grok.com\u002Fbuild\u002Fwhats-new\">Terminal UI&#39;s What&#39;s new\u003C\u002Fa> and its \u003Ca href=\"https:\u002F\u002Fgrok.com\u002Fproduct\u002Fbuild\u002Fchangelog\">changelog\u003C\u002Fa>, last updated November 19, don&#39;t mention them. The \u003Ca href=\"https:\u002F\u002Fdocs.grok.com\u002Fbuild\u002Fcli\u002Freference\">CLI reference\u003C\u002Fa> has one line for the shell version, \u003Ccode>grok import [targets...]\u003C\u002Fcode>, to &quot;Import sessions from Claude Code&quot;, with no more detail. So the file locations below come from \u003Ca href=\"https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fsettings\">Claude Code&#39;s own docs\u003C\u002Fa>, which say where those settings live. Check Grok Build&#39;s docs again before you run them.\u003C\u002Fp>\n\u003Ch2 id=\"what-does-import-claude-read\">\u003Ca class=\"anchor\" href=\"#what-does-import-claude-read\" aria-label=\"Link to this section\">#\u003C\u002Fa>What does \u002Fimport-claude read?\u003C\u002Fh2>\n\u003Cp>Claude Code keeps the four kinds of settings the announcement lists in a few files:\u003C\u002Fp>\n\u003Cdiv class=\"table-wrap\">\u003Ctable>\u003Cthead>\u003Ctr>\u003Cth>What\u003C\u002Fth>\u003Cth>Where Claude Code keeps it\u003C\u002Fth>\u003Cth>What can be in it\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>Permissions\u003C\u002Ftd>\u003Ctd>\u003Ccode>permissions\u003C\u002Fcode> in \u003Ccode>~\u002F.claude\u002Fsettings.json\u003C\u002Fcode>, \u003Ccode>.claude\u002Fsettings.json\u003C\u002Fcode>, \u003Ccode>.claude\u002Fsettings.local.json\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>Commands you allowed without asking, files you denied\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Environment variables\u003C\u002Ftd>\u003Ctd>\u003Ccode>env\u003C\u002Fcode> in the same files\u003C\u002Ftd>\u003Ctd>Anything you set for every session: proxies, flags, sometimes tokens\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>MCP servers\u003C\u002Ftd>\u003Ctd>\u003Ccode>.mcp.json\u003C\u002Fcode> (project), \u003Ccode>~\u002F.claude.json\u003C\u002Fcode> (your own servers, per project or for all)\u003C\u002Ftd>\u003Ctd>Commands, URLs, and \u003Ccode>env\u003C\u002Fcode> or \u003Ccode>headers\u003C\u002Fcode> values, which may hold keys\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Hooks\u003C\u002Ftd>\u003Ctd>\u003Ccode>hooks\u003C\u002Fcode> in the settings files\u003C\u002Ftd>\u003Ctd>Shell commands that run on events, with your paths and scripts\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Cp>How those files stack, and what each key does, is in \u003Ca href=\"\u002Fblog\u002Fclaude-code-settings-json\">Claude Code settings.json explained\u003C\u002Fa>.\u003C\u002Fp>\n\u003Cp>Organizations can also deploy a managed \u003Ccode>managed-settings.json\u003C\u002Fcode>. By Grok Build&#39;s \u003Ca href=\"https:\u002F\u002Fdocs.grok.com\u002Fbuild\u002Fenterprise\">enterprise docs\u003C\u002Fa>, its terminal app already reads part of that file (permission rules, MCP allowlists, some telemetry flags and marketplace limits), but not Claude Code&#39;s \u003Ccode>disableBypassPermissionsMode\u003C\u002Fcode>. Grok Build has its own setting for that.\u003C\u002Fp>\n\u003Ch2 id=\"what-does-resume-claude-read\">\u003Ca class=\"anchor\" href=\"#what-does-resume-claude-read\" aria-label=\"Link to this section\">#\u003C\u002Fa>What does \u002Fresume-claude read?\u003C\u002Fh2>\n\u003Cp>Your Claude Code sessions. By \u003Ca href=\"https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fdata-usage\">Claude Code&#39;s data usage page\u003C\u002Fa>, it stores session transcripts &quot;locally in plaintext under \u003Ccode>~\u002F.claude\u002Fprojects\u002F\u003C\u002Fcode>&quot;, for 30 days by default (\u003Ccode>cleanupPeriodDays\u003C\u002Fcode> changes it), one folder per project, one \u003Ccode>.jsonl\u003C\u002Fcode> file per session.\u003C\u002Fp>\n\u003Cp>A transcript holds the whole conversation: your prompts, Claude&#39;s answers, the files it read, the output of every command it ran. Continuing that session in another tool means sending that history to the model you pick there, through that tool&#39;s servers. For Grok Build&#39;s terminal app, that&#39;s \u003Ccode>cli-chat-proxy.grok.com\u003C\u002Fcode>, its inference proxy by the enterprise docs.\u003C\u002Fp>\n\u003Ch2 id=\"doesn-39-t-grok-build-already-read-some-of-this\">\u003Ca class=\"anchor\" href=\"#doesn-39-t-grok-build-already-read-some-of-this\" aria-label=\"Link to this section\">#\u003C\u002Fa>Doesn&#39;t Grok Build already read some of this?\u003C\u002Fh2>\n\u003Cp>Yes, and it&#39;s worth knowing before you import anything. By Grok Build&#39;s docs, read on November 30:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>The terminal app\u003C\u002Fstrong> loads MCP servers from \u003Ccode>~\u002F.claude.json\u003C\u002Fcode> and project \u003Ccode>.mcp.json\u003C\u002Fcode> files, below its own \u003Ccode>config.toml\u003C\u002Fcode> (\u003Ca href=\"https:\u002F\u002Fdocs.grok.com\u002Fbuild\u002Ffeatures\u002Fmcp-servers\">MCP servers\u003C\u002Fa>). It reads \u003Ccode>CLAUDE.md\u003C\u002Fcode>, \u003Ccode>CLAUDE.local.md\u003C\u002Fcode> when Git doesn&#39;t ignore it, and \u003Ccode>.claude\u002Frules\u002F*.md\u003C\u002Fcode> (\u003Ca href=\"https:\u002F\u002Fdocs.grok.com\u002Fbuild\u002Ffeatures\u002Fproject-rules\">AGENTS.md\u003C\u002Fa>).\u003C\u002Fli>\n\u003Cli>\u003Cstrong>The desktop app\u003C\u002Fstrong>, formerly Cursor, runs Claude Code hooks from \u003Ccode>.claude\u002Fsettings.local.json\u003C\u002Fcode>, \u003Ccode>.claude\u002Fsettings.json\u003C\u002Fcode> and \u003Ccode>~\u002F.claude\u002Fsettings.json\u003C\u002Fcode> when &quot;Include Third-Party Plugins, Skills, and Other Configs&quot; is on, which is the default (\u003Ca href=\"https:\u002F\u002Fdocs.grok.com\u002Fbuild\u002Fagents-window\u002Freference\u002Fthird-party-hooks\">third-party hooks\u003C\u002Fa>). It also loads skills from \u003Ccode>.claude\u002Fskills\u002F\u003C\u002Fcode> and reads \u003Ccode>CLAUDE.md\u003C\u002Fcode>.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>So on a Mac where Claude Code is set up, part of your Claude Code setup is live in Grok Build before you type \u003Ccode>\u002Fimport-claude\u003C\u002Fcode>. To see what the terminal app loaded and from where, run \u003Ccode>grok inspect\u003C\u002Fcode>. To stop it from reading Claude Code&#39;s MCP servers, set \u003Ccode>mcps = false\u003C\u002Fcode> under \u003Ccode>[compat.claude]\u003C\u002Fcode> in \u003Ccode>~\u002F.grok\u002Fconfig.toml\u003C\u002Fcode>.\u003C\u002Fp>\n\u003Ch2 id=\"what-should-you-look-at-before-you-run-it\">\u003Ca class=\"anchor\" href=\"#what-should-you-look-at-before-you-run-it\" aria-label=\"Link to this section\">#\u003C\u002Fa>What should you look at before you run it?\u003C\u002Fh2>\n\u003Ch3 id=\"keys-in-environment-variables\">\u003Ca class=\"anchor\" href=\"#keys-in-environment-variables\" aria-label=\"Link to this section\">#\u003C\u002Fa>Keys in environment variables\u003C\u002Fh3>\n\u003Cp>The \u003Ccode>env\u003C\u002Fcode> block applies to every session, so it&#39;s where people put things they need often. Look for API keys, \u003Ccode>ANTHROPIC_BASE_URL\u003C\u002Fcode> pointing at a proxy, tokens for internal services. A key that was meant for Claude Code would now sit in another tool&#39;s config too.\u003C\u002Fp>\n\u003Ch3 id=\"keys-in-mcp-configs\">\u003Ca class=\"anchor\" href=\"#keys-in-mcp-configs\" aria-label=\"Link to this section\">#\u003C\u002Fa>Keys in MCP configs\u003C\u002Fh3>\n\u003Cp>MCP entries often carry credentials: an \u003Ccode>env\u003C\u002Fcode> value with an API key, an \u003Ccode>Authorization\u003C\u002Fcode> header with a token. Claude Code supports \u003Ccode>${VAR}\u003C\u002Fcode> references so the key stays in your shell, but many configs copied from a README have the key written in clear. Servers you added for yourself are in \u003Ccode>~\u002F.claude.json\u003C\u002Fcode>, which is easy to forget because you never edit it by hand.\u003C\u002Fp>\n\u003Ch3 id=\"permissions-you-granted-for-another-agent\">\u003Ca class=\"anchor\" href=\"#permissions-you-granted-for-another-agent\" aria-label=\"Link to this section\">#\u003C\u002Fa>Permissions you granted for another agent\u003C\u002Fh3>\n\u003Cp>An allow rule such as \u003Ccode>Bash(npm run deploy:*)\u003C\u002Fcode> was a decision about Claude Code, with its model and its permission prompts. Carried over, it becomes a decision about a different agent. Read the allow list and keep only what you&#39;d grant again.\u003C\u002Fp>\n\u003Ch3 id=\"hooks-that-run-commands\">\u003Ca class=\"anchor\" href=\"#hooks-that-run-commands\" aria-label=\"Link to this section\">#\u003C\u002Fa>Hooks that run commands\u003C\u002Fh3>\n\u003Cp>Hooks are shell commands. Grok Build maps Claude Code&#39;s hook names to its own and supports exit code 2 to block an action, by its docs, so most hooks keep working. They will also run in a second tool, with your paths and scripts, so read them like any script you&#39;re about to run. Grok Build&#39;s docs note one difference: hooks written for Claude Code run with no loop limit on stop events, where Grok Build&#39;s own default is 5.\u003C\u002Fp>\n\u003Ch3 id=\"code-and-secrets-in-transcripts\">\u003Ca class=\"anchor\" href=\"#code-and-secrets-in-transcripts\" aria-label=\"Link to this section\">#\u003C\u002Fa>Code and secrets in transcripts\u003C\u002Fh3>\n\u003Cp>This is the one to take most seriously. If Claude ever ran \u003Ccode>cat .env\u003C\u002Fcode>, printed a config, or read a file with a key in it, that text is in the transcript, in plain text. So is any key you pasted into a prompt. Resuming the session sends it along with everything else.\u003C\u002Fp>\n\u003Ch2 id=\"how-do-you-import-cleanly\">\u003Ca class=\"anchor\" href=\"#how-do-you-import-cleanly\" aria-label=\"Link to this section\">#\u003C\u002Fa>How do you import cleanly?\u003C\u002Fh2>\n\u003Col>\n\u003Cli>\u003Cstrong>Set Grok Build&#39;s data settings first.\u003C\u002Fstrong> In its terminal app without zero data retention, \u003Ccode>\u002Fprivacy\u003C\u002Fcode> and \u003Ccode>\u002Fsettings\u003C\u002Fcode> control whether code data is retained, and a first-run screen asks whether data can be used to improve the product, by the \u003Ca href=\"https:\u002F\u002Fdocs.grok.com\u002Fdevelopers\u002Ffaq\u002Fsecurity\">security FAQ\u003C\u002Fa>. Choose before you send anything. \u003Ca href=\"\u002Fblog\u002Fgrok-build-privacy\">Grok Build privacy\u003C\u002Fa> covers which policy applies where.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Look at what will be read.\u003C\u002Fstrong> In your project and home folder:\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cpre class=\"code\" data-lang=\"sh\">\u003Ccode># Permissions, env and hooks\ncat ~\u002F.claude\u002Fsettings.json .claude\u002Fsettings.json .claude\u002Fsettings.local.json 2&gt;\u002Fdev\u002Fnull\n\n# MCP servers: the project's, then yours\ncat .mcp.json 2&gt;\u002Fdev\u002Fnull\njq '.mcpServers, (.projects[]?.mcpServers \u002F\u002F empty)' ~\u002F.claude.json\n\n# Anything that looks like a key in those files\ngrep -nEi &quot;(api[_-]?key|token|secret|password|bearer|sk-[a-z0-9])&quot; \\\n  ~\u002F.claude\u002Fsettings.json .claude\u002Fsettings*.json .mcp.json ~\u002F.claude.json 2&gt;\u002Fdev\u002Fnull\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Col start=\"3\">\n\u003Cli>\u003Cstrong>Move keys out of the files.\u003C\u002Fstrong> Put them in your shell environment or keychain and reference them as \u003Ccode>${NAME}\u003C\u002Fcode>. Grok Build expands \u003Ccode>${VAR}\u003C\u002Fcode> in MCP configs too, so the same file works in both tools.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Trim the allow list and read the hooks.\u003C\u002Fstrong> Remove rules you no longer need, and hooks you don&#39;t recognize.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Resume only what you need.\u003C\u002Fstrong> Pick the one or two sessions that matter instead of bringing everything. Before resuming one, search its transcript for secrets:\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cpre class=\"code\" data-lang=\"sh\">\u003Ccode>ls ~\u002F.claude\u002Fprojects\u002F\ngrep -lEi &quot;(sk-[a-z0-9]{20,}|AKIA[0-9A-Z]{16}|-----BEGIN [A-Z ]*PRIVATE KEY)&quot; ~\u002F.claude\u002Fprojects\u002F*\u002F*.jsonl\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>A shorter route: start a new Grok Build session and ask it to read your \u003Ccode>CLAUDE.md\u003C\u002Fcode> and the last commit. You lose the conversation, and that&#39;s often what you wanted to leave behind.\u003C\u002Fp>\n\u003Col start=\"6\">\n\u003Cli>\u003Cstrong>Check the result.\u003C\u002Fstrong> \u003Ccode>grok inspect\u003C\u002Fcode> lists the rules, MCP servers and hooks Grok Build loaded, with their origin.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Rotate what leaked.\u003C\u002Fstrong> If a key turns up in a transcript or a config you&#39;ve already shared with another tool, rotate it. Deleting the line doesn&#39;t take it back from a copy.\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cp>None of this is specific to Grok Build. The same checks apply when you import settings into any agent, or share a transcript with anyone. \u003Ca href=\"\u002Fblog\u002Fclaude-code-secrets\">Keeping secrets out of Claude Code\u003C\u002Fa> covers the habits that keep keys out of transcripts in the first place.\u003C\u002Fp>\n\u003Ch2 id=\"faq\">\u003Ca class=\"anchor\" href=\"#faq\" aria-label=\"Link to this section\">#\u003C\u002Fa>FAQ\u003C\u002Fh2>\n\u003Cp>\u003Cstrong>Does \u002Fimport-claude upload my settings?\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>The announcement says it imports them into Grok Build. Grok Build&#39;s docs had no page for the slash command on November 30, so they don&#39;t say whether it stores anything beyond your machine. MCP servers and permissions are used locally, while what you send in sessions goes to the model through Grok Build&#39;s servers.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Does \u002Fresume-claude send my old conversation to Grok Build?\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>Continuing a conversation means the model needs its history, so expect the transcript to go to the model you pick, through Grok Build&#39;s inference proxy.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Will Claude Code still work after I import?\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>Yes. Importing reads Claude Code&#39;s files, and nothing in the announcement says it changes them. Each tool keeps its own folder, \u003Ccode>~\u002F.claude\u003C\u002Fcode> and \u003Ccode>~\u002F.grok\u003C\u002Fcode>.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Can I stop Grok Build from reading Claude Code&#39;s config?\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>In the terminal app, \u003Ccode>mcps = false\u003C\u002Fcode> under \u003Ccode>[compat.claude]\u003C\u002Fcode> turns off Claude Code&#39;s MCP servers. In the desktop app, turn off &quot;Include Third-Party Plugins, Skills, and Other Configs&quot; under Settings, Agents, Third-Party Imports.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Where do Claude Code transcripts live?\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>In \u003Ccode>~\u002F.claude\u002Fprojects\u002F\u003C\u002Fcode>, in plain text, for 30 days by default. Set \u003Ccode>cleanupPeriodDays\u003C\u002Fcode> to keep them for less.\u003C\u002Fp>\n\u003Ch2 id=\"more-on-the-grok-build-change\">\u003Ca class=\"anchor\" href=\"#more-on-the-grok-build-change\" aria-label=\"Link to this section\">#\u003C\u002Fa>More on the Grok Build change\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Ca href=\"\u002Fblog\u002Fcursor-is-now-grok-build\">Cursor is now Grok Build: what changed\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fblog\u002Fgrok-build-pricing\">Grok Build pricing\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fblog\u002Fuse-claude-in-grok-build\">Using Claude in Grok Build\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fblog\u002Fgrok-build-alternatives\">Grok Build alternatives\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fblog\u002Frelais-vs-grok-build\">Relais vs Grok Build\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fblog\u002Fmigrate-cursor-to-claude-code\">How to migrate from Cursor to Claude Code\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fblog\u002Fgrok-build-remote-control-vs-claude-code\">Grok Build Remote Control vs Claude Code\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fblog\u002Fparallel-coding-agents-grok-build-vs-claude-code\">Running coding agents in parallel in Grok Build and Claude Code\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fblog\u002Fgrok-build-privacy\">Grok Build privacy after the Cursor merger\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fblog\u002Fgrok-build-vs-claude-code\">Grok Build vs Claude Code, side by side\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"in-relais\">\u003Ca class=\"anchor\" href=\"#in-relais\" aria-label=\"Link to this section\">#\u003C\u002Fa>In Relais\u003C\u002Fh2>\n\u003Cp>Relais is a Mac app built on Claude Code, and it reads the same files Claude Code does: \u003Ccode>CLAUDE.md\u003C\u002Fcode>, \u003Ccode>.mcp.json\u003C\u002Fcode>, your settings. It doesn&#39;t import them anywhere and sends no telemetry: no analytics, no usage events. Keys an agent needs live in the \u003Ca href=\"\u002Ffeatures\u002Fvault\">Vault\u003C\u002Fa>, handed to the agents you choose, not written into a config file. It doesn&#39;t run Grok Build. More on \u003Ca href=\"\u002Fprivate\">privacy in Relais\u003C\u002Fa>, and how the two compare in \u003Ca href=\"\u002Fblog\u002Frelais-vs-grok-build\">Relais vs Grok Build\u003C\u002Fa>.\u003C\u002Fp>\n",[15,18,21,24,27,30,33,36],{"id":16,"text":17},"what-does-import-claude-read","What does \u002Fimport-claude read?",{"id":19,"text":20},"what-does-resume-claude-read","What does \u002Fresume-claude read?",{"id":22,"text":23},"doesn-39-t-grok-build-already-read-some-of-this","Doesn't Grok Build already read some of this?",{"id":25,"text":26},"what-should-you-look-at-before-you-run-it","What should you look at before you run it?",{"id":28,"text":29},"how-do-you-import-cleanly","How do you import cleanly?",{"id":31,"text":32},"faq","FAQ",{"id":34,"text":35},"more-on-the-grok-build-change","More on the Grok Build change",{"id":37,"text":38},"in-relais","In Relais",[40,47,52],{"slug":41,"title":42,"description":43,"category":7,"categoryId":8,"keyword":44,"date":45,"minutes":46},"t3-code-alternatives","T3 Code alternatives without telemetry (December 2026)","T3 Code alternatives compared on December 1, 2026, for developers who want no usage data sent by default. Claude Code alone, OpenCode, Codex, Conductor, Grok Build and Relais, with telemetry, price, platforms and source for each, plus how to run T3 Code without telemetry.","t3 code alternatives","2026-12-01",9,{"slug":48,"title":49,"description":50,"category":7,"categoryId":8,"keyword":51,"date":10,"minutes":11},"grok-build-privacy","Grok Build privacy after the Cursor merger: which policy applies, Privacy Mode, and what to check","Cursor is now Grok Build. Which data policy covers the desktop app and the terminal app on November 30, 2026, what happens to Cursor's Privacy Mode (and Privacy Mode Legacy), the July 2026 repository uploads, and how to check what leaves your machine.","grok build privacy",{"slug":53,"title":54,"description":55,"category":7,"categoryId":8,"keyword":56,"date":57,"minutes":58},"claude-code-telemetry","Does Claude Code send telemetry? What it sends and how to turn it off","What Claude Code sends besides your prompts (metrics, error reports, feedback, surveys, updates) and the exact settings that turn each one off.","claude code telemetry","2026-11-25",6,1796309902328]