migrate-openclaw

migrate-openclaw is a skill for Claude Code, Codex from clawsouls/clawsouls-claude-code-plugin. It costs 54 tokens per session (1,854 once invoked), scanned A, original, Apache-2.0.

A migration guide for moving an OpenClaw or SoulClaw workspace into a Claude Code project. It preserves compatible files so the workspace can continue working in both systems.

In plain words
What is it for?
Use it to find an OpenClaw workspace, classify its files, and copy or convert the relevant parts into a Claude Code project.
Why use it?
It removes the uncertainty and manual file sorting involved in changing coding-agent environments while reducing the risk of losing workspace settings and instructions.

Skill for Claude CodeCodex

Part of the clawsouls plugin — 5 skills, 6 commands, 1 agent, 4 hooks, 1 MCP server shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/clawsouls/clawsouls-claude-code-plugin/migrate-openclaw
Any agent
npx skills add clawsouls/clawsouls-claude-code-plugin --skill migrate-openclaw
Clone the repo
git clone --depth 1 https://github.com/clawsouls/clawsouls-claude-code-plugin

Made for: Claude Code, Codex.

Or install clawsouls, the plugin that ships this one along with the rest of its 5 skills, 6 commands, 1 agent, 4 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for migrate-openclaw

README.md
[![agentmods](https://agentmods.dev/badge/skills/clawsouls/clawsouls-claude-code-plugin/migrate-openclaw.svg)](https://agentmods.dev/skills/clawsouls/clawsouls-claude-code-plugin/migrate-openclaw)
Your own site
<a href="https://agentmods.dev/skills/clawsouls/clawsouls-claude-code-plugin/migrate-openclaw"><img src="https://agentmods.dev/badge/skills/clawsouls/clawsouls-claude-code-plugin/migrate-openclaw.svg" alt="Measured on agentmods" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,854 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00054 $0.01854
Opus 5 $0.00027 $0.00927
Sonnet 5 $0.00011 $0.00371
Haiku 4.5 $0.00005 $0.00185

Measured 4d ago against content hash 79bd3a8132dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

migrate-openclaw scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/migrate-openclaw/SKILL.md · 205 lines

How it starts

The opening of the file, as written. The whole thing — 205 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Migrate OpenClaw to Claude Code

Converts an OpenClaw workspace into a Claude Code project while preserving Soul Spec compatibility. Unlike a destructive migration, this keeps files portable — they work in both OpenClaw and Claude Code.

When to activate

  • User says "migrate openclaw", "switch from openclaw", "convert openclaw"
  • User provides an OpenClaw workspace path and wants to use Claude Code
  • User asks about moving from OpenClaw/SoulClaw to Claude Code

Phase 1: Detect Source

Search for OpenClaw workspace in this order. Stop at first match:

  1. Current directory — look for SOUL.md + AGENTS.md, openclaw.json, or .openclaw/
  2. Default location — check ~/.openclaw/workspace/
  3. GitHub URL — if user provides a repo URL, clone to temp dir first
  4. Ask — if nothing found, prompt user for path

Confirmation markers:

  • SOUL.md alongside AGENTS.md or USER.md
  • openclaw.json
  • .openclaw/ directory

Phase 2: Scan & Categorize

Read every file in the source. Categorize into three buckets:

MIGRATE — Becomes part of Claude Code project

Source File Destination Method
SOUL.md ./SOUL.md Copy as-is (project root, NOT renamed)
IDENTITY.md ./IDENTITY.md Copy as-is
USER.md ./USER.md Copy as-is
AGENTS.md ./AGENTS.md Copy, then clean (see Cleaning Rules)
MEMORY.md ./MEMORY.md Copy as-is
memory/*.md ./memory/ Copy all files
STYLE.md ./STYLE.md Copy if exists
TOOLS.md ./TOOLS.md Copy if exists, strip OpenClaw-specific tool configs
Custom skills (skills/*/SKILL.md) .claude/skills/*/SKILL.md Convert (see Skill Conversion)

ARCHIVE — Moved to _openclaw_archive/ (nothing lost)

  • openclaw.json (gateway config)
  • credentials/ (channel tokens)
  • agents/*/sessions/ (old transcripts)
  • devices/ (mobile node pairings)
  • logs/ (gateway logs)
  • .openclaw/ (internal state)
  • cron/ (scheduled jobs)
  • BOOTSTRAP.md (first-run ritual)
  • HEARTBEAT.md (periodic task config)
  • Channel config files (*-allowFrom.json)

Read the full file on GitHub · 205 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 205 lines · 54 tokens per session scan A 79bd3a8132dd

Subscribe to this mod's changes

migrate-openclaw is a skill published in the GitHub repository clawsouls/clawsouls-claude-code-plugin (2 stars, last pushed 24d ago), licensed Apache-2.0. It adds 54 tokens to every session and 1,854 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.