Skip to content

从 OpenClaw 迁移

本文档的完整中文翻译正在进行中。

概述

从 OpenClaw 迁移到 Hermes。

快速开始

bash
hermes help
hermes config
hermes skills

相关链接

获取帮助

如需帮助,请运行 hermes doctor 或访问 GitHub Issues


原文档内容:

Migrate from OpenClaw

hermes claw migrate imports your OpenClaw (or legacy Clawdbot/Moldbot) setup into Hermes. This guide covers exactly what gets migrated, the config key mappings, and what to verify after migration.

Quick start

bash
# Preview then migrate (always shows a preview first, then asks to confirm)
hermes claw migrate

# Preview only, no changes
hermes claw migrate --dry-run

# Full migration including API keys, skip confirmation
hermes claw migrate --preset full --yes

The migration always shows a full preview of what will be imported before making any changes. Review the list, then confirm to proceed.

Reads from ~/.openclaw/ by default. Legacy ~/.clawdbot/ or ~/.moltbot/ directories are detected automatically. Same for legacy config filenames (clawdbot.json, moltbot.json).

Options

OptionDescription
--dry-runPreview only — stop after showing what would be migrated.
--preset <name>full (default, includes secrets) or user-data (excludes API keys).
--overwriteOverwrite existing Hermes files on conflicts (default: skip).
--migrate-secretsInclude API keys (on by default with --preset full).
--source <path>Custom OpenClaw directory.
--workspace-target <path>Where to place AGENTS.md.
--skill-conflict <mode>skip (default), overwrite, or rename.
--yesSkip the confirmation prompt after preview.

What gets migrated

Persona, memory, and instructions

WhatOpenClaw sourceHermes destinationNotes
Personaworkspace/SOUL.md~/.hermes/SOUL.mdDirect copy
Workspace instructionsworkspace/AGENTS.mdAGENTS.md in --workspace-targetRequires --workspace-target flag
Long-term memoryworkspace/MEMORY.md~/.hermes/memories/MEMORY.mdParsed into entries, merged with existing, deduped. Uses § delimiter.
User ...

[完整翻译即将推出]