---
description: Create handoff for next agent/session
argument-hint: "[instructions]"
agent: build
---

# Handoff: $ARGUMENTS

## No Active Task

```typescript
session({ mode: "new", agent: "build", text: "$ARGUMENTS" });
```

## With Active Task

1. Find task: `backlog_task_list({ status: "In Progress" })`
2. Save to `.opencode/memory/handoffs/YYYY-MM-DD-[TASK_ID].md`:

```markdown
# Handoff: [TASK_ID]

Goal: [From PRD]
Constraints: [From spec]
Done: [From review.md]
Remaining: [Unchecked criteria]
Next: $ARGUMENTS
```

3. Next agent reads handoff + task files, continues within scope
