claudemods

All Claude Code mods0xBADC0FFEE/claude-code-mods

context-tokens

A Claude Code mod in 0xBADC0FFEE/claude-code-mods

Shows the context tokens in use beside the prompt footer of the desktop app, green under 100k, yellow to 150k, red beyond. Needs function hooks (early access).

context-tokens reaches L0 (draws and remembers) by its classified calls and passed claude plugin validate on Claude Code 2.1.302.

Install hint

/plugin install context-tokens --marketplace 0xBADC0FFEE/claude-code-mods

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L1 Reads filesother: $.state.get, other: $.state.set, draws

Validation

Passed on Claude Code 2.1.302

View the source on GitHub Back to the list

What the scan recorded

Observed events
every tool call
Hooks
session.start, tool.call, turn.complete, ui.render {component=SessionMode, surface=desktop}
API calls
$.session.usage, $.state.get, $.state.set, $.ui.resolve
Validation on 2.1.302
Passed
Scanned revision
25913b6e4964
Marketplace passed
claude-code-mods

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. How the scan works.

Badge for your README

Reach badge for context-tokens Validation badge for context-tokens

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/0xBADC0FFEE--claude-code-mods--context-tokens-reach.svg)](https://mods.aidojo.si/mods/0xBADC0FFEE--claude-code-mods--context-tokens/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/0xBADC0FFEE--claude-code-mods--context-tokens-validates.svg)](https://mods.aidojo.si/mods/0xBADC0FFEE--claude-code-mods--context-tokens/)