handoff
Skill0 starsChanged 3 months agoMITView on GitHub
現在の会話とタスクの状態を、別のエージェントや新しいチャットに引き継ぐためのプロンプトを生成する。目標・環境・やったこと・変更ファイル・判断と根拠・現状・次の候補・注意事項を、事実と推測を分けて 1 つのコードブロックにまとめる。「引き継ぎを作って」「ハンドオフ」「別セッションに渡す用にまとめて」「新しいチャットで続けたい」「コンテキストを移したい」時に使用。引き継ぎ先に作業開始を指示しない。secrets は書かない。プロンプトを出したら止まる。
- Reads credentials
191 other projects use a version of this.
Adopted by
Most recently taken up by
- xiaoxiaosrm/dsh-mattpocock-skillstheir own version, first seen Nov 8, 2026
- ethosagent/ethostheir own version, first seen Nov 8, 2026
- dsifry/metaswarmtheir own version, first seen Nov 8, 2026
- glebis/claude-skillstheir own version, first seen Nov 8, 2026
- domengabrovsek/agent-configtheir own version, first seen Nov 8, 2026
- domengabrovsek/claudetheir own version, first seen Nov 8, 2026
Used with
Projects with it also use decision-mapping, setup-ts-deep-modules and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
FabienDehopreSkilldecision-mapping
Turn a loose idea into a sequenced map of investigation tickets, then drive them to resolution one at a time.
Also in 8 projects that use this
liufeng1976Skillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 42 projects that use this
AWSSkillto-questionnaire
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
Also in 93 projects that use this
GoogleSkillask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Also in 87 projects that use this
RoentekSkillloop-me
Grill me about specs for the workflows I want to build, within this workspace.
Also in 51 projects that use this
LesaniSkillwriting-beats
Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.
Also in 54 projects that use this
Other versions191 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 191
- mattpocock/skills★ 309ksame name
- QuivrHQ/quivr★ 40ksame name
- The-Vibe-Company/quivr★ 40ksame name
- GreyDGL/PentestGPT★ 16ksame name
- ykdojo/claude-code-tips★ 10ksame name
- ArcReel/ArcReel★ 6.3ksame name
- vinvcn/mattpocock-skills-zh-CN★ 5.5ksame name
- withcoral/coral★ 4.9ksame name
- epicenter-md/epicenter★ 4.8ksame name
- EpicenterHQ/epicenter★ 4.8ksame name
181 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- skills/agents-onboarding/templates/AGENTS.mdAGENTS.md
- agents-onboardingSkill
- browser-useSkill
- commit2prSkill
- commit2pushSkill
- commitSkill
- create-issueSkill
- explainSkill
- find-skillsSkill
- goalSkill
- note-writeSkill
- openapi-rfc-complianceSkill
- pr-request-changesSkill
- rules-reviewSkill
- sanitize-artifactsSkill
- skill-creatorSkill
The file
Files
handoff
今の会話から、次のエージェントが読むだけで状況を把握できるプロンプトを作る。
原則
引き継ぎ先は文脈を受け取るだけで、次の指示を待つ。
引き継ぎプロンプトは「続きをやれ」という命令ではない。次のエージェントが作業を始めるかどうかはユーザーが決める。だからプロンプトには「読んで待て」と書き、次の候補は選択肢として示し、出し終えたら自分も何もしない。
引数
--scope: 引き継ぐ範囲。省略時は「今のタスクと、それに直接関係するプロジェクト文脈」task: 今のタスクのみconversation: 会話全体の要点debug: 再現手順・仮説・試したこと・観測結果review: レビュー対象・指摘・未解決の議論
Step 1: 現在の状態を取る
記憶ではなく実物から取る:
git branch --show-current
git status --short
git log --oneline -10会話中に実行したコマンドとその結果、読んだ / 変更したファイルを思い出し、確認できる事実と推測に分ける。
Step 2: 続行に必要なものだけ抽出する
| 項目 | 含めるもの |
| 目標 | ユーザーが達成したいこと。言い換えず、ユーザーの言葉に近い形で |
| 環境 | 作業ディレクトリ、ブランチ、ランタイム・ツールのバージョン(確認したものだけ) |
| 指示 | AGENTS.md / CLAUDE.md / ユーザーから受けた制約のうち、今後の行動に効くもの |
| やったこと | 実行したコマンドと重要な結果。読んだ主要ファイル |
| 変更したファイル | パスと変更の要旨。無ければ「なし」 |
| 判断と根拠 | 決めたこと、採らなかった案とその理由 |
| 現状 | どこまで終わり、何が未着手か。ブロッカー |
| 次の候補 | 考えられる次の一手を選択肢として。命令形で書かない |
| 注意 | 触ってはいけないもの、壊しやすいもの、安全上の制約 |
含めないもの:
- 謝罪、経過の雑談、途中で捨てた議論の枝
- 内部の推論過程
- secrets・トークン・認証情報・秘密鍵・機微なファイルの中身。必要なら「どこにあるか」だけを書く(
.envに API キーがある、など)
Step 3: 整える
- 日付・バージョン・パス・コマンド名は具体的に書く
- 不確かな点は「(推測)」「(未確認)」と明示する
- 会話の時系列ではなく、次のエージェントが読む順(目標 → 状態 → 次)に並べ替える
Step 4: 出力する
次のテンプレートで、1 つのコードブロックに入れて出す。出したら止まる。プロンプトに書いた「次の候補」を自分で始めない。
あなたは進行中のタスクの文脈を引き継ぎます。
このプロンプトは文脈を渡すためのものです。ユーザーから次の指示があるまで、ファイルの編集・コマンドの実行・実装の続行はしないでください。
## 目標
- ...
## 環境
- 作業ディレクトリ: ...
- ブランチ: ...
- 関係するプロジェクト指示: ...
## やったこと
- ...
## 変更したファイル
- ...(無ければ「なし」)
## 重要な事実と判断
- ...(推測には「(推測)」と付ける)
## 現状
- ...
## 次の候補(選択肢。実行の指示ではない)
- ...
## 注意
- ...
ユーザーの次の指示を待ってください。完了時に返すもの
引き継ぎプロンプトそのもの(コードブロック 1 つ)。前置きの説明や作業報告は付けない。ファイルへの保存を求められた場合だけ、保存先のパスを 1 行添える。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

