coding-agent

Delegates coding tasks to Codex, Claude Code, Pi, or OpenCode agents via background bash processes.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/srgaba/open-claw --skill coding-agent-srgaba
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-agent
Source: https://github.com/srgaba/open-claw/tree/main/project/skills/coding-agent
Command: npx skills add https://github.com/srgaba/open-claw --skill coding-agent-srgaba

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @anthropic-ai/claude-code, @openai/codex.

What problem does it solve? Running AI coding agents like Codex or Claude Code requires correct terminal setup, working directories, and process monitoring. This Skill provides the exact invocation patterns, PTY requirements, and background session management needed to delegate coding work reliably without hangs or broken output. ## Core Features & Use Cases - Multi-Agent Delegation: Run Codex, Claude Code, OpenCode, or Pi with the correct flags and PTY settings for each CLI. - Background Process Management: Spawn agents in background sessions and monitor, send input, or kill them via process actions. - Parallel Workflows: Review multiple PRs or fix multiple issues concurrently using git worktrees and parallel agent sessions. - Use Case: You need to fix three GitHub issues at once. Create a git worktree per issue, launch a background Codex agent in each, monitor progress with process logs, then push branches and open PRs. ## Quick Start Ask the agent to build a feature in your project directory using Codex in the background, for example: run codex exec with --full-auto in ~/project to add a dark mode toggle and notify me when done.

Frequently Asked Questions about coding-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run Codex CLI in the background for a coding task?

Run Codex with bash using pty:true, workdir set to your project, and background:true, for example codex exec --full-auto 'your task'. This returns a sessionId you can monitor with process log and poll actions.

How do I review a GitHub PR with Codex safely?

Clone the repo to a temp directory or use git worktree, check out the PR with gh pr checkout, then run codex review --base origin/main with pty:true. Never review PRs inside the live OpenClaw project folder.

What is the difference between running Claude Code and Codex in a terminal?

Claude Code should run without PTY using --print --permission-mode bypassPermissions, since PTY with --dangerously-skip-permissions can exit at the confirmation dialog. Codex, Pi, and OpenCode require pty:true because they are interactive terminal apps.

Why does Codex fail when run outside a git repository?

Codex refuses to run outside a trusted git directory. For scratch work, create a temp folder with mktemp -d, run git init inside it, and then execute your Codex command.

How do I fix multiple GitHub issues in parallel with coding agents?

Create a git worktree per issue with git worktree add, then launch a background Codex agent in each worktree with pty:true. Monitor all sessions with process list and log, then push branches and open PRs with gh.

When should I not use a coding agent for a task?

Skip agent delegation for simple one-line fixes you can edit directly, for reading code where the read tool suffices, and for thread-bound ACP harness requests in chat. Also never spawn agents in the ~/clawd workspace.