claude-delegate
Give Claude back to OpenClaw through a local Claude Code delegation lane with dispatch, poll, result, resume, and an optional non-root bypassPermissions runner. Use when: you want Claude subscription access available to OpenClaw agents through a stable local worker lane, need resume/monitoring in a bounded workspace, or need Claude auth separate from OpenClaw providers. Don't use when: the user explicitly wants an ACP chat harness or thread, use acp-router plus sessions_spawn(runtime: "acp"); the task is a simple edit or shell command, use edit/exec directly; or the local Claude runner is not set up yet, read references/setup.md first.
- License 许可
- MIT
- 最近更新
- 2026-06-10
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- claude-delegate
- description
- Give Claude back to OpenClaw through a local Claude Code delegation lane with dispatch, poll, result, resume, and an optional non-root bypassPermissions runner. Use when: you want Claude subscription access available to OpenClaw agents through a stable local worker lane, need resume/monitoring in a bounded workspace, or need Claude auth separate from OpenClaw providers. Don't use when: the user explicitly wants an ACP chat harness or thread, use acp-router plus sessions_spawn(runtime: "acp"); the task is a simple edit or shell command, use edit/exec directly; or the local Claude runner is not set up yet, read references/setup.md first.
03 SKILL.md 正文
Claude Delegate
Give Claude back to OpenClaw.
Use this skill when Claude Code should run as a local delegated worker, not as an ACP chat harness.
The whole point is simple: third-party harnesses do not reliably get Claude subscription access, but OpenClaw operators still want Claude-quality work inside their agent system.
Stable entrypoints
- Wrapper:
scripts/claude-delegate.sh - Profile wrapper:
scripts/cc-profile.sh - Orchestrator:
scripts/cc-orchestrator.sh - Low-level runner:
scripts/run-task.sh
Default flow
- Read
references/setup.mdthe first time you install or port this skill. - Configure
profiles.json, or pointCLAUDE_DELEGATE_PROFILESat a host-local profiles file. - Keep local delegate instructions in the nearest
CLAUDE.delegate.mdfiles. The wrapper now tells Claude to discover/read those plus nearbyAGENTS.md,TOOLS.md, andREADME.mddocs before substantive work. - Dispatch work through
scripts/claude-delegate.sh dispatch <profile> <budget> <model> <label> "<task>". - Monitor with
poll,result,list, ordoctor. - Use
resumeto continue the same Claude session instead of starting over.
When to prefer this over ACP
Prefer this skill when you want:
- a boring local wrapper around Claude CLI
- a non-root runner user with synced auth/binary state
- bounded filesystem access through a chosen workdir
- cheap monitoring and resume without a chat-thread harness
Prefer ACP when the user explicitly asked for Claude Code as a chat/thread runtime.
Files to load when needed
- Setup, auth, env knobs, and profile customization:
references/setup.md - Delegate bootstrap guidance for this repo:
CLAUDE.delegate.md
Notes
scripts/cc-profile.shsupportsCLAUDE_DELEGATE_PROFILES=/abs/path/to/profiles.json.- Profile paths support
~and environment variable expansion. scripts/ensure-nonroot-delegation.shsupports env overrides for source paths if your Claude or acpx installs live somewhere else.- Delegate bootstrap is on by default. Disable with
CLAUDE_DELEGATE_BOOTSTRAP=0or change the instruction filename withCLAUDE_DELEGATE_DOC_BASENAME.
04 同仓库更多 Skills
youtube-content
YouTube transcripts to summaries, threads, blogs.
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
touchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
test-driven-development
TDD: enforce RED-GREEN-REFACTOR, tests before code.
teams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.