/tokentab:spendfrom tokentab
Reports current session spend and budget status from TokenTab. Use when asked about costs, budgets, or spending overview.
Ships in tokentab. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The live figures are in the TokenTab pane beside the chat: /tokentab:status opens
it (in a narrow terminal the numbers are on TokenTab's status line instead), and its
"Open full report" button writes the status page (where the money went as a flow
diagram, cost over time, every figure) and opens it. This skill is for answering in
words.
Run this as one Bash call, exactly as written. TokenTab never blocks it, even during a
budget stop, but only when it is run on its own: do not chain it with &&, pipes or
redirects. Keep the path in double quotes: it may hold a space
(Claude Desktop's folder under Application Support).
python3 "${CLAUDE_PLUGIN_ROOT}/tokentab/tokentab.py" --once
Where python3 is missing or is not Python 3 (Windows), run the same with python, else py -3, in its place.
It prints the figures as text: cost by rate, requests, call sources, budget bars and cost per tool. It contains terminal colour codes; leave those out when you relay it. Report the session cost and the budget lines in a few lines.
If the user wants the status page and has no pane, run on its own, the same way:
python3 "${CLAUDE_PLUGIN_ROOT}/tokentab/sankey.py"
It writes the page for the most recently active session as a snapshot file and prints
its path (state/status.html in TokenTab's data folder). It is a
file, so it shows the moment it was written; run the command again for a fresh one. In
Claude Desktop you can open it in the app's browser pane if they ask.
Every API call is in the ledger from the moment the plugin loaded, helpers and background calls included. If the figures look empty for the current session, the hooks module did not load; Claude Code 2.1.287 or later is needed, and the first prompt of the session says so.
For budgets, point the user to /tokentab:budget. Do not edit anything in
TokenTab's data folder, plugins/data/tokentab-supertab under $CLAUDE_CONFIG_DIR or
~/.claude, unless the user explicitly asks you to.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/budgetShow or change TokenTab's budget (its type, limit, stop at limit, carry over). Use when the user asks, in the same prompt, to see or change a TokenTab budget or limit, e.g. "raise my daily limit to 30", "make my budget the session" or "stop at the limit". Never change a limit unasked./exportExport a month of Claude Code spend from TokenTab as a CSV, one row per session, for an expense report or to account for it to a company. Use when the user asks to export, download or report their spend, sessions or costs, e.g. "export my spend", "I need last month's Claude Code costs for my expense report"./statusOpen the TokenTab pane beside the chat: what this session has spent, live, against its budgets. User-invoked.npx claudepluginhub getsupertab/claude-marketplace --plugin tokentabOther plugins' skills for the same job