/tokentab:exportfrom tokentab
Exports Claude Code spend from TokenTab as a CSV, one row per session, for expense reports or cost accounting. Supports custom months and explains cost basis (API-rate equivalent vs. estimate).
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.
Run this as one Bash call, exactly as written, in the folder the user wants the file in
(the current one unless they say otherwise). 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" --export
That exports this calendar month. For another month, add it as YYYY-MM
(--export 2026-11); "last month" is the month before today's. Where python3 is
missing or is not Python 3 (Windows), run the same with python, else py -3, in its
place.
It writes tokentab-YYYY-MM.csv (replacing one of that name) and prints its path. Give
the user the path and the month's total in one or two lines. Each row is a session with
calls that month: its id, title, project folder, first and last call, models, calls,
cost_usd for that month only, and basis:
subscription, API-rate equivalent: a Pro, Max or Team plan; nothing was billed per
call, and the dollars are what the same use would cost at API rates.unknown: TokenTab can't tell how the session was billed (per call on the API, an
Enterprise account, or no plan reading yet). The dollars are TokenTab's estimate at
Anthropic's API rates, not the invoice.Say what the basis column means, so nobody mistakes the figures for a bill. TokenTab
counts only sessions on this computer since it was installed. Older months can be
missing sessions whose transcripts Claude Code has since cleaned up.
What SKILL.md sets; muted values are Claude Code's defaults
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./spendSummarise what this Claude Code session has spent against its budgets, from TokenTab's figures. Use when the user asks about TokenTab, their spend, cost so far, budgets, a cost overview or spending flow, or to "see where the money goes"./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