Migrate from OpenClaw to Hermes Agent (official hermes claw migrate)
Hermes ships an official OpenClaw migration: hermes claw migrate imports memories, SOUL.md, command allowlists, skills, and compatible settings from ~/.openclaw. Preview with --dry-run first.
Who this is for:Users moving from OpenClaw who want to keep their memories and customizations.
Steps
-
Preview first
The dry run reports what would migrate, what cannot, and what would be archived, without changing anything.
hermes claw migrate --dry-run -
Run the interactive migration
Officially migrated: SOUL.md, MEMORY.md and USER.md (as Hermes memories), command allowlists, compatible messaging settings like TELEGRAM_ALLOWED_USERS, and OpenClaw skills into ~/.hermes/skills/openclaw-imports/.
hermes claw migrate -
Skip secrets with a preset
The user-data preset skips secrets; --migrate-secrets imports only the allowlisted set (currently TELEGRAM_BOT_TOKEN).
hermes claw migrate --preset user-data -
Conflicts and custom source paths
hermes claw migrate --overwrite hermes claw migrate --source /custom/path/.openclaw -
Fresh installs don't need to run it manually
The hermes setup wizard auto-detects ~/.openclaw and offers migration before configuration begins.
hermes setup
How to verify
- Migration ends with a structured report: migrated items, conflicts, skipped items with reasons
- Hermes can recall your old OpenClaw memories in chat
FAQ
Will it migrate my API keys?
Secrets are skipped by default. With --migrate-secrets only allowlisted items move; the current official list is TELEGRAM_BOT_TOKEN.
Do unmigratable items get lost?
No. Non-secret docs without a Hermes destination are archived, and the report lists every skipped item with the reason.
Do OpenClaw skills work directly?
They are copied to ~/.hermes/skills/openclaw-imports/ for review; compatibility is not guaranteed per skill.
Related pages
- Download and Install Hermes Agent on macOS
- Download and Install Hermes Agent on Windows (Desktop / PowerShell / WSL2)
- Download and Install Hermes Agent on Linux
- Install Hermes Agent on WSL2 (Advanced Windows Path)
- Hermes Agent Model Provider and API Key Setup
- How to fix: hermes: command not found
- How to fix: API key not set / invalid API key
- How to fix: Hermes requires Python 3.11 or newer
- How to fix: context length exceeded
- Telegram + Hermes Agent: Known Pitfalls and Fixes
- Curated official issues
- School solution cards