Openclaw Skill Claude Code Setup
Description
OpenClaw skill:一键配置 Claude Code 双向集成 / One-command setup for Claude Code ↔ OpenClaw integration
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
setup-claude-code
OpenClaw skill — one-command setup for Claude Code ↔ OpenClaw two-way integration.
What It Does
Once triggered in OpenClaw, it automatically completes all configuration without any manual file editing:
- Generates a dedicated hook token
- Creates
~/.claude/hooks/session-end.js(called back to OpenClaw when a Claude session ends) - Updates
~/.claude/settings.json(registers SessionEnd hook, writes token, enables bypassPermissions) - Updates
~/.openclaw/openclaw.json(configures hooks receiver, acp launcher, agents.list) - Installs the acpx plugin
After setup, OpenClaw can:
- Actively launch Claude Code to execute tasks (via acpx)
- Receive structured callback events when a Claude Code session ends
- Automatically extract Claude Code's last reply as a task summary and relay it to the user via the main agent
Installation
Option 1: Clone and add to extraDirs (Recommended)
git clone https://github.com//setup-claude-code ~/.openclaw/skills/setup-claude-code
Add the path to `skills.load.extraDirs` in `~/.openclaw/openclaw.json`:
"skills": {
"load": {
"extraDirs": [
"/path/to/existing/skills",
"/Users//.openclaw/skills"
]
}
}
Then restart OpenClaw Gateway.
Option 2: Manual placement
Copy `SKILL.md` from this repo into any directory, then add that directory to `skills.load.extraDirs`.
Usage
After installation, say the following in an OpenClaw conversation:
setup claude code
or:
configure claude code integration
The skill will automatically execute all steps and output a result summary.
Prerequisites
- OpenClaw installed and running
- Node.js available (required to run the session-end.js hook script)
- Claude Code CLI installed
Architecture
OpenClaw main agent
|
| launch claude-code agent (via acpx)
v
Claude Code executes task
|
| SessionEnd hook fires
v
session-end.js
|
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11