hand-off

hand-off is a skill for Claude Code from S-Nakamur-a/conductor. It costs 66 tokens per session (1,077 once invoked), scanned A, original, MIT.

A procedure for handing the current conversation and its findings to Claude in another Git worktree, an isolated working copy of a repository.

In plain words
What is it for?
Use it when research or coding must continue in another worktree. It prepares a hand-off, checks whether Claude is already there, and sends or displays the message accordingly.
Why use it?
It prevents the next agent from missing the original request, evidence, decisions, or unfinished work. It also helps avoid editing the wrong worktree.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions Claude Code.

Part of the conductor plugin — 4 skills, 1 MCP server shipped together

Good fit Use it when research or coding must continue in another worktree. It prepares a hand-off, checks whether Claude is already there, and sends or displays the message accordingly.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/s-nakamur-a/conductor/hand-off
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add S-Nakamur-a/conductor --skill hand-off
Clone the repo
git clone --depth 1 https://github.com/S-Nakamur-a/conductor

Made for: Claude Code.

Or install conductor, the plugin that ships this one along with the rest of its 4 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hand-off

README.md
[![agentmods](https://agentmods.dev/badge/skills/s-nakamur-a/conductor/hand-off/github.svg)](https://agentmods.dev/skills/s-nakamur-a/conductor/hand-off)
Your own site
<a href="https://agentmods.dev/skills/s-nakamur-a/conductor/hand-off"><img src="https://agentmods.dev/badge/skills/s-nakamur-a/conductor/hand-off/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hand-off

Your own site · 80×15
<a href="https://agentmods.dev/skills/s-nakamur-a/conductor/hand-off"><img src="https://agentmods.dev/badge/skills/s-nakamur-a/conductor/hand-off.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,077 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00066 $0.01077
Opus 5.5 $0.00026 $0.00431
Sonnet 5.5 $0.00013 $0.00215
Haiku 4.5 $0.00007 $0.00108

Measured 5d ago against content hash 70768ed017c0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hand-off scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/conductor/skills/hand-off/SKILL.md · 61 lines

What it actually says

Hand Off

この会話 (たとえば main で調べた会話) の続きを、別の worktree の Claude に渡す。

$ARGUMENTS

手順

1. 渡す先の worktree を決める

次の順で決める。決まらなければユーザに聞く。

  1. $ARGUMENTS かユーザの依頼が名指しした worktree
  2. この会話で作った worktree (git worktree list と、この会話で走らせた git worktree add を突き合わせる)

決まったら絶対パスにする。

2. 引き継ぎ文を書く

渡す先の Claude はこの会話を読めない。次の項目を、その Claude が最初に読む文として書く。

  • 依頼: ユーザの依頼の原文 (要約しない)
  • 場所: worktree の絶対パスとブランチ名。「作業はこの worktree で行い、元の場所 (main など) のファイルは編集しない」
  • 分かったこと: 調べて分かった事実を file:line つきで
  • 決めたこと: ユーザと決めたこと、ユーザが選ばなかった案
  • 残り: これからやること、まだ確かめていないこと

全体を 8KB (日本語でおよそ 2,000 字) に収める。長くなるなら事実の列挙を削り、file:line だけ残す。 最後の文字を \ にしない (送信されず入力欄に残る)。先頭を / にしない (スラッシュコマンドとして走る)。

3. その worktree に Claude が居るか確かめる

  1. ${CLAUDE_CONFIG_DIR:-$HOME/.claude}/sessions/*.json を読み、cwd が渡す先の worktree と同じか、その下 (<worktree>/ で始まる) のものを選ぶ。feat に対して feat-2 を拾わない
  2. そのうち pid が生きているものだけを残す (ps -o stat= -p <pid> が空でも Z でもない)
  3. 残ったものの name を ListAgents の一覧から探す

一覧に居れば、その名前に SendMessage で引き継ぎ文を送り、手順 5 へ。

ListAgents に出ないことは「居ない」の証拠にならない (別の Claude アカウントで走っている Claude は出ない)。手順 1〜2 で生きた Claude が見つかったのに ListAgents に出ないときは、起こさずにユーザに伝え、引き継ぎ文を見せて手で貼ってもらう。

4. 居なければ起こす

mcp__conductor__start_session を呼ぶ。

  • worktree: 手順 1 の絶対パス
  • prompt: 手順 2 の引き継ぎ文
  • name: 作業の短い名前 (Conductor の一覧に出る)

窓が開いていて、その worktree を Claude Code が信頼済み (MCP サーバの承認も済み) なら、起きた Claude は引き継ぎ文を受け取ってすぐ作業を始める。信頼や承認の確認が出る worktree では文が失われる。このツールが返すのは「送った」までで、起きたかは確かめられない。

5. ユーザに報告する

  • どちらの道を取ったか (居た Claude に送った / 新しく起こした)
  • 起こしたときは「Conductor の一覧のその worktree の下に出ていなければ窓が開いていないか古い版、出ていても作業が始まっていなければ信頼や承認の確認で文が消えた。どちらも下の文を貼る」と書き、引き継ぎ文をそのまま見せる
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 61 lines · 66 tokens per session scan A 70768ed017c0

Subscribe to this mod's changes

hand-off is a skill published in the GitHub repository S-Nakamur-a/conductor (2 stars, last pushed 5d ago), licensed MIT. It adds 66 tokens to every session and 1,077 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-25.

Related

hand-off compared with skills from other repositories

hand-off next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hand-offS-Nakamur-a/conductorSkill25d agoMITA66Claude Code
resolving-merge-conflictsValorVie/custom-skillsSkill529d agoMITA23Codex
hotfixDonchitos/Claude-Code-Game-StudiosSkill41k20d agoMITA26Claude Code
write-changelogDonchitos/Claude-Code-Game-StudiosSkill41k20d agoMITA24Claude Code
team-releaseDonchitos/Claude-Code-Game-StudiosSkill41k20d agoMITA33Claude Code
changelogDonchitos/Claude-Code-Game-StudiosSkill41k20d agoMITA22Claude Code
worktree-isolateopen-octo/octo-agentSkill160yesterdayMITA91Claude Code, Codex