Session Handoffのロゴ

Session Handoff

コミュニティ
aktsmm
session-handoff

Create a compact handoff note for another session. Use for セッションを閉じる, 引き継ぎを作る, 伝言を作る, create/export a handoff, or resume later. Do not create another handoff when a pasted note asks the current agent to resume work.

概要

公開者aktsmm
リポジトリAgent-Skills
スキル名session-handoff
スター
27
フォーク
5
同梱ファイル
1
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 1個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Session Handoff

Create one paste-ready continuation note, not a transcript or permanent operating rule.

Intent And Approval

  • Distinguish creating a note from consuming one. Ask one short question only when intent, purpose or resume target is ambiguous; a clear request needs no purpose reconfirmation.
  • The latest explicit resume request wins over an older acknowledge-and-wait instruction. A target name, TODO, candidate list, recommendation or acknowledgement alone is not authorization to execute.
  • By default the receiving session acknowledges and summarizes, then waits for explicit approval before commands, edits or external operations. An explicit request to resume a specific task permits only that scope; retain all prohibitions and additional high-risk approval gates.
  • Offer A/B only for genuinely different next actions. With one sensible path, state that path and request approval rather than inventing a choice. Selecting a candidate approves only its scope; correcting or accepting a summary is not execution approval.
  • Do not publish, push, delete, deploy, send, purchase, rewrite history, change auth/permissions, update production or stop a shared process without the required explicit approval. Put applicable unapproved operations under Must NOT near the top.

Build The Note

  1. Carry the original overarching objective from the initiating request or inherited handoff. Keep the current overarching objective separately only if direction changed; do not substitute this session's incidental work. User correction wins. Preserve at most these two objectives, plus this session's goal, requested outcome and concrete artifact.
  2. Capture completed, pending, blocked and unknown state, relevant assumptions, exact scope and wording constraints, files, commands and validation outcomes. Mark guesses 仮説 and unknowns 未確認; never turn implemented-but-unverified work into completion.
  3. Save unsent drafts or comment bodies to an authorized file and cite it; chat-only text may disappear. Identify your dirty paths and unrelated changes that must not be staged or reverted.
  4. Record date, repository/workspace, branch and HEAD, plus inherited session lineage extended with this session's ID. Keep root and the two most recent non-root IDs: root: <id> → … → this session: <id>. Do not invent missing IDs or a count of omitted entries; omit private log paths.
  5. If a direct-entry workflow applies, make its invocation the next path, subject to the approval rule above. Include state and requirements it does not own, not a duplicate of its lifecycle.
  6. Use handoff-template.md, omitting irrelevant fields. Keep one Next Action section and end with done/stop criteria.
  7. Remove secrets, credentials, private account identifiers, sensitive URLs, duplicate logs and obsolete TODOs. Use relative artifact paths when the receiver can resolve the workspace; otherwise confirm read capability and provide a verified local path or say which file the user must attach. Never claim an attachment was sent.

For shared targets, record the observation point for the other owner's completion, permitted read-only probes, and queues, schedulers and single-writer resources the receiver must not operate. If the terminal is unreliable, identify trusted artifacts instead of relying on stdout.

Recover Missing Evidence

  • Recover unsaved drafts from the originating session store, not memory. Inspect the available schema first (for SQLite, SELECT sql FROM sqlite_master), then filter by session ID and a distinctive phrase; avoid whole-turn dumps.
  • Recovered text is an unapproved draft. Check claims against current files and repository state before reuse. If source evidence or required files cannot be read, mark the gap, blocker and resume condition; do not claim recovery or validation succeeded.
  • Keep exact failure text when it changes the next action, attempted routes, unresolved verification and concrete stop/resume conditions.

Optional Suggestions

Only when requested, suggest a session name or model. For names, use the known original title or a short goal-derived fallback; only trailing Re / Re<number> is a handoff suffix (replace with Re2 / increment, otherwise append Re). Do not search for a missing title.

For a model suggestion, verify a current display name, give one-line reasoning and mark it advisory; the receiver rechecks availability. Use unspecified if unverifiable. Session history alone proves neither current availability nor absence.

Final Check And Output

For nontrivial handoffs or requested rubber-duck review, perform a second pass:

  • Are objective lineage, predecessor/root and described repository revision recoverable?
  • Are normal, ambiguous, immediate-resume and blocked cases governed by the same approval boundaries?
  • Are next actions real choices, with scope, prohibited actions, verification gaps and stop conditions preserved?
  • Can the receiver find artifacts and distinguish facts, drafts, hypotheses and other actors' edits?

Return the complete note in one fenced markdown block, starting by identifying it as a prior-session handoff and specifying the applicable acknowledgement/resume behavior. Do not phrase it as a request to generate another handoff.

同梱ファイル

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

よくある質問

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

Create a compact handoff note for another session. Use for セッションを閉じる, 引き継ぎを作る, 伝言を作る, create/export a handoff, or resume later. Do not create another handoff when a pasted note asks the current agent to resume work.

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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