From context-handoff
セッション間のコンテキストを構造化して保存する。 「引き継ぎ」「セッション保存」「handoff」「コンテキスト保存」等で使用。 通常は自動保存(L1/L2)で十分。明示的に高品質な保存をしたいときに呼ぶ。
How this skill is triggered — by the user, by Claude, or both
Slash command
/context-handoff:saveThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- **会話の要約ではなく、作業状態のスナップショットを保存する**
| 層 | トリガー | 内容 |
|---|---|---|
| L1: 差分追記 | 設計判断・アプローチ棄却の瞬間(自動) | handoff.md に1行追記 |
| L2: PostCompact | コンパクション発生時(自動フック) | handoff.md の全体整理 |
| L3: 手動保存 | /context-handoff:save(このスキル) | フル品質で書き直し |
L1/L2 は auto-save-rules.md で動作する。 このスキル(L3)はフル品質の保存が必要なとき、または初回セットアップ時に使う。
.context/ と .context/hooks/ と .context/archive/ ディレクトリを作成.context/hooks/ に書き出し、実行権限を付与.claude/settings.json に setup-guide.md の hooks 設定と permissions 設定をマージして書き込む(既存設定を上書きしない).claude/rules/context-handoff.md に auto-save-rules.md の自動保存ルールを配置(プロジェクトの CLAUDE.md は変更しない).context/ の git 管理について確認: 「個人開発なら git 追跡(別 PC で引き継ぎ可能)、チーム開発なら .gitignore 追加を推奨。どちらにしますか?」handoff.md が壊れた場合は削除して /context-handoff:save で再生成できます.context/handoff-{safe-branch}.md に書き出し(ブランチ名のスラッシュ / とコロン : はハイフン - に変換).context/archive/ に移動.context/archive/ に移動保存しました: [N]タスク, [N]判断, [N]棄却| ファイル | 内容 |
|---|---|
| handoff-format.md | handoff.md のフォーマット仕様 |
| setup-guide.md | フック設定・セットアップガイド |
| auto-save-rules.md | .claude/rules/ に配置する自動保存ルール |
npx claudepluginhub saladdays/agent-skills --plugin context-handoffSaves session state at end of session and resumes it at start of next session. Useful when context is running out, wrapping up, or continuing previous work.
Saves session state and writes a handoff note so the next Claude Code session can continue cleanly. Read/writes a remember.md file at the project root.
Wraps up a work session by recording changed files, caveats, decisions, and next steps so a fresh session can resume without re-deriving context.