# Agent Task Handoff

> Use this skill when delegating a subtask to a sub-agent, spawning a parallel worker, or handing off work across sessions. Write a self-contained task description so the receiving agent needs no prior context.

- Skill: `gabrielmoreira/agent-task-handoff` (Agent Skill)
- Install (CLI): `npx skillmds@latest add gabrielmoreira/agent-task-handoff`
- Raw SKILL.md: https://api.skillmd.com/api/skills/gabrielmoreira/agent-task-handoff/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: gabrielmoreira (https://skillmd.com/u/gabrielmoreira)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/gabrielmoreira/agent-task-handoff

---


# Agent Task Handoff

When delegating work to a sub-agent or across sessions, make the handoff self-contained.

**Handoff package must include:**
1. **Goal:** What the sub-agent must produce (one clear sentence).
2. **Context:** The minimum background the agent needs — no more, no less.
3. **Constraints:** Explicit rules (don't modify X, use library Y, output format Z).
4. **Inputs:** File paths, API endpoints, or data the agent needs to start.
5. **Success criteria:** How to verify the result is correct.

**For parallel agents:**
- Clearly state which parts of the codebase/data each agent owns.
- Define how outputs will be merged back.

**Anti-pattern:** Sending a vague "continue where we left off" with no context — sub-agents start from zero.

