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 L1 (reads) and passed claude plugin validate.

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 Readsreads mod state, draws

Validation

Passed

Listed under Context and usage meters for Claude Code.

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
Passed
Scanned revision
87842f6d1495
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. What a mod can access and how the scan works.

More from 0xBADC0FFEE/claude-code-mods

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/)