What is token-watch?
token-watch is a Claude Code mod by nevermemo that 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. It is listed under Cost & usage and has 1 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | nevermemo |
| Repository | nevermemo/token-watch |
| Popularity | 1 GitHub stars |
| Category | Cost & usage |
| Security | High risk (44/100) |
| Rank | #4,051 of 9,397 Claude Code mods; #691 in Cost & usage |
| License | Apache-2.0 |
| Last commit | 2026-10-26 |
| Hooks | 10 events |
| Sees | compaction, every prompt |
| Draws on | Pane, AbovePrompt |
Is token-watch safe to install?
token-watch scores 44/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. It passed 2 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes files or config | Review |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.list | reads files |
$.fs.read | reads files |
$.fs.stat | reads files |
$.fs.write | writes files |
$.model.fork | drives Claude |
$.process.run | runs processes |
$.session.cwd | |
$.session.id | |
$.session.root | |
$.session.surfaces | |
$.session.usage | |
$.settings.read | reads settings |
$.state.get | |
$.state.set | |
$.store.delete | keeps its own state |
$.store.get | keeps its own state |
$.store.keys | keeps its own state |
$.store.set | keeps its own state |
$.ui.close | draws interface |
$.ui.notify | draws interface |
$.ui.open | draws interface |
$.ui.panes | draws interface |
$.ui.resolve | draws interface |
How do I install token-watch?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/nevermemo/token-watch claude plugin validate ./token-watch/.
- Install it. Run this in your terminal, then /reload-plugins in an open session.
git clone https://github.com/nevermemo/token-watch && claude --plugin-dir ./token-watch/.
Or ask Claude to set it up
Paste this into Claude Code and it installs token-watch for you:
Install the "token-watch" Claude Code mod from https://github.com/nevermemo/token-watch. Run claude plugin validate on it first and show me what it can access before you enable it.