skills/paseo-handoff/SKILL.md
Hand off the current task to another agent with full context. Use when the user says "handoff", "hand off", "hand this to", or wants to pass work to another agent (Codex or Claude).
npx skillsauth add getpaseo/paseo paseo-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.
You are handing off the current task to another agent. Your job is to write a comprehensive handoff prompt and launch the agent via Paseo CLI.
User's arguments: $ARGUMENTS
Load the Paseo skill first — it contains the CLI reference for all agent commands.
A handoff transfers your current task — including all context, decisions, failed attempts, and constraints — to a fresh agent that will carry it to completion. The handoff prompt is the most important part: the receiving agent starts with zero context, so everything it needs must be in the prompt.
Parse $ARGUMENTS to determine:
| User says | --provider | Mode |
|---|---|---|
| (nothing) | codex/gpt-5.4 | full-access |
| codex | codex/gpt-5.4 | full-access |
| claude | claude/opus | bypass |
| opus | claude/opus | bypass |
| sonnet | claude/sonnet | bypass |
Default is Codex with gpt-5.4.
If the user says "in a worktree" or "worktree", add --worktree with a short descriptive branch name derived from the task. Worktrees require a --base branch — use the current branch in the working directory (run git branch --show-current to get it).
This is the critical step. The receiving agent has zero context about your conversation. The handoff prompt must be a self-contained briefing document.
## Task
[Clear, imperative description of what to do]
## Context
[Why this task exists, background the agent needs]
## Relevant Files
- `path/to/file.ts` — [what it does and why it matters]
- `path/to/other.ts` — [what it does and why it matters]
## Current State
[What's been done, what works, what doesn't]
## What Was Tried
- [Approach 1] — [why it failed/was abandoned]
- [Approach 2] — [partial success, but...]
## Decisions
- [Decision 1 — rationale]
- [Decision 2 — rationale]
## Acceptance Criteria
- [ ] [Criterion 1]
- [ ] [Criterion 2]
## Constraints
- [Do not do X]
- [Must preserve Y]
paseo run -d --mode full-access --provider codex/gpt-5.4 --name "[Handoff] Task description" "$prompt"
paseo run -d --mode bypassPermissions --provider claude/opus --name "[Handoff] Task description" "$prompt"
base=$(git branch --show-current)
paseo run -d --mode full-access --provider codex/gpt-5.4 --worktree task-branch-name --base "$base" --name "[Handoff] Task description" "$prompt"
base=$(git branch --show-current)
paseo run -d --mode bypass --provider claude/opus --worktree task-branch-name --base "$base" --name "[Handoff] Task description" "$prompt"
Handed off to [provider] ([model]). Agent ID: <id>
Follow along: paseo logs <id> -f
Wait for completion: paseo wait <id>
paseo wait <id> and then paseo logs <id> when done.tools
Paseo CLI reference for managing agents. Load this skill whenever you need to use paseo commands.
development
End-to-end implementation orchestrator. Use when the user says "orchestrate", "implement this end to end", "build this", or wants a full feature/fix implemented through a team of agents with planning, implementation, review, and QA phases.
testing
Run an agent loop until an exit condition is met. Use when the user says "loop", "babysit", "keep trying until", "check every X", "watch", or wants iterative autonomous execution.
testing
Form a committee of two high-reasoning agents to step back, do root cause analysis, and produce a plan. Use when stuck, looping, tunnel-visioning, or facing a hard planning problem.