ClawCode: Migrate OpenClaw Agents to Claude Code as a Plugin

✍️ OpenClawRadar📅 Published: April 16, 2026🔗 Source
ClawCode: Migrate OpenClaw Agents to Claude Code as a Plugin
Ad

ClawCode is a plugin for Claude Code that migrates OpenClaw agents into Anthropic's official CLI, allowing them to run under existing Claude plans without paying additional API fees. The tool was created after the developer's OpenClaw bot was shut down on April 4th due to token restrictions, with alternatives proving too expensive or technically inferior.

Migration Process

The plugin performs a one-way migration from OpenClaw to Claude Code. It reads from ~/.openclaw/workspace/ and imports:

  • IDENTITY and SOUL files
  • Memory data
  • Skills (44 in the developer's case)
  • Cron jobs

During import, ClawCode rewrites or skips OpenClaw-specific components that don't map to Claude Code, including gateway functions, sessions_spawn, and HEARTBEAT_OK checks to prevent silent failures. The developer reported the import took about 15 minutes, with most skills coming over successfully, 6 requiring path edits, and 2 being dropped due to gateway dependencies.

Ad

Core Features

  • Memory System: SQLite with FTS5 search, supporting bilingual recall (Spanish ↔ English cross-language)
  • Dream Process: Nightly three-phase system (Light, REM, Deep) that promotes important memories to long-term storage
  • Messaging Plugins: Separate MCP servers for WhatsApp, Telegram, Discord, iMessage, and Slack
  • WebChat UI: Optional interface alongside CLI
  • Agent Management: /agent:doctor command for system checks, /agent:import for migration
  • Automation: Slash commands, hooks, and reminders

Technical Details

ClawCode runs under Claude Code's normal Plan usage and Terms of Service. Requirements include Node 18+ and macOS/Linux. The repository is available at github.com/crisandrews/ClawCode under MIT license. The developer emphasizes this is not affiliated with or endorsed by Anthropic.

Important Notes

  • /agent:import is opinionated about which OpenClaw patterns it rewrites versus skips
  • Check IMPORT_BACKLOG.md after import for items not migrated
  • Crons only execute while Claude Code is open unless you run /agent:service install for launchd/systemd integration

📖 Read the full source: r/openclaw

Ad

👀 See Also

Claude Growth Skill: Structured B2B SaaS Growth Playbooks for AI Coding Agents
Tools

Claude Growth Skill: Structured B2B SaaS Growth Playbooks for AI Coding Agents

A developer built a Claude Growth Skill containing 6 battle-tested playbooks based on 5 SaaS case studies, $90M ARR partnerships, and 1,800 user interviews. It structures B2B SaaS growth work from PMF validation to channel ecosystem and sales.

OpenClawRadar
Event Horizon VS Code Extension Adds File Locking and Plan Coordination for Multiple AI Agents
Tools

Event Horizon VS Code Extension Adds File Locking and Plan Coordination for Multiple AI Agents

Event Horizon, a VS Code extension originally created for visualizing Claude Code, now includes file locking and plan coordination features to prevent multiple AI agents from overwriting each other's work on the same codebase. The tool supports Claude Code, OpenCode, and Copilot with one-click setup.

OpenClawRadar
Hippo v0.21.0: Biologically-Inspired Memory for AI Agents with Multi-Tool Support
Tools

Hippo v0.21.0: Biologically-Inspired Memory for AI Agents with Multi-Tool Support

Hippo v0.21.0 introduces one-command setup for multiple AI coding tools including Claude Code, OpenCode, OpenClaw, Codex, Cursor, and Pi. The memory system features decay, retrieval strengthening, and consolidation with zero runtime dependencies.

OpenClawRadar
Jake Benchmark v1: Local LLM Performance Testing for OpenClaw AI Agents
Tools

Jake Benchmark v1: Local LLM Performance Testing for OpenClaw AI Agents

A developer tested 7 local LLMs as AI agents with OpenClaw using 22 practical tasks including email processing, meeting scheduling, and phishing detection. Results ranged from 59.4% for Qwen 27B to 1.6% for Nemotron 30B, with detailed conversation logs available.

OpenClawRadar