Claude Usage Overlay

Displays Claude.ai session and weekly usage stats as a floating overlay while you chat.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

Autor
tac-tac-go
Dziennych instalacji
3
Wszystkich instalacji
4
Oceny
0 0 0
Wersja
1.0.0
Utworzono
04-04-2026
Zaktualizowano
04-04-2026
Rozmiar
3,23 KB
Licencja
MIT
Dotyczy

# Claude Usage Overlay

A Tampermonkey userscript that displays your Claude.ai usage stats as a floating overlay while you chat.

## Features

- Shows current session usage (%) and reset time
- Shows weekly usage (%) and reset time
- Auto-refreshes every 5 minutes
- Click the overlay to manually refresh

## How It Works

Since `claude.ai` is a React SPA, usage data is not available in the raw HTML from `fetch()`. Instead, this script loads `/settings/usage` in a hidden iframe and waits for React to finish rendering, then reads the `aria-valuenow` attributes from the progress bar elements.

No extra API calls or tokens are consumed — it's equivalent to opening the settings page in a browser tab.

## Installation

1. Install [Tampermonkey](https://www.tampermonkey.net/)
2. Click **Install** on the Greasy Fork page
3. Open any `claude.ai/chat/*` page — the overlay appears in the bottom-right corner

## Author

tac-tac-go

## License

MIT