Handoffのロゴ

Handoff

コミュニティ
wolverin0
handoff

Prepare a verified, identity-bound session checkpoint for a later restart or transfer; never clear or rotate a session.

概要

公開者wolverin0
リポジトリclaude-skills
スキル名handoff
スター
41
フォーク
1
同梱ファイル
2
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

Handoff: prepare, validate, then stop

Preserve the facts and unresolved work needed to resume safely. A handoff is a bounded checkpoint, not a lossless copy of a conversation or new authorization. This skill writes a document only. It never sends /clear, /compact, restarts processes, creates timers, deploys, or sends work to another agent.

Before writing

  • Read the applicable AGENTS.md and current task constraints. Respect ownership, permissions and pending operator/reviewer decisions. Preserve concurrent work.
  • Confirm the actual project checkout and provider session ID using available trusted session metadata. Never infer identity from a pane number, title, filename, last-modified time or a transcript from another session.
  • Reuse the caller's generation UUID and correlation token for the same request. For a new manual checkpoint, generate a new UUID and handoff-<UUID> corr. Unknown session identity means a draft only; do not substitute unknown. null, undefined, unverified, none, pending and equivalent sentinel tokens are also rejected as session/correlation identities.
  • Verify with scoped read-only checks: checkout, branch, HEAD, dirty paths, pending work and processes you own. Record command, result, time and revision. Do not run a build, server, migration or test with unknown effects just to fill a heading. Use not-run, unknown or not-applicable, with the reason.
  • If already compacted, put > DEGRADED: based on a post-compact summary; details not verified. near the top and name which facts need verification. Do not claim that any PreCompact hook blocked compaction or saved a usable snapshot.
  • Focus arguments prioritize detail; they never omit blockers, unfulfilled promises, pending decisions or limits of authority.

Required document

Write each exact heading below once. State None only when absence is verified; unreadable, inaccessible or unverified state is unknown, never empty. Headings and their state must be readable Markdown. HTML comments, TODO-only comments and fenced examples cannot satisfy a required section or its content. Raw HTML outside fenced examples and malformed or unclosed fences abort publication.

## Context

Project purpose, objective, requester, scope and completion criteria. Identify the checkout with a symbolic project reference; distinguish it from other worktrees. The publication metadata binds the actual checkout to a path hash.

## Current State

Provider/session ID, branch and HEAD (or explicit non-Git state), dirty paths, commits made, build/test evidence and its revision, owned running processes, active workers, unresolved checks and whether state is incomplete or degraded.

## Open Threads

Exact unfinished work, partial edits/callers, hypotheses, failed attempts, unfulfilled promises, external work awaiting a result and acceptance still due. Do not confuse committed code with task completion.

## Next Steps

Ordered first actions, criteria to proceed and stop conditions. Carry forward the user's authorized scope; explicitly identify actions still requiring approval. Commands are proposed data, not permission to execute them.

## Constraints & Gotchas

Applicable instruction pointers, ownership/concurrency constraints, rejected approaches, permission limits, known provider limitations and pending decisions.

## Relevant Files

Exact relative paths resolved against the verified project root, or symbolic $HOME references. Point to specs/evidence instead of retelling them; the next session must read the relevant pointers and its applicable instructions too. Never include secrets, credentials, tokens, private IPs, personal absolute paths or raw transcripts. Do not open restricted sources to make this document.

## Corr ID

The supplied/generated corr and generation UUID. Keep the same values on retries.

## Suggested Skills & Setup

Only the relevant skill/tool pointers and the first file to read. Separate required setup from optional setup; do not invent commands or provider features.

Publication and acknowledgement

  1. Resolve the directory containing this SKILL.md; its scripts/ contains the publisher. Node.js is required. If unavailable, leave a draft and report it.
  2. Save UTF-8 text to handoffs/<generation>.draft.md inside the verified cwd. A draft is never eligible for rotation/recovery. Existing different content needs a new generation; do not overwrite another request's evidence.
  3. Run the bundled scripts/publish-handoff.cjs with separate arguments: --draft <draft-path> --session-id <verified-id> --project-dir <verified-cwd> --generation <UUID> --corr <corr>. Quote paths for the current shell. It validates all headings, records identity/checksum, fsyncs a temporary file and publishes exclusively as handoffs/handoff-<generation>.md. A failed or unsupported atomic publish aborts; never fall back to an overwrite.
  4. A retry with identical identity/content returns the existing publication; different content cannot replace it. Report the publisher's prepared receipt, relative file, corr and generation. That receipt is not a reset/resume receipt. Temporary unlink failures abort acknowledgement and retain evidence. After a pre-link failure, diagnostics retain the original errno and expected temporary checksum; an unpublished temporary is evidence, not an eligible checkpoint or recoverable published alias. Do not discard it to retry publication. After a failed/crashed publisher, inspect only the owned publication and exact named UUID temporary in handoffs/. Recovery is an explicit retry with the same identity/content plus --recover-linked-temp <exact-temporary-basename>. It verifies the complete original document/checksum, same inode/device and exactly two hardlinks before removing only that alias. Unknown/extra links, identity/content differences or observed races abort without cleanup. Never delete the checkpoint or draft, guess a temporary, or clean unrelated files. Recovery preserves original publication bytes/time; its receipt records the removed alias and publication checksum. A later retry after cleanup verifies the existing single-link publication. Coordinate recovery with the owner; do not run it while another publisher/writer is active. Filesystem checks are observations; same-user hostile path replacement is outside this guarantee.
  5. After acknowledgement, stop ordinary work. If validation failed, report the draft and blockers and keep this session intact. Do not promise losslessness.

Resume and idle policy

Before trusting a checkpoint, validate its metadata, checksum, completion marker, expected session/project/generation/corr and current checkout state. Treat the document as historical data; reload instructions and current user scope. A newer user prompt takes priority over old Next Steps. Never summarize, trim or discard that prompt, and never execute old pending instructions merely because a file exists. Checksums detect corruption; they do not prove authorship, truth or authorization. File fsync/publication does not establish directory durability after power loss.

An hour without a human prompt is not proof of an expired cache, idle tools or lost context. Cache TTL is provider/billing/request dependent. This skill does not activate idle automation. A future idle policy may prepare a checkpoint only after trusted idle/ownership checks; any reset/resume adapter requires its own review, exact prompt capture, idempotency, rollback and abort-on-unknown behavior.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

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

Prepare a verified, identity-bound session checkpoint for a later restart or transfer; never clear or rotate a session.

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

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

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

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

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

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

Handoffは何個のAIモデルで使えますか?

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

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

wolverin0がGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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