Project Bootstrap

These flows create project-local Grok Code files or import compatibility data from other tools.

Core CLI Commands

bash
grok init
grok import claude
grok import cursor
grok import mcp-json --path .mcp.json
grok deepinit

What grok init Creates

  • .grok/config.toml
  • .grok/rules.md
  • GROK.local.md
  • .grok/commands/review.md

What Imports Do

  • claude: copies compatible Claude files into .grok/
  • cursor: materializes Cursor rules into .grok/
  • mcp-json: imports MCP definitions from a .mcp.json file into .grok/config.toml

What deepinit Does

  • writes a lightweight AGENTS.md
  • performs a shallow project scan
  • is best treated as a starting point, not finished project documentation

Was this page helpful? Report issues on GitHub.