What gets migrated
| What | Description |
|---|---|
| SOUL.md | Your persona file — the agent’s identity and behavior guidelines |
| Memories | MEMORY.md and USER.md persistent memory entries |
| Skills | User-created skills, imported to ~/.hermes/skills/openclaw-imports/ |
| Command allowlist | Approval patterns for dangerous command detection |
| Messaging settings | Platform configs, allowed users, working directory |
| API keys | Allowlisted secrets (Telegram, OpenRouter, OpenAI, Anthropic, ElevenLabs) |
| TTS assets | Workspace audio files |
| Workspace instructions | AGENTS.md (with --workspace-target flag) |
Path mappings
The migration script translates OpenClaw’s directory layout to Hermes equivalents:| OpenClaw path | Hermes path |
|---|---|
~/.openclaw/SOUL.md | ~/.hermes/SOUL.md |
~/.openclaw/memories/MEMORY.md | ~/.hermes/memories/MEMORY.md |
~/.openclaw/memories/USER.md | ~/.hermes/memories/USER.md |
~/.openclaw/skills/ | ~/.hermes/skills/openclaw-imports/ |
~/.openclaw/config.yaml | ~/.hermes/config.yaml (merged) |
~/.openclaw/.env | ~/.hermes/.env (allowlisted keys only) |
~/.openclaw/approval_patterns | ~/.hermes/approval_patterns |
Automatic detection
The setup wizard (hermes setup) automatically detects ~/.openclaw during first-time setup and offers to run the migration before configuration begins. This is the easiest path if you’re installing Hermes for the first time on a machine that already has OpenClaw.
Manual migration
Preview what will be migrated
Run a dry run first to see exactly what the migration will do without making any changes:The output lists every item that would be migrated, skipped, or flagged as a conflict.
Run the migration
Run the full interactive migration:The interactive mode shows migration settings and asks for confirmation before proceeding. It detects To overwrite existing Hermes files when there are conflicts:
~/.openclaw automatically.To migrate without secrets (API keys, tokens):Review the results
The migration report shows:
- Items migrated successfully
- Conflicts (existing Hermes files that were skipped)
- Errors
--preset full), add them manually:Migration commands reference
Migrated skills
User-created skills from OpenClaw are imported into a dedicated subdirectory:~/.hermes/skills/ if you prefer a different organization.
Agent-guided migration
For a more interactive experience, you can use theopenclaw-migration skill, which provides agent-guided migration with explanations and dry-run previews at each step:
The
openclaw-migration skill is included in the optional-skills/migration/ directory of the Hermes repository. It is not activated by default but can be discovered via hermes skills browse and installed with hermes skills install.Troubleshooting
OpenClaw directory not found
OpenClaw directory not found
If the migration reports that
~/.openclaw doesn’t exist, specify the path explicitly:API keys were not migrated
API keys were not migrated
By default, Or run the migration again with secrets enabled:
hermes claw migrate uses the full preset which includes API keys. However, if you used --preset user-data, keys are excluded. Add them manually:Skills not loading after migration
Skills not loading after migration
Migrated skills land in Skills in subdirectories of
~/.hermes/skills/openclaw-imports/. Verify the directory exists and contains your skills:~/.hermes/skills/ are automatically discovered. If a skill isn’t showing up, check that its SKILL.md has valid frontmatter.Conflicts were skipped
Conflicts were skipped
When an existing Hermes file conflicts with a migrated OpenClaw file, the migration skips it by default. To overwrite:Or resolve conflicts manually by editing the files in
~/.hermes/.