Session Pauseのロゴ

Session Pause

コミュニティ
iamneilroberts
session-pause

Write a detailed session handoff file by hand so the next session can pick up where this one left off. Use when the context window is filling up, you're switching phases, or you're stopping for a break.

概要

公開者iamneilroberts
リポジトリclaude-skills
スキル名session-pause
スター
37
フォーク
6
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Session Pause

Generate a detailed handoff file so a fresh session can pick up seamlessly.

Steps

  1. Gather git state by running these commands:

    • git rev-parse --show-toplevel (repo root — used for repo tagging)
    • git branch --show-current
    • git status --short
    • git diff --stat
    • git log --oneline -5
  2. Summarize from session memory — write these sections:

    • What Was Accomplished: completed tasks with file paths
    • Decisions Made: key decisions with rationale
    • Files Created or Modified: table with file path, action, description
    • Remaining Work: actionable next steps with specific file paths
    • Open Questions: anything needing user input
  3. Determine output path:

    • Use the repo root from git rev-parse --show-toplevel as the base directory (resolves to the worktree root when inside a worktree)
    • If docs/summaries/ exists under that base, write there
    • Otherwise create .claude-sessions/ under that base
    • Filename: pause-{YYYY-MM-DD}-{topic-slug}.md where topic-slug is a 2-3 word summary of the work
  4. Write the handoff file using atomic write (write to .tmp then rename):

markdown
# Session Pause: {Topic}
**Date:** {YYYY-MM-DD} at {HH:MM}
**Repo:** {output of `git rev-parse --show-toplevel`}
**Branch:** {branch}
**Uncommitted changes:** {yes/no}
**Stale if:** {1–4 mechanically checkable conditions that invalidate this handoff, pinned to exact refs — e.g. "main moves past {SHA}" · "PR #{N} merges" · "{path} changes" · "prod redeploys off {deploy-id}"; write `nothing — self-contained` if it can't rot}

## What Was Accomplished
1. {task} -> output at `{file path}`

## Decisions Made
- {decision}: {what} BECAUSE {why}

## Files Created or Modified
| File Path | Action | Description |
|-----------|--------|-------------|
| `{path}` | Created/Modified | {what changed} |

## Git State

{git status --short}


## Recent Changes

{git diff --stat}


## Recent Commits

{git log --oneline -5}


## Remaining Work
1. **Next**: {specific action with file paths}
2. **Then**: {specific action}

## Open Questions
- [ ] {question} — impacts {what}

## Instructions
Continue the work from this session. Start with the Remaining Work section.
Review git state to confirm nothing has changed since the handoff. Evaluate each
"Stale if" condition in the header: if any holds, say which, treat the claims it
covers as stale, and re-verify them against the live artifact before acting.

4.5. Curate the handoff. If a curator agent is available (ships in this collection as agents/curator.md; check by attempting the dispatch, skip silently if not), dispatch it (Agent tool, subagent_type: curator) with the handoff file path. It verifies the handoff's claims against git/files/read-only checks and the repo's invariants doc, if any. Append its report to the handoff file under ## Curator Verification (atomic write) — this catches confabulation before the next session trusts it.

  1. Warn about uncommitted changes if git status --short shows output. If the curator returned a CONTRADICTED claim, flag it prominently — the next session must not trust it as-is.

  2. Tell the user: "Handoff saved to {path}. Type /clear to continue — if the auto-resume.sh hook is installed it loads automatically, otherwise run /session-resume."

    • If inside a worktree, also mention: "Note: this handoff is in the worktree. /session-resume will find it and switch back into the worktree automatically."

よくある質問

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

Write a detailed session handoff file by hand so the next session can pick up where this one left off. Use when the context window is filling up, you're switching phases, or you're stopping for a break.

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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