Skip to content
Security
Command

/tokens

Show token usage and estimated cost per model from your local AKA store

From plugin
ai-tc
1710 skills10 commands
> /plugin marketplace add akasecurity/ai-tc

Command definition

tokens.md
description: 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" tokens

This 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.

@akasecurity
Ships withai-tc

Guardrails for the agent harness. Regulated data stays on your machine, and every prompt and tool call is scanned before it runs.

Stars on GitHub

Momentum

stars in total
17
Star history of akasecurity/ai-tc on GitHub, a chart by star-history.com

Other commands on ai-tc.

More commands from other plugins.

deslop-reborn

deslop-reborn

Command

One iteration of the IronClaw Reborn de-slop loop — take ONE Reborn crate, fan out parallel review sub-agents (thermo-nuclear…

@nearai@nearaiInstall Command
audit

audit

Command

Audit a file, directory, or whole repo for insecure default configuration: fallback secrets, default credentials, fail-open…

@trailofbits@trailofbitsInstall Command
arsenal

arsenal

Command

Show which external bug-bounty tools are installed on this machine and print install hints for the missing ones. Curated from…

@awarexone@awarexoneInstall Command