dorjenorbulim/merlionclaw/claude-to-openclaw
Claude Code and agent skill by dorjenorbulim/merlionclaw
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install dorjenorbulim/merlionclaw/claude-to-openclawSKILL.md
The same SKILL.md was published earlier as dorjenorbulim/merlionclaw/claude-to-openclaw.
Claude Code ↔ OpenClaw Integration
Send tasks from Claude Code to OpenClaw via session messaging
Overview
This skill enables bidirectional communication between Claude Code (Anthropic's CLI agent) and OpenClaw. Use it to:
- Send research tasks to OpenClaw from Claude Code
- Get responses back to your terminal
- Leverage OpenClaw's sub-agent orchestration for complex tasks
- Access OpenClaw's memory, skills, and tools from Claude Code
Architecture: Uses OpenClaw's sessions_send tool to communicate between Claude Code and OpenClaw sessions.
Prerequisites
- Claude Code installed:
``bash npm install -g @anthropic-ai/claude-code ``
- OpenClaw running:
``bash openclaw start ``
- Both authenticated:
- Claude Code:
claude(follow OAuth flow) - OpenClaw: Already configured
Installation
Option 1: Install as Claude Code Skill
Option 2: Manual Setup
Copy this skill folder to your Claude Code skills directory:
Usage
Basic Commands
Once installed, use /claude-to-openclaw in Claude Code:
Available Commands
| Command | Description | |
|---|---|---|
/claude-to-openclaw send <message> | Send task to OpenClaw main session | |
/claude-to-openclaw status | Check if OpenClaw is accessible | |
/claude-to-openclaw help | Show help |
Examples
Example 1: Send Research Task
Output:
Example 2: Check Status
Output:
Example 3: List Models
Output:
Example 4: Upload File for Analysis
Output:
Environment Variables
Configure via .env or export in shell:
Advanced Usage
Streaming Responses
Enable real-time streaming:
Specify Model
Create New Thread
Attach Files
Set Execution Mode
Integration Patterns
Pattern 1: Claude Code as Frontend, OpenClaw as Backend
Use Claude Code for quick tasks, delegate complex research to OpenClaw:
Pattern 2: Parallel Research
Spawn multiple OpenClaw sub-agents from Claude Code:
Pattern 3: File Processing Pipeline
API Reference
HTTP Endpoints
If you prefer direct API calls:
| Endpoint | Method | Description | |
|---|---|---|---|
/api/chat | POST | Send message, get response | |
/api/threads | GET | List threads | |
/api/threads/:id | GET | Get thread history | |
/api/threads/:id | DELETE | Delete thread | |
/api/models | GET | List models | |
/api/skills | GET | List skills | |
/api/files/upload | POST | Upload file |
Example: Direct API Call
Troubleshooting
OpenClaw Not Running
Connection Refused
Authentication Issues
Timeout Errors
Best Practices
1. Use Right Tool for the Job
Claude Code for:
- Quick Q&A
- Code editing in current directory
- Simple file operations
- Immediate feedback tasks
OpenClaw for:
- Long-running research
- Multi-agent orchestration
- Complex workflows
- Tasks requiring memory/persistence
- Email/calendar integration
2. Thread Management
- Create dedicated threads for projects
- Clean up old threads periodically
- Use descriptive thread names
3. File Handling
- Upload large files before sending messages
- Reference file IDs in messages
- Clean up uploaded files when done
4. Error Handling
- Check OpenClaw status before sending
- Use
--asyncfor very long tasks - Monitor thread status for progress
Comparison: Claude Code vs OpenClaw
| Feature | Claude Code | OpenClaw | |
|---|---|---|---|
| Primary Use | Code editing, quick tasks | Long-horizon agent orchestration | |
| Models | Claude models only | Any Ollama/compatible model | |
| Memory | Session-only | Persistent across sessions | |
| Sub-Agents | Limited | Full orchestration | |
| Channels | Terminal only | Telegram, WhatsApp, etc. | |
| Skills | Claude skills | OpenClaw skills + custom | |
| Best For | Immediate coding tasks | Research, content, workflows |
Version History
- v1.0 (March 2026) — Initial release
- Basic send/receive functionality
- Thread management
- File upload support
- Model selection
License: MIT Author: OpenClaw Community Compatibility: Claude Code 1.0+, OpenClaw 2026.3+
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/claude-to-openclaw/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dorjenorbulim/merlionclaw/claude-to-openclaw)