Guide · Migration

Migrate from Grok Bot to Claude Code & Desktop

Export Grok Bot conversations via neutral Agent Pack into Claude with explicit complete_history: false tail caveats and zero silent loss.

By ELFUpdated Evidence reviewed Published Agent Markdown

Portability receipt

Grade BOriginal bytes preservedLoss disclosed

Portable directly

  • • Raw local Grok Bot snapshot archive preserved verbatim in original-bytes/grok-bot/
  • • Normalized recent conversation tail (transcript.jsonl and transcript.md)

Requires translation

  • • Truncated local Grok Bot replica -> structured RESUME.md handoff prompt for Claude
  • • Bot persona notes -> project CLAUDE.md instruction seed

Unsupported

  • • Full server-side history beyond local tail replica (complete_history: false)
  • • Cloud-only Grok Bot routines and hidden server memory entries
  • • Direct automated import API (Grok Bot exposes no inbound/outbound full-history API)

Credential checklist (zero secrets in pack)

  • GROK_BOT_SESSION_REF (read-only local profile session; never exported)
  • ANTHROPIC_API_KEY or Claude Desktop account sign-in on destination

Step-by-step walkthrough

  1. Step 1

    Inspect the local Grok Bot persistence directory read-only

    Verify the local sand-client-persistence directory exists on disk. Because Grok Bot stores only a truncated local replica, record complete_history: false upfront and skip Cookies, sand-secrets.json, and gateway-descriptor.json.

    Agent action (cli)
    ls -la "$HOME/Library/Application Support/Grok Bot/sand-client-persistence"
  2. Step 2

    Generate the stitched Grok Bot-to-Claude pack specification

    Run the deterministic migration stitcher across export-from-grok-bot.yaml and import-into-claude.yaml to emit the compatibility buckets, RESUME.md rules, and named loss disclosures.

    Agent action (cli)
    python3 tools/elf-hands/wf-dialog/workflows/lib/stitch-migrations.py --source grok-bot --target claude --out-dir ./grok-to-claude-pack
  3. Step 3

    Place RESUME.md and CLAUDE.md seed into your Claude workspace

    Review the generated neutral/RESUME.md handoff summary and persona seed before copying them into your destination workspace without overwriting existing files.

    Agent action (cli)
    cat ./grok-to-claude-pack/migrate-grok-bot-to-claude.md
  4. Step 4

    Verify disclosed complete_history: false and SHA-256 manifest

    Confirm neutral/pack.json marks complete_history: false and every snapshotted .blob matches sha256-manifest.json with zero cookie or gateway secrets present.

    Agent action (cli)
    python3 -c "import json; print(json.load(open(\"./grok-to-claude-pack/neutral/pack.json\")))"

Cross-ecosystem moves (A -> B) run through the same neutral Agent Pack (profile.json, transcript.jsonl, transcript.md, RESUME.md) without routing lock-in. Because Grok Bot offers no import API and its local replica only holds a truncated tail, this migration is honestly scoped as a structured resume handoff rather than a silent claim of complete history transfer.

Explicit complete_history: false disclosure

Every Grok Bot export sets "complete_history": false in profile.json and records exact truncation boundaries:

  • What is preserved verbatim: the raw local replica bytes inside original-bytes/, plus the exported transcript.jsonl and transcript.md tail.
  • What stays on the Grok cloud box: older turn history outside the local tail window, server-side memories, and cloud-scheduled routines.
  • How Claude resumes cleanly: RESUME.md distills active goals, constraints, and recent decisions so Claude starts with verified context while keeping raw originals inspectable on disk.