MyClaw
HomeProductsUse CasesPricingSkillsResourcesCompany
HomeUse CasesPricingSkills
Sign In
Home
ProductsOpenClaw HostingHermes Agent Hosting
Use CasesPricingSkills
ResourcesCompareTutorialLearnBlogUpdatesResourcesCommunity
CompanyAboutSupport
Sign In
MyClaw.ai

Your AI agent, already running.

Product

OpenClaw HostingHermes Agent HostingUse CasesPricingCompareAlibaba Cloud

Resources

BlogUpdatesSkillsModelsSupportCommunityCapybara

Legal

TermsPrivacyCookieGDPRContact

© 2023 Cubo World Inc. All rights reserved.

← Back to Skills
Coding Agents & IDEs
🧩

coding-agent

Delegate complex coding tasks to Codex, Claude Code, Pi, or OpenCode agents running in background processes with full file access.

by OpenClawv1.0.0
ProductivityAI PoweredOpen SourceAutomationCLIDeveloper Tool
Connecting to VM...
Connecting to VM...
npx clawhub@latest install coding-agent
161Current Installs
📦
v1.0.0Version

coding-agent Skill Overview

The 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.

How to Use It

Step 1: Run in your terminal or install this skill on MyClaw

npx clawhub@latest install coding-agent
or

Click the Install button at the top of this page for one-click setup

When to Use coding-agent

Best Fit

  • Building or creating new features and apps — let a coding agent explore the codebase and implement end-to-end, rather than patching inline.
  • Reviewing pull requests — spawn an agent in a temporary clone or git worktree so it can diff, analyze, and summarize changes safely.
  • Refactoring large codebases — multi-file changes that require context across many files benefit from an agent that can traverse the project tree.
  • Parallel issue fixing — use git worktrees to run multiple agents simultaneously, one per issue, then create PRs from each branch.

When Not to Use

  • Simple one-liner fixes — if the change is obvious and localized, just edit the file directly; spawning an agent adds unnecessary overhead.
  • Read-only code exploration — use a read/grep tool to inspect code rather than spinning up a full coding agent.
  • Work inside ~/clawd or the live OpenClaw workspace — agents must never be spawned in the orchestrator's own working directory.
  • Thread-bound ACP harness requests — if you need to spawn or run Codex/Claude Code inside a Discord thread or similar ACP context, use sessions_spawn with runtime:"acp" instead.

Key Features

Multi-agent support: Codex, Claude Code, Pi, OpenCode

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.

Background execution with session monitoring

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.

workdir scoping for focused agent context

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.

Parallel issue fixing via git worktrees

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.

Auto-notify on completion

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.

Safe PR review workflow

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.

Use Cases

Feature development in a real project

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.

Batch PR review with parallel agents

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.

Parallel bug fixing across multiple issues

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.

Scratch prototyping with a temporary repo

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.

Connecting to VM...
npx clawhub@latest install coding-agent
161Current Installs
📦
v1.0.0Version

FAQ

Reviews

0 reviews

Log in to write a review

No reviews yet. Be the first to share your experience!