Skip to content
Back to skills

Task Handoff

ASecurity

Use when an agent finishes work that unblocks another agent, or when defining ownership in a multi-agent pipeline. Agent A writes outcome and next steps to the task store, creates Agent B's task and marks its own done; the store is the only handoff channel, not chat context.

  • 7 stars
  • 0 votes
  • 0 copies
  • 9 views
  • Added September 29, 2026
ai-agentssqlapi

Works with

  • api

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add Tekkiiiii/the-agency --skill task-handoff --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Task Handoff?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Task Handoff
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tekkiiiii-task-handoff/badge)](https://www.skillsdirectory.com/skills/tekkiiiii-task-handoff)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: task-handoff
description: "Use when an agent finishes work that unblocks another agent, or when defining ownership in a multi-agent pipeline. Agent A writes outcome and next steps to the task store, creates Agent B's task and marks its own done; the store is the only handoff channel, not chat context."
---

Tier-A structured agent handoff — no new infrastructure, just discipline with the task store. The task store is the coordination layer; conversation context is not.

## Protocol

When Agent A completes work that unblocks Agent B:

1. **Agent A writes its outcome to the task store** — status, findings, any blockers, next steps
2. **Agent A creates Agent B's task** in the task store with `assigned_agent` set
3. **Agent A marks its own task `done`** and records the handoff ID in `notes`
4. **Agent B reads from the task store** to find its assignment — not from memory or conversation

## Example: Feature implementation → QA review

```
# Agent A (dev): marks feature done, creates QA task
ts-create "myproject" "qa-review-api" "QA the REST API implementation" "phase1" "high"
# -> returns downstream_id

# Agent A sets blocked_by to empty (upstream gates were cleared)
sqlite3 ~/.claude/task-store.db "UPDATE tasks SET blocked_by='[]' WHERE id='$downstream_id'"

# Agent A marks own task done
ts-status "$upstream_id" "done"

# Agent B (QA): reads task store for its assignment
ts-project "myproject" | grep "qa-review-api"
# -> finds task, starts work

# After QA, Agent B writes gate verdict
ts-gate "$feature_task_id" "passed" "qa-agent"
```

## Key Rules

- **Task store is the source of truth** — not conversation, not memory
- **`blocked` status is a hard gate** — never advance to `in_progress` while blocked
- **Handoffs are explicit** — always write to task store before spawning downstream
- **Failure propagates** — if Agent B fails after retries, escalate to PD/council

## Anti-patterns

- Spawning an agent without checking the task store first
- Storing state in conversation context (it gets lost between sessions)
- Advancing a blocked task to `in_progress`
- Skipping gate verification for "quick" downstream tasks

## Relationship to Tier-B (future)

Tier-B adds a file-based FIFO queue (`~/.claude/state/handoff-queue/`) so agents can poll asynchronously. Tier A is the prerequisite — implement this first to establish the discipline.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.