Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Metabuilder-Labsv0.7.0MITIn 1 marketplace
Shows token spend, context re-reads and savings tips for Claude Code sessions in a statusline and optimize report. Says it runs locally against your own telemetry with no signup or network account; needs the tj CLI on your PATH.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
1 caution to review before installing
A command runs shell commands (! syntax) when you invoke it
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
cost-optimization, observability, token-usage, statusline, context-window, cost-tracking, telemetry, tokens ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
This directory is the Claude Code plugin source (.claude-plugin/plugin.json at its root). It wraps the tj CLI — a local-first, OTel-native cost-saving utility for AI agents — as slash commands. It installs nothing on its own: tj still needs to be on your PATH (npx tokenjam@latest or pipx install tokenjam).
The plugin lives in a subdirectory of the tokenjam repo, so install it via a git-subdir marketplace source pointing at plugin (see the marketplace docs):
{
"name": "tokenjam",
"source": {
"source": "git-subdir",
"url": "https://github.com/Metabuilder-Labs/tokenjam.git",
"path": "plugin"
}
}
Or, once listed in a marketplace: /plugin install tokenjam@tokenjam.
Claude Code namespaces every plugin command to /<plugin-name>:<command>; this plugin's name (from plugin.json) is tokenjam.
| Command | Runs | Does |
|---|---|---|
/tokenjam:onboard | tj onboard --claude-code | Wires the zero-token statusline, the resume-brief SessionStart hook, and local OTel telemetry ingest. Idempotent — safe to re-run. |
/tokenjam:status | tj status | Token usage, cost today, active alerts, per agent. |
/tokenjam:optimize | tj optimize | Savings report: where quota is going and the concrete fix for each finding. |
/tokenjam:doctor | tj doctor | Health check on config, ingest endpoint, and storage. |
/tokenjam:uninstall | tj uninstall --yes | Unwires the statusline, hooks, and OTel env vars /tokenjam:onboard set up. |
hooks.json or .mcp.jsonThis plugin ships neither, on purpose:
settings.json only supports the agent and subagentStatusLine keys — there is no plugin-manifest path to the main terminal statusLine (plugins-reference, "File locations reference" table; statusline docs). /tokenjam:onboard gets there by calling tj onboard --claude-code instead, which writes statusLine directly into the user's ~/.claude/settings.json.tj onboard --claude-code already writes a SessionStart hook (tj resume-brief --from-hook) into the user's global settings, matched/deduped by a marker in the command string. A second, independent hooks/hooks.json in this plugin would not recognize that marker and would double-fire the hook on every session start. Routing through /tokenjam:onboard keeps ~/.claude/settings.json to one writer.tj mcp is tokenjam's in-request-path surface, built for SDK/API integrations that already sit in the loop. A measured A/B showed an in-loop MCP costs Claude Code / subscription users +36% model-weighted tokens versus the zero-token statusline — auto-wiring it here would regress the exact thing tj onboard --claude-code deliberately avoids. Run tj mcp yourself (or claude mcp add tj -- tj mcp) if you want it for an SDK-style use case.7-day copy clicks
npx claudepluginhub metabuilder-labs/tokenjam --plugin tokenjamBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground