/tokens
Show token usage and estimated cost per model from your local AKA store
$ npx -y skills add akasecurity/ai-tc --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/tokens
Context preview
What this command does when you run it.
Show token usage and estimated cost per model from your local AKA store
Command definition
tokens.mddescription: Show token usage and estimated cost per model from your local AKA store
AKA tokens
Run the read script and show the user its output **exactly as printed**. The script already prints its content inside a Markdown code fence — reproduce that verbatim and do **not** add another code fence, strip the fence, or reformat it. The fence is required: it is space-aligned monospace (a per-model usage table) that Markdown would otherwise collapse. Do not reformat or summarize the table; you may add at most one short sentence of context after it.
node "${CLAUDE_PLUGIN_ROOT}/scripts/query.js" tokensThis reads the local store at `~/.aka/data/aka.db` (token counts reconciled from your Claude Code transcripts, grouped by provider/model, with estimated USD cost). It is read-only. Token counts are exact; cost is **derived** at read time — a `—` means unknown pricing (a local or non-Anthropic model), so a `≥` total is a lower bound, not an understatement. If the store is empty, the script says so — relay that as-is; nothing is wrong.
AKA Security — We secure agent harnesses at the source. AI Traffic Control (ai-tc) is an open-source control plane for coding agents.
Repo: akasecurity/ai-tc
Other commands on ai-tc.
- /audit
Show AKA's recent enforcement decisions
Open command - /dashboard
Launch the AKA web dashboard in your browser (reads your local store)
Open command - /detections
List installed AKA detection packs, versions, and available updates
Open command - /exceptions
List active AKA detection exceptions (masked) from the local store
Open command - /findings
List recent AKA findings (masked) from the local store
Open command - /health
Show AKA detection activity and local security posture
Open command

