coding-agents

Ramblurr's avatarfrom Ramblurr

Spawn and control external coding agents (Claude Code, Codex, OpenCode, Pi) for delegating tasks. Use when (1) user asks to run another coding agent, (2) delegating subtasks to a different AI tool, (3) running multiple agents in parallel on separate issues, (4) spawning an agent in an isolated environment or worktree, (5) user mentions "codex", "opencode", "pi agent", or running "another claude".

⭐0stars🔀1forks📁View on GitHub🕐Updated Jan 11, 2026⬇️1downloads

When & Why to Use This Skill

The Coding Agents skill enables the seamless orchestration and delegation of tasks to external AI coding tools like Claude Code, Codex, and OpenCode. It optimizes software development workflows by allowing for parallel task execution, isolated environment management via git worktrees, and sophisticated multi-agent collaboration.

Use Cases

  • Parallel Issue Resolution: Spawning multiple agents simultaneously across different git worktrees to fix several bugs or implement multiple features at once.
  • Specialized Task Delegation: Offloading specific subtasks to external tools like Codex or Pi Agent when they are better suited for a particular language or lightweight task.
  • Isolated Environment Testing: Running an agent in a temporary directory or isolated worktree to test experimental changes without affecting the main codebase.
  • Background Repository Analysis: Utilizing background mode for non-interactive tasks such as counting files, checking dependency versions, or performing simple code audits.
namecoding-agents
descriptionSpawn and control external coding agents (Claude Code, Codex, OpenCode, Pi) for delegating tasks. Use when (1) user asks to run another coding agent, (2) delegating subtasks to a different AI tool, (3) running multiple agents in parallel on separate issues, (4) spawning an agent in an isolated environment or worktree, (5) user mentions "codex", "opencode", "pi agent", or running "another claude".

Coding Agents

Orchestrate external coding agents programmatically. Use this when you want to delegate tasks to other AI coding tools.

Prefer interactive mode

Interactive sessions via tmux should be the default for most tasks. Background mode is only appropriate for the simplest tasks that require very few commands or edits (e.g., "count the files in src/", "what version of node is this project using?").

Why interactive is better:

  • You can observe progress and catch issues early
  • You can respond if the agent asks clarifying questions
  • You can interrupt if the agent goes off track
  • Agents often need multiple turns to complete real work
  • Debugging is much easier when you can see what happened

Use background mode only when:

  • The task is trivial (one or two simple commands)
  • You are confident the agent will complete without interaction
  • You are running many parallel tasks and cannot watch them all

Interactive mode requires the tmux Skill

For interactive sessions, you MUST use the tmux Skill. The tmux Skill contains:

  • "Orchestrating Claude Code sub-agents" recipe - the primary pattern for this use case
  • Socket conventions and session management
  • Sending input, monitoring output, cleanup

Read and follow the tmux Skill for all interactive agent orchestration.

For parallel work on multiple issues, use the git worktrees Skill to create isolated branches.

Available agents

Read the relevant reference file for the agent you need right now:

Each reference includes: invocation, key flags, and completion detection.

Rules

  1. Respect tool choice - if user asks for Codex, use Codex. Do not offer to do the task yourself.
  2. Be patient - do not kill sessions because they seem slow. Agents take time.
  3. Monitor without interfering - check progress but let the agent work.
  4. Use appropriate flags - permission-bypassing flags for unattended/background work only.
  5. Isolate work - use worktrees or temp directories to avoid conflicts with your current work.
  6. Clean up - kill sessions and remove worktrees when done, unless the user asked you not to.