Guide · Migration

Migrate from Elf to Claude Code & Desktop

Export Elf skills, instructions, MCP servers, and original source bytes back to Claude Code and Claude Desktop with Grade B+ parity.

By ELFUpdated Evidence reviewed Published Agent Markdown

Portability receipt

Grade B+Original bytes preservedLoss disclosed

Portable directly

  • • SKILL.md skill folders exported straight to ~/.claude/skills/ and .claude/skills/
  • • MCP server definitions emitted to .mcp.json and claude_desktop_config.json
  • • Preserved Claude originals restored byte-for-byte when previously imported

Requires translation

  • • Elf workspace instructions -> root CLAUDE.md and .claude/rules/ files
  • • Elf session exports -> Markdown RESUME.md plus raw transcript.jsonl archive
  • • Elf hook specs -> Claude Code settings.json hook entries

Unsupported

  • • Persistent Elf scheduled jobs (no native Claude Desktop cron runner)
  • • Cross-host Elf mesh thread routing (elf msg) and multi-agent Buzz mailboxes

Credential checklist (zero secrets in pack)

  • ANTHROPIC_API_KEY or Claude OAuth login on the destination machine
  • Destination MCP server environment placeholders (never serialized in pack)

Step-by-step walkthrough

  1. Step 1

    Generate the outbound Claude migration specification

    Run the migration stitcher across export-from-elf.yaml and import-into-claude.yaml to inspect every skill, instruction file, MCP server, and unsupported Elf feature before copying files.

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

    Inspect disclosed unsupported capabilities

    Review the Unsupported bucket (persistent Elf schedules and cross-host elf msg mesh routing) and verify internal elf-memory stores are excluded from the export.

    Agent action (cli)
    python3 -c "import json; d=json.load(open(\"./elf-to-claude-pack/migrate-elf-to-claude.guide.json\")); print(d[\"portability\"][\"unsupported\"])"
  3. Step 3

    Copy skills, CLAUDE.md, and MCP config without overwriting originals

    Sync normalized SKILL.md folders, translated CLAUDE.md rules, and env-var-referenced MCP JSON into ~/.claude while retaining untouched originals in original-bytes/elf/.

    Agent action (cli)
    ls -la ~/.elf/skills ~/.elf/AGENTS.md ~/.elf/mcp.json ./elf-to-claude-pack
  4. Step 4

    Verify SHA-256 original-bytes retention and Claude skill discovery

    Validate sha256-manifest.json digests against original-bytes/elf/ and confirm Claude Code sees each exported skill under ~/.claude/skills/.

    Agent action (cli)
    ls -la ~/.claude/skills && cat ./elf-to-claude-pack/sha256-manifest.json

Leaving Elf is held to the exact same engineering standard as arriving: every skill, instruction, MCP server, and preserved original file exports cleanly with an explicit receipt and zero lock-in.

Symmetric portability and named loss

BucketWhat Elf exportsWhy it matters
Portable directlySKILL.md directories, .mcp.json, preserved original filesByte-identical round-trip when source artifacts originated from Claude
Requires translationElf workspace rules -> CLAUDE.md; session history -> RESUME.md + transcript.jsonlClean Markdown and JSONL remain readable by any editor or agent
UnsupportedPersistent Elf schedules, elf msg cross-host routingExplicitly listed before export rather than silently omitted

Original bytes stay recoverable

Because Elf keeps untouched source snapshots in original-bytes/ instead of overwriting them with lossy translations, moving from Claude to Elf and back to Claude restores unmodified upstream artifacts rather than re-translating a translation.

Looking to import into Elf instead? See Migrate from Claude Code & Desktop to Elf.