Claude - Plan usage limit

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

लेखक
O B (BO)
दैनिक इंस्टॉल
1
एकूण इंस्टॉल
1
रेटिंग
0 0 0
आवृत्ती
1.6.3
बनवली
2026-05-01
अपडेट केली
2026-05-02
आकार
22.1 KB
License
MIT
यांवर लागू होते:

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.