0xKT

Claude Limit Watch — Development skill for Claude Code

Development community

Resume Claude Code sessions stuck on the five-hour usage limit.

How to install Claude Limit Watch

This entry records only its repository, not the path inside it, so there is no exact command to give. Open 0xKT/claude-limit-watch and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Limit Watch does

Resume Claude Code sessions stuck on the five-hour usage limit.

Alternatives in Development

  • Resume Work From A Handoff Document — You are tasked with resuming work from a handoff document through an interactive process 10k ★
  • Claude Swap — Switch between multiple Claude Code accounts, with automatic rate-limit rotation, usage dashboard, and paralle 2k ★
  • Harness Remote — Native-session control plane for Codex, Claude Code, OpenCode, OMP and PI 356 ★

README

claude-limit-watch

[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE) ![Python 3.9+](https://img.shields.io/badge/python-3.9%2B-blue.svg) ![Platform: macOS](https://img.shields.io/badge/platform-macOS-lightgrey.svg) ![Dependencies: none](https://img.shields.io/badge/dependencies-none-brightgreen.svg)

Resume Claude Code sessions that are stuck on the five-hour usage limit.

One Python file, standard library only, no daemon framework. It watches the live Claude Code sessions on your machine, waits for the limit to reset, and sends the stuck session one message so it picks up where it stopped. In daily use on the author's machine; the first real event is in the log below.

At a glance

02:00:46 proj-81: rate_limited(five_hour, reset 04:30) -> wait: not-yet (until 04:31)
02:15:46 alive: 2 live, 2 watched
...
04:31:49 proj-81: nudging (reset 04:30, ok, attempt 1, auto, via .../native-binary/claude)
04:32:04   -> delivered (msg_id 05fd2fb6-..., $0.094, auto)
04:33:04 proj-81: nudge 343050bd confirmed in transcript

The session had been rejected at 02:00 and sat idle for two and a half hours while its owner slept. It was nudged 109 seconds after the reset, picked up its task 26 seconds later, and kept working. Cost: $0.094.

Why

Long-running Claude Code sessions stop when the account's five-hour limit is hit. Sessions launched by the Cursor / VS Code extension run in stream-json print mode, where Claude Code's own `autoContinueAtUsageLimit` does not apply, so someone has to come back after the reset and type "continue". This tool does that.

Polling only reads local files. The one thing that costs money is the sender turn: a throw-away `claude -p` process on a credential outside the blocked subscription, one Claude Haiku turn per nudge.

How it works

sequenceDiagram
    participant W as watcher (run loop)
    participant F as ~/.claude files
    participant S as sender (claude -p)
    participant R as stuck sess