Back to list
adaptationio

handoff-coordinator

by adaptationio

0🍴 0📅 Jan 24, 2026

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

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

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

{
  "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

TypeDescriptionUse Case
SessionSame agent, new sessionContext limit reached
AgentDifferent agentSpecialized task
ParallelMultiple targetsSplit work
RecoveryAfter failureError 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

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon