skills/claude-handoff/SKILL.md
Orchestrate one to five Sonnet subagents to implement an approved Claude Code plan.
npx skillsauth add paulrberg/agent-skills claude-handoffInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Plan in Claude Code with the session's planning model, then hand the approved implementation to one to five Sonnet subagents in the sequence the task requires. Subagents run in-session through the Agent tool with the host session's permissions, so they can write anywhere the session can. Use this skill to reserve the expensive planning model for thinking, orchestration, and verification while cheaper Sonnet agents do the implementation.
Use $ARGUMENTS as the task when present; otherwise use the active user request.
Produce a decision-complete plan with this section:
## Claude Handoff
- Strategy: `<sequential|parallel|hybrid>`
- Agents: `<1-5>` — `<why this is the smallest effective count>`
- Validation owner: `<agent-id|claude>` — `<aggregate checks it runs once>`
| Agent | Wave | Depends on | Scope | Implementation brief | Completion evidence |
| ----- | ---- | ---------- | ------------------ | ------------------------------------------------------ | ----------------------------------- |
| `A1` | `1` | `none` | `<files/behavior>` | `<outcome, edits, constraints, and stopping criteria>` | `<commands and observable results>` |
- Code polish: `<required|not required>` — `<reason>`
Choose the execution shape from repository evidence and the approved work:
A wave finishes with its slowest agent. Keep every agent's scope focused and move deferrable validation to the validation owner.
The five-agent limit applies to the entire handoff, not each wave. Assign every agent a stable ID, exact dependencies, an implementation scope, and its own stopping criteria. If parallel work does not collectively prove the overall plan, reserve a later sequential agent for integration and aggregate validation.
Assign aggregate validation to exactly one owner per handoff: package-wide or repo-wide checks (full test suites, whole-package typecheck or lint, catalog-wide checks) run once — by the integration agent when one exists, otherwise by Claude during post-wave reconciliation. Every other agent's completion evidence must be the narrowest checks that prove its own edits: file-scoped lint, format, or typecheck plus targeted tests for the files it touched. Duplicate aggregate runs across a wave's agents are wasted wall-clock time, not extra assurance.
Every agent runs on the latest Sonnet model through the general-purpose subagent type; the Agent tool exposes no
per-agent effort or timeout controls, so balance a wave by decomposing scope, not by tuning configuration.
Require $code-polish for nonlocal invariants, concurrency or state machines, migrations or parsing, auth or security,
retry or error semantics, and public API or data-contract changes. File count alone is not a trigger.
Do not spawn subagents until the user approves the plan and Claude leaves Plan mode.
Launch each agent with the Agent tool: subagent_type: "general-purpose", model: "sonnet", and a description like
A1/3: <scope>. Start every agent in a parallel wave in the same message as parallel tool calls; start sequential
agents only after reconciling their dependencies. Claude Code renders subagent progress natively — do not build bespoke
progress dashboards, polling loops, or status tables around the calls.
Subagents receive none of the planning conversation. Build a self-contained, outcome-first prompt for each agent containing:
When an agent returns, treat its reported changed files as its authoritative post-pass scope. After every wave, reconcile all results with the plan manifest and the visible working tree without folding in unrelated concurrent changes. When Claude is the validation owner, run the assigned aggregate checks once during this reconciliation. Attribute aggregate-check failures before treating them as blockers: a failure confined to files outside every agent's scope is unrelated concurrent work — confirm the handoff's own files still pass and continue. Unexpected out-of-scope edits, overlap between agents in the same parallel wave, or an aggregate-check failure attributable to the handoff's changes are blockers; do not start their dependents or polish, and do not silently take over implementation.
$code-polish once with exactly that union and its default
simplify-then-review mode. Skip polish if any required agent failed; do not recompute or broaden scope.$commit from each additional repository after its work, validation, and any required
polish are complete. Scope each invocation to the files changed there, do not ask for separate confirmation, and do
not commit incomplete, blocked, unexpected, or out-of-scope changes. Push only when the user explicitly requested it.development
Use when creating or substantially redesigning web interfaces, landing pages, dashboards, components, or other frontend UI where visual direction and implementation quality matter. Produces subject-specific art direction, accessible responsive code, and rendered visual verification.
tools
Open the CoinGecko historical-data page for a coin/date in Chromium via Chrome DevTools MCP.
tools
Orchestrate one to five Codex CLI agents to implement an approved Claude Code plan.
tools
Preview or rename a GitHub upstream repo and matching local project folder, update origin, and preserve Codex CLI and Claude Code continuity references.