import

Migrates an existing OpenClaw agent workspace into a Claude Code project.

62|14|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/crisandrews/ClawCode --skill import-crisandrews
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: import
Source: https://github.com/crisandrews/ClawCode/tree/main/skills/import
Command: npx skills add https://github.com/crisandrews/ClawCode --skill import-crisandrews

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Moving an agent built on OpenClaw into Claude Code means manually copying identity files, memory logs, skills, and cron jobs while avoiding credential leaks and incompatible tool references. This Skill automates that migration end to end. ## Core Features & Use Cases - Workspace discovery and copy: Finds OpenClaw workspaces across multiple roots (including root-owned installs), copies bootstrap files (SOUL.md, IDENTITY.md, USER.md, AGENTS.md), and imports memory with a channel-content privacy guard that quarantines WhatsApp/Telegram-derived logs. - Interactive skills and crons migration: Classifies the source agent's skills and cron jobs as portable, adaptable, or incompatible, imports the selected ones, converts schedules, and registers crons in the local registry. - Post-import parity setup: Configures the memory backend (QMD or builtin), seeds default heartbeat and dreaming crons, writes an IMPORT_BACKLOG.md of skipped items, and logs the import event to memory. - Use Case: You ran an agent named Eva under OpenClaw as root and now run Claude Code as another user. Invoke the import flow to copy Eva's identity, memory, and portable skills, adapt her crons, and get a report of everything that needs manual porting. ## Quick Start Ask the agent to import your OpenClaw agent by saying "import agent eva from openclaw" and follow the interactive prompts.

Frequently Asked Questions about import

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I import an OpenClaw agent into Claude Code?

Trigger the import flow with /agent:import or a phrase like "import agent". The skill discovers OpenClaw workspaces, copies bootstrap and memory files, then interactively imports skills and crons with your approval at each step.

What files are copied when importing an OpenClaw agent?

The import copies SOUL.md, IDENTITY.md, USER.md, AGENTS.md, TOOLS.md, and HEARTBEAT.md, plus MEMORY.md and recent dated memory files if you approve. Files containing credentials, passwords, secrets, or .env in their names are never copied.

Can I import OpenClaw cron jobs into Claude Code?

Yes, enabled cron jobs from jobs.json are classified as portable, adaptable, or incompatible. Portable and adaptable jobs are converted to Claude Code crons via CronCreate and registered in the local registry; incompatible ones are recorded in IMPORT_BACKLOG.md.

What happens to OpenClaw skills that are not compatible?

Skills referencing OpenClaw-only tools like sessions_spawn, gateway config, or wacli are flagged red and skipped by default. Each skipped skill gets an entry in IMPORT_BACKLOG.md with the reason and recovery notes for manual porting.

Why are imported WhatsApp chat logs quarantined?

Daily memory logs containing channel markers like WhatsApp or Telegram would be misclassified as local provenance and bypass scope filtering. The import flags them and lets you quarantine, skip, or keep them with the risk acknowledged.

Does the import work when OpenClaw ran as root?

Yes, the discovery loop checks multiple roots including /root/.openclaw and $HOME/.openclaw, and the CLAWCODE_OPENCLAW_ROOT environment variable can point to non-standard locations. A final path sanity check warns about stale home-directory references.