By amu815
Auto-generate handoff prompts and restart Claude Code with fresh context. Run /handoff to create a session summary and launch an updated new session.
Claude Codeのコンテキストが長くなったとき、引き継ぎプロンプトを生成して新セッションに移行するプラグイン。
claude plugin install claude-handoff
not found になる場合は、マーケットプレイスを手動で追加してください:
claude plugin marketplace add https://github.com/amu815/claude-handoff.git
claude plugin install claude-handoff
/handoff — 引き継ぎして新セッション起動~/.claude/handoffs/ に引き継ぎファイルを保存claude update を実行あなた: /handoff
Claude: (タスク・変更ファイル・サマリを収集)
Claude: 引き継ぎに追加したいメッセージはありますか?
あなた: 次はテストを書いてほしい
Claude: 引き継ぎファイルを保存しました。新しいセッションを開始してください:
claude "前回の引き継ぎを確認して、作業を再開してください"
あなた: (セッション終了後) claude "前回の引き継ぎを確認して、作業を再開してください"
新セッション: (引き継ぎコンテキスト自動注入 → 即座に作業再開!)
/handoff 完了後、Claudeが以下のコマンドを案内します:
claude "前回の引き継ぎを確認して、作業を再開してください"
claude "プロンプト" で位置引数としてプロンプトを渡せるため、SessionStartフックによるコンテキスト注入と合わせて、新セッションが開いた瞬間にClaudeが作業を再開します。
claude だけで起動した場合は、ユーザーが最初のメッセージを入力するまで待機します。
セッション終了時に未完了タスクや大きな変更があれば /handoff を提案します。
引き継ぎファイルは ~/.claude/handoffs/ にタイムスタンプ付きで保存されます。
新セッション起動時、10分以内のファイルのみ自動読み込みされます(古い引き継ぎが不意に注入されるのを防ぎます)。
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimnpx claudepluginhub amu815/claude-handoff --plugin claude-handoffClaudikins Automatic Context Manager - seamless context handoff for Claude Code
Replace /compact with intelligent context transfer - analyzes current thread and generates focused prompts for new threads based on your goal
Adds the agent-session-resume skill for reconstructing and continuing prior AI coding-agent sessions.
Save and resume Claude Code session context across multiple windows. Preserves work progress, pending tasks, key files, and technical notes. Perfect for complex projects requiring context switching between sessions.
会话管理插件 - 智能保存和恢复 Claude Code 会话,支持进度跟踪和工作连续性
Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques