token-sparkline

by Plagemes · ★ 8 · updated 15 Oct 2026

BandsCommandswarnings

0

A sparkline of tokens per turn right above the prompt.

install token-sparkline

Install

/plugin marketplace add Plagemes/claude-mods
/plugin install token-sparkline@claude-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startturn.completecommand.runui.render
API calls
$.clock.after$.command.register$.fs.read$.mods.hello$.mods.mode$.mods.registerTab$.state.get$.state.set$.store.get$.store.set$.ui.log$.ui.resolve
Draws
AbovePrompt
Reach
level 1 of 3 reads filesreads mod statepersists statedrawsother: $.mods.helloother: $.mods.modeother: $.mods.registerTab

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/Plagemes/claude-mods
Path in repo
mods/token-sparkline
Source commit
e9815ce the exact code the scan read
Author
@Plagemes
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from Plagemes/claude-mods

tool-timeline

Plagemes/claude-mods

A timeline pane of every tool call with duration, status and input summary.

★ 8PanesGuardsCommands

tracker-guard

Plagemes/claude-mods

Blocks adding analytics and tracking SDKs that haven't been approved.

★ 8GuardsPromptAutomation

turn-timer

Plagemes/claude-mods

Times every turn and tells you when one runs long.

★ 8Status line

typecheck-gate

Plagemes/claude-mods

Type-checks the project at the end of every editing turn so errors never slip by.

★ 8Status lineGuardsCommands

url-allowlist

Plagemes/claude-mods

Restricts WebFetch to the domains you allow.

★ 8ToastsGuardsCommands

venv-guard

Plagemes/claude-mods

Blocks pip install outside an active virtualenv so system Python stays clean.

★ 8GuardsAutomation

vuln-scan

Plagemes/claude-mods

After installs, runs npm audit or pip-audit and shows any vulnerabilities in a pane.

★ 8PanesStatus lineGuards

watch-mode-guard

Plagemes/claude-mods

Blocks watch-mode and never-ending commands run in the foreground, where they'd hang the turn.

★ 8GuardsAutomation

web-trail

Plagemes/claude-mods

/sources lists every page Claude fetched or searched this session.

★ 8GuardsCommandsAutomation

webhook-notify

Plagemes/claude-mods

Posts to Slack, Discord, Teams or ntfy when a long task finishes.

★ 8ToastsGuardsCommands

whatsapp-bridge

Plagemes/claude-mods

Lets Claude keep you posted on WhatsApp — progress, problems, reports, questions — and lets you steer every session from your phone, through one self-hosted OpenWA number.

★ 8PanesGuardsCommands

why-log

Plagemes/claude-mods

Records why each file was changed; /why shows the reasoning behind any file's edits.

★ 8GuardsCommandsAutomation

Other mods in Bands, close to this one by stars.