OpenClaw to Hermes Migration Kit
Overview
This skill guides a controlled migration from an OpenClaw-style agent setup into Hermes Agent.
The goal is not to copy everything blindly. The goal is to preserve useful agent behavior while protecting secrets, sessions, Telegram tokens, databases, memory boundaries, and rollback options.
When to Use
Use this skill when the user wants to:
- migrate OpenClaw agents to Hermes Agent;
- audit old roles, skills, memory, crons, tools, provider config, and messaging setup;
- prepare a subscriber/client migration kit;
- avoid duplicate Telegram polling during cutover;
- move agent knowledge without leaking private
.env, auth/session files, or raw audit data.
Do not use it for generic Hermes setup only; use the hermes-agent skill for that.
Default Workflow
- Start with a read-only audit.
- Generate a storage/database inventory with metadata only.
- Run secret scans on every generated report before sharing.
- Build an agent-to-profile mapping.
- Re-enter secrets locally instead of pasting values into chat.
- Migrate one profile at a time.
- Verify model, skills, memory, tools, cron, messaging, and logs.
- Cut over Telegram only after the old token holder is stopped.
- Keep rollback artifacts until the new Hermes profile is proven stable.
Core Commands
From a cloned repository:
python3 scripts/openclaw_hermes_audit.py --source ~/.openclaw --out ./my-openclaw-audit.json --pretty
python3 scripts/database_inventory.py --source ~/.openclaw --out ./my-openclaw-storage.json
python3 scripts/secret_pattern_scan.py --path ./my-openclaw-audit.json --json
python3 scripts/secret_pattern_scan.py --path ./my-openclaw-storage.json --json
When installed as a Hermes skill, use it as the decision and safety playbook. For executable helper scripts, clone the public repository and run scripts from the clone so the user can inspect them before execution.
Safety Rules
Blocked without explicit approval:
- editing
.env, auth.json, OpenClaw config, or Hermes config.yaml;
- copying raw secrets or OAuth/session files;
- starting a Hermes gateway with an old Telegram bot token;
- stopping a live gateway;
- deleting old agents, sessions, memory, databases, or archives;
- publishing unscanned migration reports.
Default secrets policy:
- detect key names and source files;
- do not print values;
- show where each key should be entered locally;
- keep automatic secret migration as advanced mode only.
Supporting References
In the multi-file package, read:
references/start-here.md
references/copy-this-to-hermes-or-codex.md
references/keys-and-access-policy.md
references/human-migration-guide.md
references/migration-playbook.md
references/migration-checklist.md
references/database-and-memory-migration.md
references/reliability-and-safety-gates.md
Verification Checklist
1---2name: openclaw-to-hermes-migration-kit3description: Use when planning or executing a safety-first migration from an OpenClaw-style agent setup into Hermes Agent. Audits old agents, maps profiles, protects secrets, handles memory/skills/cron/messaging, and requires verification gates before cutover.4license: MIT5---67# OpenClaw to Hermes Migration Kit89## Overview1011This skill guides a controlled migration from an OpenClaw-style agent setup into Hermes Agent.1213The goal is not to copy everything blindly. The goal is to preserve useful agent behavior while protecting secrets, sessions, Telegram tokens, databases, memory boundaries, and rollback options.1415## When to Use1617Use this skill when the user wants to:1819- migrate OpenClaw agents to Hermes Agent;20- audit old roles, skills, memory, crons, tools, provider config, and messaging setup;21- prepare a subscriber/client migration kit;22- avoid duplicate Telegram polling during cutover;23- move agent knowledge without leaking private `.env`, auth/session files, or raw audit data.2425Do not use it for generic Hermes setup only; use the `hermes-agent` skill for that.2627## Default Workflow28291. Start with a read-only audit.302. Generate a storage/database inventory with metadata only.313. Run secret scans on every generated report before sharing.324. Build an agent-to-profile mapping.335. Re-enter secrets locally instead of pasting values into chat.346. Migrate one profile at a time.357. Verify model, skills, memory, tools, cron, messaging, and logs.368. Cut over Telegram only after the old token holder is stopped.379. Keep rollback artifacts until the new Hermes profile is proven stable.3839## Core Commands4041From a cloned repository:4243```bash44python3 scripts/openclaw_hermes_audit.py --source ~/.openclaw --out ./my-openclaw-audit.json --pretty45python3 scripts/database_inventory.py --source ~/.openclaw --out ./my-openclaw-storage.json46python3 scripts/secret_pattern_scan.py --path ./my-openclaw-audit.json --json47python3 scripts/secret_pattern_scan.py --path ./my-openclaw-storage.json --json48```4950When installed as a Hermes skill, use it as the decision and safety playbook. For executable helper scripts, clone the public repository and run scripts from the clone so the user can inspect them before execution.5152## Safety Rules5354Blocked without explicit approval:5556- editing `.env`, `auth.json`, OpenClaw config, or Hermes `config.yaml`;57- copying raw secrets or OAuth/session files;58- starting a Hermes gateway with an old Telegram bot token;59- stopping a live gateway;60- deleting old agents, sessions, memory, databases, or archives;61- publishing unscanned migration reports.6263Default secrets policy:6465- detect key names and source files;66- do not print values;67- show where each key should be entered locally;68- keep automatic secret migration as advanced mode only.6970## Supporting References7172In the multi-file package, read:7374- `references/start-here.md`75- `references/copy-this-to-hermes-or-codex.md`76- `references/keys-and-access-policy.md`77- `references/human-migration-guide.md`78- `references/migration-playbook.md`79- `references/migration-checklist.md`80- `references/database-and-memory-migration.md`81- `references/reliability-and-safety-gates.md`8283## Verification Checklist8485- [ ] Source OpenClaw root was audited read-only.86- [ ] Generated reports passed secret scan.87- [ ] Database inventory contains metadata/schema only, not rows.88- [ ] Old and new profile boundaries are explicit.89- [ ] No raw secrets were pasted into chat or committed.90- [ ] Telegram token holder was identified before cutover.91- [ ] Hermes profile was verified with a live smoke task.92- [ ] Rollback plan exists and was not deleted early.