claudemods

All Claude Code modsnevermemo/token-watch

token-watch

A Claude Code mod in nevermemo/token-watch

Plan usage, the context window and the prompt cache countdown as a banner above the Claude Code prompt, with burn rates, alerts and an opt-in keep-warm. TW Settings picks what it shows; TW Monitor lists every session's context and cache. /token-watch hides the banner, or prints it as text where it can't be drawn.

token-watch reaches L2 (writes or runs) and passed claude plugin validate with warnings.

To install it, open the repository and follow the author’s setup instructions. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsruns processes, writes files, drives Claude, reads files, reads env vars, reads settings, reads mod state, persists state, draws

Validation

Passed with warnings

Listed under Prompt cache mods for Claude Code, Context and usage meters for Claude Code.

View the source on GitHub Back to the list

What the scan recorded

Observed events
every prompt, compaction
Hooks
session.start, session.measure, turn.start, turn.complete, prompt.submit, session.compact, session.end, command.run {command=token-watch}, ui.message, ui.render {component=Pane, requestId=token-watch-settings}, ui.render {component=Pane, requestId=token-watch-monitor}, ui.render {component=AbovePrompt}
API calls
$.clock.after, $.clock.every, $.clock.now, $.command.register, $.env.get, $.fs.exists, $.fs.list, $.fs.read, $.fs.stat, $.fs.write, $.model.fork, $.process.run, $.session.cwd, $.session.id, $.session.root, $.session.surfaces, $.session.usage, $.settings.read, $.state.get, $.state.set, $.store.delete, $.store.get, $.store.keys, $.store.set, $.ui.close, $.ui.notify, $.ui.open, $.ui.panes, $.ui.resolve
Surface modules
hooks/band.tsx
Validation
Passed with warnings
Scanned revision
8e7a8bc04f35

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

Badge for your README

Reach badge for token-watch Validation badge for token-watch

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/nevermemo--token-watch--token-watch-reach.svg)](https://mods.aidojo.si/mods/nevermemo--token-watch--token-watch/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/nevermemo--token-watch--token-watch-validates.svg)](https://mods.aidojo.si/mods/nevermemo--token-watch--token-watch/)