---
title: "resume-nudge"
url: "https://claudemods.dev/ja/builds/resume-nudge-e79398"
source: "https://github.com/LeeHigma0201/claude-code-mods/tree/main/mods/resume-nudge"
source_type: "github"
repo: "https://github.com/LeeHigma0201/claude-code-mods/tree/main/mods/resume-nudge"
author: "LeeHigma0201"
author_handle: "LeeHigma0201"
stars: 3
category: "ワークフロー・CI"
categories: ["workflow"]
tags: ["claude-code", "hooks", "plugin", "resume", "session"]
permission_level: 2
scan_complete: true
install: "claude plugin marketplace add LeeHigma0201/claude-code-mods\nclaude plugin install resume-nudge"
added: "2026-10-05T17:00:17.047Z"
updated: "2026-10-01T21:48:43Z"
locale: "ja"
content_locale: "ja"
---

# resume-nudge

再起動やクラッシュでターン途中に切れたセッションを検出し、標準の再開プロンプトを下書きします。/resume-here で送信できます。

## Description

再起動またはクラッシュでターンが中断された後にセッションを開き直すと、標準の再開プロンプト「The Mac restarted and this session was interrupted. Pick up exactly where you left off…」をプロンプトボックスに下書きします。Enter で送信するか、無視してください。

最後のメッセージが、戻ってこないツール呼び出し、Claude がまだ答えていないツール結果、Claude がまだ答えていないプロンプトのいずれかである場合、セッションは中断されたと判断します。ターンが回答で終了した場合や、Esc（[Request interrupted by user]）を押した場合は中断扱いにしません。

- /resume-here はセッションが中断されているときだけ再開プロンプトを送信します。下書きテキストが見えないスマートフォンから使えます。
- /resume-here check は判定結果を報告するだけで、送信しません。

自動で送信することはありません。セッション中の /resume の後には session.start が発火しないため、その場合は /resume-here を使います。

Hooks：session.start、command.run。Calls：$.session.messages、$.prompt.fill、$.prompt.submit（/resume-here からのみ。コマンドへの回答後、タイマーで実行）、$.ui.toast、$.command.register。

Test：claude plugin test .（4 tests）。

## Install

```
claude plugin marketplace add LeeHigma0201/claude-code-mods
claude plugin install resume-nudge
```

## Original README

# resume-nudge

When a session reopens after a restart or crash cut a turn off, this drafts the standard pick-up prompt
in the prompt box: "The Mac restarted and this session was interrupted. Pick up exactly where you left off…".
Press Enter to send it, or ignore it.

It treats the session as **cut off** when the last message is one of:
- a tool call that never returned,
- a tool result Claude never answered,
- a prompt Claude never answered.

It is **not** cut off when the turn ended with an answer, or when you pressed Esc (`[Request interrupted by user]`).

- **`/resume-here`** sends the pick-up prompt, only when the session is cut off. Use it from the phone, where
  the drafted text may not show.
- **`/resume-here check`** reports the verdict and never sends.

It never sends on its own. `session.start` does not fire after an in-session `/resume`; use `/resume-here`
there.

Hooks: `session.start`, `command.run`. Calls: `$.session.messages`, `$.prompt.fill`, `$.prompt.submit`
(only from `/resume-here`, on a timer once the command has answered), `$.ui.toast`, `$.command.register`.

Test: `claude plugin test .` (4 tests).
