Handoffのロゴ

Handoff

コミュニティ
TyrealQ
handoff

Capture session decisions, conventions, and lessons into plan files, auto-memory, and CLAUDE.md so a fresh session resumes cleanly. Use for "hand off," "wrap up," "update docs for next session," or before /compact.

概要

公開者TyrealQ
リポジトリq-skills
スキル名handoff
スター
109
フォーク
1
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/TyrealQ/q-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/TyrealQ/q-skills.git /tmp/q-skills
mkdir -p .claude/skills
cp -r /tmp/q-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

Captures the load-bearing outcomes of a session and writes them to the right durable location. Goal: a future session can pick up without re-deriving context from the transcript.

Workflow

Step 1 — Survey the session

Identify what changed beyond the literal edits.

bash
git log --oneline <session-start>..HEAD
git diff <session-start>..HEAD --stat

If session-start is unclear, infer from the first commit timestamp after a context reset, or ask the user.

For each commit, note:

  • Decisions: terminology choices, structural conventions, methodological positions taken
  • Conventions reinforced or established: subtitle patterns, voice rules, argument structures, naming schemes
  • Controversies resolved: where the user pushed back and a final position landed
  • Lessons that emerged: when an early draft failed, what symptom triggered the fix, what rule the fix expressed (latent rules > literal pushbacks)

Skip routine work: typo fixes, formatting-only changes, mechanical refactors. Only capture outcomes a future session would otherwise have to re-derive.

Step 2 — Locate destinations

Discover what already exists; do not create new doc locations without asking.

bash
# Plan files (task tracking, current state, open items)
ls ~/.claude/plans/ 2>/dev/null | grep -i <project-keyword>

# Auto-memory (cross-session learnings keyed to project)
ls ~/.claude/projects/<project-id>/memory/ 2>/dev/null

# Project CLAUDE.md (project conventions, structure, banned terms)
ls <project-root>/CLAUDE.md 2>/dev/null

# User CLAUDE.md (cross-project preferences)
ls ~/CLAUDE.md 2>/dev/null

Match each session outcome to the right destination:

Outcome typeDestination
Task progress, completed items, residual open itemsPlan file
Verified-state anchors (specific phrasings that mark current correct state)Plan file
Writing/coding lessons, symptom → rule patternsAuto-memory *_lessons.md
Banned terms, terminology decisionsAuto-memory *_terms.md (or project CLAUDE.md if it already lists them)
Project-level conventions (file layout, naming, structure)Project CLAUDE.md
Cross-project user preferencesUser CLAUDE.md

Do not duplicate. If a rule lives in CLAUDE.md, do not also add it to memory; if a lesson lives in memory, do not restate it in the plan.

Step 3 — Apply updates

Read every target file before editing. Match the existing style, depth, and section conventions.

  • Plan files: mark resolved items with strikethrough or RESOLVED YYYY-MM-DD tag; append new open items; refresh "verified state" anchors with the line content as it stands now (not as drafted earlier in the session).
  • Auto-memory *_lessons.md: append numbered lessons (L7, L8, ...) with trigger + corrective move + brief rationale. Update the file's frontmatter description if the scope expanded.
  • MEMORY.md index: add a pointer line only if a new memory file was created. Update the existing entry's hook only if its underlying content shifted materially. Keep each line under ~150 chars.
  • Project CLAUDE.md: insert into the appropriate existing section (style rules, structure, etc.). Do not create a session log section. If a new convention does not fit any section, ask before adding.
  • User CLAUDE.md: only for preferences that generalize beyond the current project. Be conservative.

Step 4 — Produce a resume prompt

Output a single message the user can copy-paste verbatim into a fresh session as the opening prompt. The next Claude reads this message and a fresh, cold-started auto-memory load — nothing else from the prior transcript carries over. The resume prompt must be self-contained.

Wrap the resume prompt in a clearly delimited block (e.g., ```text ... ```) so the user can copy it cleanly.

Required sections, in order:

  1. Context — one sentence on what project this is and what stage the work is at.
  2. Read first — explicit absolute paths to the files the next Claude should load before acting (plan file, key memory files if not auto-loaded, the canonical source document, the active downstream document). Annotate each with one phrase on why.
  3. Where we left off — last 2–4 commits relevant to the resumed thread (hash + one-line summary). Do not list every commit; only the load-bearing ones.
  4. Conventions to honor — only conventions established or reinforced THIS session that have not yet propagated into memory or CLAUDE.md. If everything is durable, write "All conventions are captured in memory and the plan file."
  5. Next task — the single most actionable next item with a file:line pointer and a one-sentence statement of the change to make. If multiple, list up to 3 in priority order.
  6. Known gotchas — only if relevant: discrepancies, blockers, or non-obvious traps the next session should be aware of. Omit the section if none.

After the wrapped resume prompt, add a 2-line operator note for the user (outside the block):

  • where the new commits and doc updates landed (commit-hash range, files touched)
  • whether anything is uncommitted

Keep the resume prompt itself under ~250 words. The user pastes it; the next Claude executes from there.

Anti-patterns

  • Don't write session logs into project files. Permanent docs capture conventions, not session narratives.
  • Don't update CLAUDE.md with rules already in memory (and vice versa). Each rule has one durable home.
  • Don't create new doc locations without asking. Use what exists.
  • Don't restate edits as "decisions." A typo fix is not a decision. A terminology choice the user pushed back on twice is.
  • Don't bloat memory. Each memory file should have a clear scope. If a new lesson does not fit any existing file, ask before creating a new one.
  • Don't extract lessons the user has not validated. A first-draft pattern from one session is a hypothesis, not a rule. Wait for repeated correction or explicit confirmation before persisting.

よくある質問

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

Capture session decisions, conventions, and lessons into plan files, auto-memory, and CLAUDE.md so a fresh session resumes cleanly. Use for "hand off," "wrap up," "update docs for next session," or before /compact.

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

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

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

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/TyrealQ/q-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」は無料ですか?

はい。TyrealQがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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