Skip to content
Back to skills

Coding Agents

ASecurity

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".

  • 666 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added February 8, 2026
developmentgonodedebugginggit

Works with

  • claude code
  • cli

Security analysis

A100/100

Scanned February 10, 2026

npx -y skills add majiayu000/claude-skill-registry --skill coding-agents --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Coding Agents?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Coding Agents
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-coding-agents/badge)](https://www.skillsdirectory.com/skills/majiayu000-coding-agents)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: coding-agents
description: 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".
---

# 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:

- [references/claude-code.md](references/claude-code.md) - Anthropic's Claude Code CLI
- [references/codex.md](references/codex.md) - OpenAI's Codex CLI
- [references/opencode.md](references/opencode.md) - Open-source coding agent
- [references/pi.md](references/pi.md) - Lightweight multi-provider agent

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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.