← スキル一覧に戻る

handoff
by lajarre
⭐ 0🍴 0📅 2026年1月20日
SKILL.md
name: handoff description: Use when ending a session, switching context, or wanting to preserve state for a future session to pick up
Handoff
Create a handoff document for session continuity. The handoff is the baton a future session picks up.
Process
-
Get session ID (in order of preference):
$CLAUDE_SESSION_IDenv var (new sessions)- Look for "Session ID: " in SessionStart hook output in your context
- FALLBACK: Use
unknownsession-<YYYYMMDD-HHMMSS>and WARN USER LOUDLY:⚠️ SESSION ID NOT FOUND - using fallback identifier. Check ~/.claude/hooks/session_start.sh is working correctly.
-
Create handoff file:
mkdir -p "${project_root:-.}/.agent" # File: .agent/HANDOFF.<session-id>.md -
Write content using the template below
Template
# Handoff: <session-id> (<session-title>)
## Current State (Baton)
<What needs to be picked up. What was I working on? What's the current status?>
## What's Left
<Remaining todos, blockers, next steps>
## Context
<Important decisions made, gotchas discovered, relevant file paths>
---
## Log
### <timestamp>
<What was accomplished in this update>
Update Behavior
When updating an existing handoff:
- Overwrite the baton sections (Current State, What's Left, Context)
- Append new entries to the Log section with timestamps
Notes
$CLAUDE_SESSION_IDset by SessionStart hook (new sessions)- For resumed sessions, hook output visible in context as "Session ID: "
- One file per session ID prevents collisions
- Baton sections overwritten; Log is append-only
スコア
総合スコア
40/100
リポジトリの品質指標に基づく評価
✓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
レビュー
💬
レビュー機能は近日公開予定です