Delegate complex coding tasks to Codex, Claude Code, Pi, or OpenCode agents running in background processes with full file access.
npx clawhub@latest install coding-agentThe Coding Agent skill lets your AI orchestrator spawn and manage real coding agents — Codex, Claude Code, Pi, and OpenCode — as background processes in your actual project directories. Instead of hand-coding patches inline, it delegates feature building, PR reviews, refactoring, and iterative development to purpose-built coding agents, then monitors their progress and surfaces results. This is the right tool when the task requires file exploration, multi-step reasoning, or running in a focused codebase context.
npx clawhub@latest install coding-agentClick the Install button at the top of this page for one-click setup
~/clawd or the live OpenClaw workspace — agents must never be spawned in the orchestrator's own working directory.sessions_spawn with runtime:"acp" instead.Supports four distinct coding agents with correct invocation patterns for each. Codex and Pi require pty:true for interactive terminal behavior; Claude Code uses --print --permission-mode bypassPermissions for clean non-PTY execution.
Long-running tasks can be launched with background:true, which returns a sessionId. You can then poll status, stream logs, send stdin input, or kill the session using process tool actions — keeping the user informed without blocking.
Setting workdir ensures the agent wakes up in the correct project folder and doesn't wander into unrelated files. This is critical for PR reviews and parallel issue fixing.
Create isolated git worktrees per issue, launch a dedicated agent in each, monitor them concurrently, and push separate branches for PR creation — all without touching the main branch.
Append an openclaw system event command to the agent's prompt so the orchestrator receives an immediate wake event when the task finishes, instead of waiting for the next heartbeat poll.
Reviews are always performed in a temporary clone or git worktree — never in the live project folder — to prevent accidental branch checkouts or mutations to the active codebase.
Point a Codex or Claude Code agent at your project directory with workdir and a clear feature prompt. The agent explores the codebase, implements the feature across multiple files, and commits — while you monitor via process action:log.
Fetch all open PR refs, spin up one Codex process per PR in background mode, collect their reviews, and post results as GitHub comments via the gh CLI — all running in parallel.
Create a git worktree for each open issue, launch an agent in each worktree, monitor progress, then push branches and open PRs for human review — cutting fix time dramatically.
For quick one-shot prompts with no existing project, create a temp directory, run git init, and let Codex execute a self-contained task — then discard the directory when done.
npx clawhub@latest install coding-agentLog in to write a review
No reviews yet. Be the first to share your experience!