coding-agent

Run Codex CLI, Claude Code, OpenCode, or Pi coding agents via background bash processes with PTY support.

Updated Feb 16, 2026
One-click install
npx skills add https://github.com/travis-burmaster/agentbox --skill coding-agent-travis-burmaster
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-agent
Source: https://github.com/travis-burmaster/agentbox/tree/main/agentfork/skills/coding-agent
Command: npx skills add https://github.com/travis-burmaster/agentbox --skill coding-agent-travis-burmaster

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Running interactive coding agent CLIs (Codex, Claude Code, OpenCode, Pi) programmatically is error-prone: they need pseudo-terminals, git repositories, and careful session management. This Skill provides a proven bash-first pattern for launching, monitoring, and controlling these agents in background sessions without broken output or hangs. ## Core Features & Use Cases - PTY-based execution: Run any coding agent CLI with pty:true so interactive terminal apps render correctly and never hang. - Background session control: Start agents with background:true, then poll, read logs, send input, or kill sessions via the process tool. - Parallel workflows: Use git worktrees to run multiple agents simultaneously for batch PR reviews or parallel issue fixing. - Use Case: You need to review 10 open PRs. Launch one Codex process per PR in background mode, monitor them all with process action:list, then post the review results back to GitHub with gh pr comment. ## Quick Start Ask the agent to run Codex in your project directory with PTY enabled, for example: start a background Codex session in ~/project to build a snake game and notify me when it finishes.

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 programmatically?

Run Codex with bash using background:true and pty:true, which returns a sessionId for tracking. Then use the process tool actions (log, poll, write, submit, kill) to monitor progress and send input without blocking.

Why does Codex CLI hang or produce broken output when scripted?

Codex is an interactive terminal application that requires a pseudo-terminal. Without pty:true, output loses formatting or the agent hangs. Always allocate a PTY when running coding agent CLIs from scripts or automation.

Why does Codex refuse to run in my directory?

Codex only runs inside a trusted git repository. For scratch work, create a temp directory and run git init first, or set workdir to an existing git project before launching the agent.

How do I review multiple GitHub PRs in parallel with coding agents?

Fetch all PR refs, then launch one background Codex process per PR with pty:true, each reviewing a specific diff. Monitor all sessions with process action:list and post results back using gh pr comment.

What is the difference between Codex --full-auto and --yolo flags?

--full-auto runs sandboxed but auto-approves changes within the workspace, suitable for building features. --yolo removes both the sandbox and approvals entirely, making it the fastest but most dangerous option.

Can I use git worktrees to fix multiple issues at once?

Yes. Create a separate worktree and branch per issue, launch a background coding agent in each worktree, then push branches and open PRs when done. Remove the worktrees afterward to clean up.