Import Claude Code into Grok Build
Import Claude Code into Grok Build
Grok Build can take over a Claude Code setup in two layers: automatic discovery of Claude files on disk, and an explicit session / settings import. Official references: CLI Reference, Modes and Commands, Skills, Plugins & Marketplaces.
What loads with zero setup
With no extra config, Grok reads Claude Code marketplaces, plugins, skills, MCPs, agents, hooks, and instruction files (CLAUDE.md, Claude.md, CLAUDE.local.md, .claude/rules/) alongside .grok/. Claude Code CLI flag names that overlap are accepted as aliases (--allowedTools, --disallowedTools, --append-system-prompt, --system-prompt, --dangerously-skip-permissions).
For enterprise MDM, Grok can also read a subset of Claude’s managed-settings.json (permission rules, MCP allowlists, some telemetry/feedback and marketplace restrictions). Grok’s own /etc/grok/requirements.toml still wins — see Enterprise Deployments.
Import sessions from the shell
grok import [targets...]
grok import brings sessions over from Claude Code. Pass target paths when you need a specific tree; run without targets when the default Claude locations are enough. Confirm what Grok discovered afterward:
grok inspect
Import settings from the TUI
Inside an interactive session, run:
/import-claude
That opens the Claude settings import modal (listed under Modes and Commands).
After import
- Run
grok inspect(orgrok inspect --json) and check rules, skills, plugins, hooks, and MCP origins. - Open
/plugins//mcps//hooks//skillsif you need to toggle or re-auth a server. - Prefer Grok-native project rules in
AGENTS.md/.grok/rules/when you are standardizing a repo for both tools — see Make Grok Build follow AGENTS.md.
Pitfalls
- Importing sessions does not replace team policy pins in
requirements.toml. - Claude
disableBypassPermissionsModedoes not lock Grok’s always-approve; pindisable_bypass_permissions_modein Grok’s own requirements file if you need that lock. - Compatibility scanners can be turned off with
GROK_CLAUDE_*env vars listed in the settings reference.