coding-agent

by Unknown v1.0.0

Delegate coding tasks to Codex, Claude Code, or Pi agents via background process. Use when: (1) building/creating new features or apps, (2) reviewing PRs (spawn in temp dir), (3) refactoring large codebases, (4) iterative coding that needs file exploration. NOT for: simple one-liner fixes (just edit), reading code (use read tool), or any work in ~/clawd workspace (never spawn agents here). Requires a bash tool that supports pty:true.

What It Does

Allows you to run coding agents (Codex, Claude Code, OpenCode, Pi) in the background for automated coding tasks, monitor their progress, send input, and manage their lifecycle.

When To Use

Use this skill for automated code generation, refactoring, pull request reviews, parallel issue fixing, and any scenario where you need programmatic control over a coding agent.

Inputs

The skill expects a shell command to execute a coding agent, along with optional parameters like working directory, background mode, timeout, and elevated privileges. It also accepts actions for managing background sessions, such as listing, polling, logging, writing, submitting, sending keys, pasting, and killing sessions.

Outputs

The skill returns the output of the coding agent, including any generated code, review comments, or status updates. For background sessions, it returns a session ID that can be used to monitor and control the process.

Limitations

The skill requires a pseudo-terminal (PTY) for proper operation of interactive coding agents. Some coding agents may have specific requirements, such as the need for a Git repository. Running agents in elevated mode may pose security risks and should be done with caution.

Installation

1. Install the required coding agent CLI tools (e.g., Codex, Claude CLI, OpenCode CLI, Pi Coding Agent).
2. Configure the necessary API keys and settings for each tool.
3. Ensure the tools are accessible via your system's PATH environment variable.
4. Test the tools to verify they are working correctly before using them with the Coding Agent skill.

View Claude (Anthropic) documentation

Have a Skill to Share?

Join the community and help AI agents learn new capabilities. Submit your skill and reach thousands of developers.