ClaudeMods
☰
JA
● — 人がオンライン ・閲覧 — 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 icedevil2001

auto-continue

5時間の使用制限ウィンドウがリセットするのを待ち、「continue」を自動的に送信してセッションを継続するClaude Code mod。

翻訳済み

この mod について

5時間の制限に達して離席しても、このmodはウィンドウがリセットするのを待ち(プラスマージン)、「continue」を送信するので、セッションはあなたなしで続行されます。

インストール:

claude plugin marketplace add icedevil2001/auto-continue
claude plugin install auto-continue@auto-continue --scope user

modsをサポートするClaude Codeビルドが必要です(2.1.286でテスト済み)。フットプリント: エンジンのレート制限使用量を読み取り、1つのタイマーを設定し、1つのプロンプトを送信します。ネットワーク、ファイル、プロセスは使用しません。

使用:

  • 5時間ウィンドウが25%使用されると(またはアームド中)、プロンプトの上にボタン Auto-continue: ON/OFF が表示され、その横にウィンドウ使用量のバーとリセット時刻が表示されます。
  • またはスラッシュコマンドを使用: /auto-continue(トグル)、/auto-continue on|off|status。
  • アームド中に制限でターンが失敗すると、トーストに再開時刻が表示されます。自分でプロンプトを入力すると、保留中の再開はキャンセルされます。

オプション(設定メニュー): | オプション | デフォルト | | --- | --- | | threshold | 25 | | graceMinutes | 5 | | message | continue |

制限:

  • 5時間ウィンドウのみが処理されます。7日間の制限は無視されます。
  • 制限ヒットは、5時間ウィンドウが95%以上で将来のリセット時刻があるときに、APIエラーのターンとして検出されます。
  • アームド状態と保留中のタイマーはセッション内に存在します。Claude Codeを終了するとそれらは失われます。

インストール

まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。

claude plugin marketplace add icedevil2001/auto-continue
claude plugin install auto-continue@auto-continue
原文 / README

auto-continue

A Claude Code mod. Part of my wider collection, claude-mods.

Hit the 5-hour limit and walk away: this mod waits for the window to reset (plus a margin) and submits "continue" so the session carries on without you.

Install

claude plugin marketplace add icedevil2001/auto-continue
claude plugin install auto-continue@auto-continue --scope user

Needs a Claude Code build with mods (tested on 2.1.286). Footprint: reads the engine's rate-limit usage, sets one timer, submits one prompt; no network, files or processes.

Use

  • A button Auto-continue: ON/OFF appears above the prompt once the 5-hour window is 25% used (or while armed), next to a bar of the window used and the time it resets.
  • Or use the slash command: /auto-continue (toggle), /auto-continue on|off|status.
  • When a turn fails on the limit while armed, a toast shows the resume time; typing your own prompt cancels the pending resume.

Options (config menu)

| Option | Default | | | --- | --- | --- | | threshold | 25 | % of the 5-hour window at which the button appears | | graceMinutes | 5 | wait after the reset time before sending | | message | continue | the prompt sent on resume |

Limits

  • Only the 5-hour window is handled; the 7-day limit is ignored.
  • A limit hit is detected as an API-error turn while the 5-hour window reads >= 95% with a future reset time. If the limit error leaves the usage reading stale, the resume will not arm; see the ponytail: note in hooks/register.tsx.
  • Armed state and the pending timer live in the session; quitting Claude Code drops them.

関連作品