Handoverのロゴ

Handover

コミュニティ
randommonicle
handover

Produce a structured handover note when the context window fills or the user asks to wrap up. Take the real percentage from /context or, in the Claude desktop app, the get_usage tool; never estimate, and where neither exists record the gap verbatim rather than inventing a figure. Triggers when the context band reaches amber or red, when the user says "wrap up", "handover", or "hand off", or before deliberately ending a long working session.

概要

公開者randommonicle
リポジトリclaude-skills
スキル名handover
スター
27
フォーク
3
同梱ファイル
指示のみ
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    randommonicleがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Handover」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/randommonicle/claude-skills/tree/main/handover
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/randommonicle/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/handover .claude/skills/handover
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでHandoverを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にHandoverを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Handoverは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Handover note

The global operating rules define context bands: green below 50%, yellow 50 to 65%, amber 65 to 75%, red above 75%. At yellow, mention the reading and keep commits small with explicit scope cuts. At amber, take no new work units. At red, stop and hand over. This skill defines what the handover contains and how to produce it.

When this applies

  • The context band reaches amber or red.
  • The user says "wrap up", "handover", "hand off", or similar.
  • A long session is ending deliberately and the next session needs to resume cleanly.

Step 1: measure, never estimate

Run /context first and use the real figure. Do not guess or estimate the percentage. Run /context and use the figure it returns. The whole point of the bands is that the decision to wrap is made on a real reading, not a feeling.

In the Claude desktop app the agent cannot type /context, but the reading is one tool call away: mcp__ccd_session_mgmt__get_usage with session_id: "self". It is usually deferred, so load it through ToolSearch first. Its context.percentUsed is the reading; the same call reports the plan's 5-hour and weekly limits, which matter when several sessions run at once. On 2026-09-24 a desktop session wrote the gap line below into a handover while this tool sat in its deferred list, and the user had to supply the 38 % reading. Search the deferred tools for "context usage" before declaring a gap.

Where neither /context nor a usage tool is available (a non-interactive orchestrator or headless session), an honest gap is the reading. Write "no reading: /context unavailable in this harness" verbatim into the note's wrap-up context, never an invented or estimated percentage, and make the band decision from the harness's own signals (context-compaction warnings, summarisation system reminders). Five consecutive sessions on one project (2026-07-31 to 2026-08-12) wrote that gap into prose and re-declared this rule change due before the rule caught up with the harness it actually runs in.

Step 2: the handover note

A fixed shape, so the next session can read it once and resume:

  1. Session goal. One line: what this session set out to do.
  2. Branch and worktree. The working branch, and the worktree path if non-standard. The next session starts on main by default and otherwise has to rediscover this from git log.
  3. What landed. Commits and PRs with sha and a one-line description each. Mark each as verified or unverified.
  4. In flight. What is half-done, with exact file:line ranges, not bare paths. Enough that the next session can open the file at the right place.
  5. Deferred items. Every item deferred this session, each with its grep anchor, per the flag-deferred-items skill. The note records where the anchor was planted.
  6. Verification still outstanding. Migration catalog queries to run, smokes to run, post-rollout checks not yet done.
  7. Blockers and open questions. Anything waiting on a decision or an external answer.
  8. Next actions. Ordered and concrete. Each is a single first step, not a theme.
  9. Traps and working agreements. Project-specific gotchas surfaced this session, plus standing rules that bit or nearly bit (confirm before push, money is pounds not pence, grep the live schema rather than trusting handover docs).

Dates are absolute, not relative. Money is stated in pounds.

Where the project keeps a checkpoint log (per the checkpoint-log skill), synthesise items 3, 4, and 5 from the log rather than from memory; the log is the record, the handover is the digest.

Every diagnosis and causal claim in the note carries a confidence marker: verified, with the command or evidence that proved it, or unverified. The note opens with one line: "diagnoses in this note are unverified unless marked". A recommendation built on an unverified diagnosis inherits the marker. The incident behind this (2026-07-20): a second-order claim about a fix, reasoned from structure rather than probed, was written into a migration header and DECISIONS as fact, and a reader had no way to tell asserted from proven until a smoke forced the correction.

Step 3: persist it

Write the note to the project's handover location, or to DECISIONS.md / LESSONS_LEARNED.md where an item qualifies for those. If no handover location is established, write to HANDOVER.md in the project root. Append; do not overwrite. The history of handovers is itself useful, and an overwrite loses the trail. If something this session qualifies as a documented decision or a lesson learned, prompt to record it.

In a project that keeps team/NOW.md (the team-loop skill), every session end overwrites NOW.md from team-loop/templates/NOW.md, at most 40 lines: item 1 as its topic:, item 8's first step as next:, and items 2 to 6 and 9 under its headings, with landed commits still marked verified or unverified and its branches: and ask: lines current. Git keeps the trail, so the overwrite loses nothing. Item 7's open questions go to the project's Ask queue, not into NOW.md. That replaces the appended note for a routine end, amber-band wrap-ups included. An unusual end also gets a dated docs/HANDOVER_<topic>_<date>.md in the full shape above: the red band, a crash or forced stop, a move to another machine, or a scheduled run stopped by a usage limit. Steps 1, 2 and 4 apply either way.

Then get the note committed before the session ends, with the user's per-action yes. A note left untracked reaches neither the other machine nor the next reader's git log, and it is invisible to the session that resumes from a different checkout. On 2026-09-14 four handover and review notes from three sessions were found untracked in this library's docs/, one of them already superseded.

Step 4: promote before closing

Sweep the note's traps and working agreements before finishing. Anything that would change how a future session behaves is a lesson, not a handover line: promote it to the project's LESSONS_LEARNED.md now, with its misses-log line, or plant a grep-able FORWARD anchor at the landing point (flag-deferred-items). Knowledge that stops in a handover never reaches the library's admission pipeline. The incident behind this (2026-07-27): five coordination rules learned the hard way in one session sat in a handover section behind "consider folding these in later", and were never folded in.

What this skill does not do

It does not decide to wrap up; the context bands do that. It does not push or commit on its own. It produces the note and persists it, leaving the push gate intact.

Why

Long sessions fail at the seams: the next session re-discovers what the last one already knew, or misses a deferred item or an unrun verification. A fixed handover shape, produced from a real context reading, makes the seam cheap to cross and keeps deferred and unverified work from falling through it.

Additions from cross-repo lessons (ratified 2026-07-23)

  • Stamp superseded sections. A session that makes a prior handover's "next build" section stale stamps that section superseded in the same PR — a one-session-stale handover cost real rework.
  • Carry-forward items cite a live-state verification or are marked unverified. A "still open" item once rode four consecutive handovers a month after the work was done. Re-verifying at write time is cheaper than the duplicate build it prevents (see live-state-first).

Additions from the misses-log sweep (2026-11-01)

  • Report uncommitted files by status letter, never as a count. "175 uncommitted files" reads as work to save; 175 deletions reads as an incident. Give the breakdown from git status -s by letter ( M, D, ??, A ) so the next session can tell work in progress from damage, and name the branch and worktree each count belongs to. (Library 40, where the count was the whole of the misreading.)

よくある質問

AIスキル「Handover」では何ができますか?

Produce a structured handover note when the context window fills or the user asks to wrap up. Take the real percentage from /context or, in the Claude desktop app, the get_usage tool; never estimate, and where neither exists record the gap verbatim rather than inventing a figure. Triggers when the context band reaches amber or red, when the user says "wrap up", "handover", or "hand off", or before deliberately ending a long working session.

TypingMindでHandoverを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Handoverはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにHandoverをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/randommonicle/claude-skills/tree/main/handoverを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Handoverを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Handoverで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもHandoverを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Handover」は無料ですか?

はい。randommonicleがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇