Claude - Plan usage limit

Monitors the Claude usage page and notifies on every 5% increase in plan consumption.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

Autor
O B (BO)
Denně instalací
1
Celkem instalací
1
Hodnocení
0 0 0
Verze
1.6.3
Vytvořeno
01. 05. 2026
Aktualizováno
02. 05. 2026
Size
22,1 KB
Licence
MIT
Spustit na

Monitors the Claude usage page (claude.ai/settings/usage) and sends a notification each time plan consumption crosses a
5 % threshold (5, 10, 15, 20 ... %).

Features

- Auto-detects French and English UI on the Claude page; notification text follows navigator.language.
- Uses GM_notification with a unique tag so a new threshold replaces the previous notification instead of stacking up.
- Stays armed even when the browser window is minimized: polling runs inside a Web Worker to bypass background-tab timer
throttling.
- Detects SPA navigation (pushState / replaceState / popstate), so the notification fires as soon as you land on
/settings/usage, even from another route on claude.ai.
- Optional sound cue (880 Hz, ~400 ms, generated via the Web Audio API), toggled from the Violentmonkey / Tampermonkey
extension menu - useful on Firefox where OS notifications are short-lived.
- Persistent settings via GM_setValue (no localStorage pollution).

Permissions

- GM_notification - desktop notifications
- GM_registerMenuCommand - sound toggle in the extension menu
- GM_setValue / GM_getValue - persistent settings

Privacy

The script reads the percentage and reset countdown directly from the DOM of the official Claude usage page. No network
request, no third-party service, no telemetry.

Compatibility

Tested on Firefox + Violentmonkey and Chrome + Tampermonkey.

- Chrome + Tampermonkey: fully persistent OS notifications (kept until clicked).
- Chrome + Violentmonkey: persistent thanks to the onclick parameter.
- Firefox + Violentmonkey: notifications fire but are short-lived (Firefox limitation, Bugzilla #1187270). Enable the
sound option for a reliable signal when the window is minimized.