Review of "Claude Usage" version 1

Details Page Preview

Unofficial indicator for Claude subscription limits (5-hour session, weekly, per-model weekly, extra usage) and the API-equivalent cost of your Claude Code usage, broken down by day, model and project. Requires Claude Code to be signed in (it reads the OAuth token Claude Code stores in ~/.claude/.credentials.json, read-only, never refreshed) and python3. Usage data comes from Claude Code's local logs. Network access: api.anthropic.com (usage limits) and, once a day, the project's GitHub repository (raw.githubusercontent.com) for an updated price table (JSON data only; can be disabled in the preferences). The menu opens on hover and stays open on click. Not affiliated with or endorsed by Anthropic.

Extension Homepage
https://github.com/fredycibersec/gnome-shell-extension-claude-usage

No comments.

FAQ

Files

Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.

Shexli (experimental) warning 1

Shexli found 1 issue that may need reviewer attention.

EGO-L-003 warning

signals connected by extension should be disconnected in disable()

Signals assigned in `enable()` are missing matching disconnect calls in `disable()` or its helper methods.

Disconnect all signals

  • extension.js:377
            this.menu.connect('open-state-changed', (_m, open) => {
                if (open) {
                    this._renderMenu();
                    if (GLib.get_real_time() / 1e6 - this._lastOk > OPEN_REFRESH_AGE)
                        this.refresh(OPEN_REFRESH_AGE);
                } else {
                    this.

All Versions

Version Status
1 Unreviewed