jpskill.com
🛠️ 開発・MCP コミュニティ

handoff-coordinator

担当者やセッション間のスムーズな引き継ぎを実現し、状況や情報を整理して共有、複数の担当者が連携する作業を円滑に進めるSkill。

📜 元の英語説明(参考)

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

🇯🇵 日本人クリエイター向け解説

一言でいうと

担当者やセッション間のスムーズな引き継ぎを実現し、状況や情報を整理して共有、複数の担当者が連携する作業を円滑に進めるSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o handoff-coordinator.zip https://jpskill.com/download/9435.zip && unzip -o handoff-coordinator.zip && rm handoff-coordinator.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/9435.zip -OutFile "$d\handoff-coordinator.zip"; Expand-Archive "$d\handoff-coordinator.zip" -DestinationPath $d -Force; ri "$d\handoff-coordinator.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して handoff-coordinator.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → handoff-coordinator フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Handoff Coordinator

エージェントとセッション間のスムーズな移行を、状態のシリアライズとコンテキストのブリッジングによって管理します。

クイックスタート

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

Handoff の実行

await coordinator.execute_handoff(
    package=package,
    target_agent="coding-agent"
)

Handoff プロセス

┌─────────────────────────────────────────────────────────────┐
│                    HANDOFF WORKFLOW                          │
├─────────────────────────────────────────────────────────────┤
│                                                              │
│  SOURCE AGENT                                                │
│  ├─ 現在の作業を完了                                       │
│  ├─ 状態をファイルに保存                                   │
│  ├─ Handoff パッケージを作成                                 │
│  └─ Handoff の準備完了を通知                               │
│                                                              │
│  COORDINATOR                                                 │
│  ├─ 状態の一貫性を検証                                     │
│  ├─ Handoff パッケージをシリアライズ                         │
│  ├─ Handoff ファイルに保存                                 │
│  └─ ターゲットエージェントをトリガー                         │
│                                                              │
│  TARGET AGENT                                                │
│  ├─ Handoff パッケージをロード                               │
│  ├─ コンテキストを復元                                     │
│  ├─ 状態を検証                                             │
│  └─ 作業を継続                                             │
│                                                              │
└─────────────────────────────────────────────────────────────┘

Handoff パッケージ

{
  "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 の種類

Type Description Use Case
Session 同じエージェント、新しいセッション コンテキストの制限に達した場合
Agent 異なるエージェント 特殊なタスク
Parallel 複数のターゲット 作業の分割
Recovery 失敗後 エラーからの回復

統合ポイント

  • autonomous-session-manager: セッションの Handoff をトリガーします
  • context-compactor: Handoff の前に圧縮します
  • memory-manager: Handoff の概要を保存します

参考文献

  • references/HANDOFF-PROTOCOL.md - プロトコルの詳細
  • references/AGENT-TRANSITIONS.md - 移行パターン

スクリプト

  • scripts/handoff_coordinator.py - コアコーディネーター
  • scripts/state_serializer.py - 状態のシリアライズ
  • scripts/context_bridge.py - コンテキストのブリッジング
  • scripts/handoff_protocol.py - プロトコルの実装
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

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

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