Structured context brief and claim transfer for thread handoff between agents. Use when the user says "/session:thread:handoff", "/thread:handoff", "hand off this thread", "transfer thread to", "pass this to another agent", "handoff", or "take over thread".
Create a structured handoff brief for a thread and transfer the claim to another agent.
<thread-slug> is required, to <agent-name> is optional.~/.claude/skills/session/scripts/session.sh thread show <slug> to get thread state.tasks.md — note completed vs remaining items.plan.md or done.plan.*.md if they exist — note the approach.thread claim check <slug>.Write a concise handoff to stdout (do NOT create a file):
## Thread Handoff: <slug>
**From:** <current claimer or "unclaimed">
**To:** <target agent or "next available">
**Generated:** <ISO timestamp>
### Status
<1-2 sentences on where things stand>
### Completed
<checked items from tasks.md>
### Remaining
<unchecked items from tasks.md>
### Key Context
<important decisions, constraints, or gotchas from plan/tasks/reviews>
### Files
<list of thread files with their status>
If to <agent-name> was specified:
thread claim release <slug>thread claim set <slug> --agent <agent-name>If no target agent specified, just output the brief without transferring.
If the thread doesn't exist, say so and list available threads via thread list.