Skip to content
MCP Servers
Skill

/openclaw-migration

Import an OpenClaw setup (memories, skills) into Hermes.

From plugin
hermes-official-plugins
73916 skills

Claude Code

$ npx -y skills add NousResearch/hermes-official-plugins --skill openclaw-migration --agent claude-code

SKILL.md

openclaw-migration.SKILL.md
name: openclaw-migration
description: Import an OpenClaw setup (memories, skills) into Hermes.
version: 1.0.0
author: Hermes Agent (Nous Research)
license: MIT
platforms: [linux, macos, windows]
metadata:
  hermes:
    tags: [Migration, OpenClaw, Hermes, Memory, Persona, Import]
    related_skills: [hermes-agent]

OpenClaw -> Hermes Migration

Use this skill when a user wants to move their OpenClaw setup into Hermes Agent with minimal manual cleanup.

CLI Command

For a quick, non-interactive migration, use the CLI command the agent-importers plugin provides:

hermes import-agent openclaw              # Full interactive migration
hermes import-agent openclaw --dry-run    # Preview what would be migrated
hermes import-agent openclaw --preset user-data   # Migrate without secrets
hermes import-agent openclaw --overwrite  # Overwrite existing conflicts
hermes import-agent openclaw --source /custom/path/.openclaw  # Custom source

The older spelling `hermes claw migrate` (same flags) still works, and `hermes claw cleanup` archives the leftover OpenClaw directory afterwards. The CLI command runs the same migration script described below. Use this skill (via the agent) when you want an interactive, guided migration with dry-run previews and per-item conflict resolution.

**First-time setup:** `hermes setup` offers to import from another agent (OpenClaw, Claude Code, Codex CLI, Cursor).

What this skill does

It uses `scripts/openclaw_to_hermes.py` to:

  • import `SOUL.md` into the Hermes home directory as `SOUL.md`
  • transform OpenClaw `MEMORY.md` and `USER.md` into Hermes memory entries
  • merge OpenClaw command approval patterns into Hermes `command_allowlist`
  • migrate Hermes-compatible messaging settings such as `TELEGRAM_ALLOWED_USERS`, and map OpenClaw's workspace folder to Hermes' `terminal.cwd` in `config.yaml`
  • copy OpenClaw skills into `~/.hermes/skills/openclaw-imports/`
  • optionally copy the OpenClaw workspace instructions file into 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

Path resolution

The helper script lives next to this `SKILL.md`, inside the agent-importers plugin:

  • `scripts/openclaw_to_hermes.py` (relative to this skill's directory)

This skill ships with the plugin; it is not copied into the Hermes skills directory, so do not look for it there.

Before running the helper:

1. Resolve the script relative to the absolute path of this `SKILL.md` (the directory `skill_view` reports for it), and call it by that absolute path. 2. Only use `find` as a fallback if that path is missing (for example, the plugin was moved manually). 3. When calling the terminal tool, do not pass `workdir: "~"`. Use an absolute directory such as the user's home directory, or omit `workdir` entirely.

With `--migrate-secrets`, it will also import a small allowlisted set of Hermes-compatible secrets, currently:

  • `TELEGRAM_BOT_TOKEN`

Default workflow

1. Inspect first with a dry run. 2. Present a simple summary of what can be migrated, what cannot be migrated, and what would be archived. 3. If the `clarify` tool is available, use it for user decisions instead of asking for a free-form prose reply. 4. If the dry run finds imported skill directory conflicts, ask how those should be handled before executing. 5. Ask the user to choose between the two supported migration modes before executing. 6. Ask for a target workspace path only if the user wants the workspace instructions file brought over. 7. Execute the migration with the matching preset and flags. 8. Summarize the results, especially:

  • what was migrated
  • what was archived for manual review
  • what was skipped and why

User interaction protocol

Hermes CLI supports the `clarify` tool for interactive prompts, but it is limited to:

  • one choice at a time
  • up to 4 predefined choices
  • an automatic `Other` free-text option

It does **not** support true multi-select checkboxes in a single prompt.

For every `clarify` call:

  • always include a non-empty `question`
  • include `choices` only for real selectable prompts
  • keep `choices` to 2-4 plain string options
  • never emit placeholder or truncated options such as `...`
  • never pad or stylize choices with extra whitespace
  • never include fake form fields in the question such as `enter directory here`, blank lines to fill in, or underscores like `_____`
  • for open-ended path questions, ask only the plain sentence; the user types in the normal CLI prompt below the panel

If a `clarify` call returns an error, inspect the error text, correct the payload, and retry once with a valid `questions` array and clean choices.

When `clarify` is available and the dry run reveals any required user decision, your **next action must be a `clarify` tool call**. Do not end the turn with a normal assistant message such as:

  • "Let me present the choices"
  • "What would you like to do?"
  • "Here are the options"

If a user decision is required, collect it via `clarify` before producing more prose. If multiple unresolved decisions remain, do not insert an explanatory assistant message between them. After one `clarify` response is received, your next action should usually be the next required `clarify` call.

Treat `workspace-agents` as an unresolved decision whenever the dry run reports:

  • `kind="workspace-agents"`
  • `status="skipped"`
  • reason containing `No workspace target was provided`

In that case, you must ask about workspace instructions before execution. Do not silently treat that as a decision to skip.

Because of that limitation, use this simplified decision flow:

1. For `SOUL.md` conflicts, use `clarify` with choices such as:

  • `keep existing`
  • `overwrite with backup`
  • `review first`

2. If the dry run shows one or more `kind=

Read more
@nousresearch
Ships withhermes-official-plugins

☤ The official plugins for Hermes Agent, built and maintained by Nous Research: Home Assistant, Spotify, Claude Subscription DirectSDK and more, one install away from the Hermes plugin catalog.

Stars on GitHub

Momentum

stars in total
739
Star history of NousResearch/hermes-official-plugins on GitHub, a chart by star-history.com

Other skills on hermes-official-plugins.

More skills from other plugins.

gitnexus-cli

gitnexus-cli

Use when the user needs to run GitNexus CLI commands like analyze/index a repo, check status, clean the index, generate a wiki,…

@abhigyanpatwari@abhigyanpatwariInstall Skill
fastmcp-client-cli

fastmcp-client-cli

Query and invoke tools on MCP servers using fastmcp list and fastmcp call. Use when you need to discover what tools a server…

fastmcp3d29k
@prefecthq@prefecthqInstall Skill
n8n-agents

n8n-agents

Design n8n AI agents the right way. Use when building or editing any @n8n/n8n-nodes-langchain.* AI node — an AI Agent, LLM chain,…

n8n-mcp3d23k
@czlonkowski@czlonkowskiInstall Skill
post-to-xhs

post-to-xhs

小红书内容发布技能。支持两种发布模式:(1) 上传图文模式 - 图片+短文;(2) 写长文模式 - 长篇文章+排版模板。 支持两种输入方式:用户提供完整内容和图片/图片URL,直接发布;或提供网页URL,自动提取内容和图片。…

@xpzouying@xpzouyingInstall Skill

Questions about openclaw-migration.

Which coding agents can use openclaw-migration?
openclaw-migration installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.