Skip to content
Back to skills

Handoff Coordinator

ASecurity

Clean transitions between agents and sessions. Use when preparing handoffs, serializing state, bridging context between agents, or coordinating multi-agent workflows.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 8, 2026
developmentpythongogit

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add adaptationio/Skrillz --skill handoff-coordinator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Handoff Coordinator?

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

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

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: handoff-coordinator
description: Clean transitions between agents and sessions. Use when preparing handoffs, serializing state, bridging context between agents, or coordinating multi-agent workflows.
version: 1.0.0
category: autonomous-coding
layer: context-engineering
---

# Handoff Coordinator

Manages clean transitions between agents and sessions with state serialization and context bridging.

## Quick Start

### Prepare Handoff
```python
from scripts.handoff_coordinator import HandoffCoordinator

coordinator = HandoffCoordinator(project_dir)
package = await coordinator.prepare_handoff(
    source_agent="coding-agent",
    summary="Completed auth-001, starting auth-002"
)
```

### Execute Handoff
```python
await coordinator.execute_handoff(
    package=package,
    target_agent="coding-agent"
)
```

## Handoff Process

```
┌─────────────────────────────────────────────────────────────┐
│                    HANDOFF WORKFLOW                          │
├─────────────────────────────────────────────────────────────┤
│                                                              │
│  SOURCE AGENT                                                │
│  ├─ Complete current work                                   │
│  ├─ Save state to files                                    │
│  ├─ Create handoff package                                  │
│  └─ Signal ready for handoff                               │
│                                                              │
│  COORDINATOR                                                 │
│  ├─ Validate state consistency                             │
│  ├─ Serialize handoff package                              │
│  ├─ Store in handoff file                                  │
│  └─ Trigger target agent                                   │
│                                                              │
│  TARGET AGENT                                                │
│  ├─ Load handoff package                                   │
│  ├─ Restore context                                        │
│  ├─ Verify state                                           │
│  └─ Continue work                                          │
│                                                              │
└─────────────────────────────────────────────────────────────┘
```

## Handoff Package

```json
{
  "id": "handoff-20250115-103000",
  "source_agent": "coding-agent",
  "target_agent": "coding-agent",
  "timestamp": "2025-01-15T10:30:00",
  "state": {
    "current_feature": "auth-002",
    "completed_features": ["auth-001"],
    "blockers": [],
    "next_steps": ["Implement logout endpoint"]
  },
  "context": {
    "recent_files": ["src/auth/login.ts"],
    "git_hash": "abc1234",
    "session_number": 5
  },
  "summary": "Completed auth-001, starting auth-002"
}
```

## Handoff Types

| Type | Description | Use Case |
|------|-------------|----------|
| **Session** | Same agent, new session | Context limit reached |
| **Agent** | Different agent | Specialized task |
| **Parallel** | Multiple targets | Split work |
| **Recovery** | After failure | Error recovery |

## Integration Points

- **autonomous-session-manager**: Triggers session handoffs
- **context-compactor**: Compacts before handoff
- **memory-manager**: Stores handoff summaries

## References

- `references/HANDOFF-PROTOCOL.md` - Protocol details
- `references/AGENT-TRANSITIONS.md` - Transition patterns

## Scripts

- `scripts/handoff_coordinator.py` - Core coordinator
- `scripts/state_serializer.py` - State serialization
- `scripts/context_bridge.py` - Context bridging
- `scripts/handoff_protocol.py` - Protocol implementation

Files in this skill

  • SKILL.md4.1 KB
  • references/HANDOFF-PROTOCOL.md3.4 KB
  • scripts/context_bridge.py4 KB
  • scripts/handoff_coordinator.py6.2 KB
  • scripts/state_serializer.py3.7 KB

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.

Comments

Loading comments…