3.4 KiB
3.4 KiB
| name | description | version | author | license | metadata | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| openclaw-migration | Migrate a user's OpenClaw customization footprint into Hermes Agent. Imports Hermes-compatible memories, SOUL.md, command allowlists, user skills, and selected workspace assets from ~/.openclaw, then reports exactly what could not be migrated and why. | 1.0.0 | Hermes Agent (Nous Research) | MIT |
|
OpenClaw -> Hermes Migration
Use this skill when a user wants to move their OpenClaw setup into Hermes Agent with minimal manual cleanup.
What this skill does
It uses scripts/openclaw_to_hermes.py to:
- import
SOUL.mdinto~/.hermes/SOUL.md - transform OpenClaw
MEMORY.mdandUSER.mdinto Hermes memory entries - merge OpenClaw command approval patterns into Hermes
command_allowlist - migrate Hermes-compatible messaging settings such as
TELEGRAM_ALLOWED_USERSandMESSAGING_CWD - copy OpenClaw skills into
~/.hermes/skills/openclaw-imports/ - optionally copy the OpenClaw workspace
AGENTS.mdinto a chosen Hermes workspace - mirror compatible workspace assets such as
workspace/tts/into~/.hermes/tts/ - archive non-secret docs that do not have a direct Hermes destination
- produce a structured report listing migrated items, conflicts, skipped items, and reasons
With --migrate-secrets, it will also import a small allowlisted set of Hermes-compatible secrets, currently:
TELEGRAM_BOT_TOKEN
Default workflow
- Inspect first with a dry run.
- Ask for a target workspace path if
AGENTS.mdshould be brought over. - Execute the migration.
- Summarize the results, especially:
- what was migrated
- what was archived for manual review
- what was skipped and why
Commands
Dry run:
python3 SKILL_DIR/scripts/openclaw_to_hermes.py --workspace-target "$PWD"
Execute:
python3 SKILL_DIR/scripts/openclaw_to_hermes.py --execute --workspace-target "$PWD"
Execute with Hermes-compatible secret migration enabled:
python3 SKILL_DIR/scripts/openclaw_to_hermes.py --execute --migrate-secrets --workspace-target "$PWD"
If the user does not want to import workspace instructions into the current directory, omit --workspace-target.
Important rules
- Run a dry run before writing unless the user explicitly says to proceed immediately.
- Do not migrate secrets by default. Tokens, auth blobs, device credentials, and raw gateway config should stay out of Hermes unless the user explicitly asks for secret migration.
- Do not silently overwrite non-empty Hermes targets unless the user explicitly wants that. The helper script will preserve backups when overwriting is enabled.
- Always give the user the skipped-items report. That report is part of the migration, not an optional extra.
- Prefer the primary OpenClaw workspace (
~/.openclaw/workspace/) overworkspace.default/. Only use the default workspace as fallback when the primary files are missing. - Even in secret-migration mode, only migrate secrets with a clean Hermes destination. Unsupported auth blobs must still be reported as skipped.
Expected result
After a successful run, the user should have:
- Hermes persona state imported
- Hermes memory files populated with converted OpenClaw knowledge
- OpenClaw skills available under
~/.hermes/skills/openclaw-imports/ - a migration report showing any conflicts, omissions, or unsupported data