/ktms:usage-reportsfrom Keystone (KTMS)
Answers questions about LLM spend and usage from light-tokenmeter, grouped by project, user, model, action, or job. Builds recurring reports and alerts.
Ships in Keystone (KTMS). 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.
light-tokenmeter holds one event per model call (project, user, action, vendor, model, status,
tokens, cost). Keystone sends them; costs are cost_nanousd (USD x 1e9).
Prefer the tokenmeter MCP tools; the same answers come from the CLI:
| Question | MCP tool | CLI |
|---|---|---|
| Totals by dimension | usage_summary | tokenmeter usage summary --last 7d --group-by project |
| Who or what spends most | top_spenders | tokenmeter usage top --by cost --dimension user |
| Expensive or failing actions | cost_per_action | tokenmeter usage summary --group-by action,status |
| What a job cost | usage_by_meta | tokenmeter usage by-meta --key job_id --value ID |
| Raw rows for a sheet | - | tokenmeter usage export --last 30d --format csv |
cost_usd, which is exact. A truncated result is not a total: narrow the filters.
No rows means no traffic.ktms spend get key NAME or the ktms MCP
tool get_spend.read scope only; tokenmeter mcp refuses one that can write.-o json or -o csv (usage export takes --format and --out) and the
token from the environment
(TOKENMETER_TOKEN), or call pkg/client from Go; exit code 7 means retry later.Sources: light-tokenmeter Finding the greedy and the worthy, Command-line tool, MCP server for AI assistants.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
8 skills in this plugin
/assessSurvey the system you run in - its services and their LLM calls, deployment, data stores, secrets, observability and GPUs - and explain how Keystone (KTMS) fits into it - where it runs, what each service changes, what it brings and costs here, and which skill to run next. Read-only. Use when asked whether or how KTMS fits a project, an infrastructure or a machine, or where to start with KTMS./configureConfigure Keystone (KTMS) routing from a plain description - models and prices, rules per effort with fallbacks, client keys and policies, vendor keys, spend limits, teams - as a ktms config file planned and applied with ktms config or the ktms MCP tools. Use when asked to add a model, change routing, set limits or keep KTMS configuration in a repository./deployWrite deployment configuration for Keystone (KTMS) with light-tokenmeter and ktms-admin - Docker Compose or the Helm chart - with secrets from a secret store and a first-start runbook. Use when asked to deploy, install or containerize KTMS or its stack./integrateMove a service's LLM calls onto Keystone (KTMS), the self-hosted LLM gateway - one client module, an effort per call site, attribution, the error policy and tests. Use when a codebase calls OpenAI, Anthropic, Gemini or other vendor SDKs and should go through Keystone, or when asked to connect a service to KTMS./migratePlan and prepare a migration to Keystone (KTMS) from LiteLLM Proxy or from direct vendor SDK calls - inventory, a mapping table, a ktms config file and a cut-over plan. Use when asked to replace LiteLLM, OpenRouter-style aliases or scattered vendor SDK calls with KTMS./nodeAdd a local inference node (Ollama, vLLM, llama.cpp on a Mac or a GPU box; FreeToken on an NVIDIA RTX) to Keystone (KTMS) and route to it with cloud fallback. Use when asked to run models locally, add a GPU machine or keep traffic on private hardware.npx claudepluginhub ai-process/ktms --plugin ktmsOther plugins' skills for the same job