Generates a quick one-page report summarizing Claude Code token usage, costs, sessions, projects, cache hit rates, subagent ratios, and top spenders. Routes to cost, anomaly, project, or trend audits.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-token-analyzer:cta-health-checkThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
One-page summary of Claude Code usage status. The lightest CTA workflow.
One-page summary of Claude Code usage status. The lightest CTA workflow.
Execute mcp__token-analyzer__sync_db. Skip if already called in this conversation.
Execute mcp__token-analyzer__analyze_global with no parameters.
Format results as the following table. Fill every row from the analyze_global response.
## CTA 健檢報告
| 指標 | 值 |
|------|-----|
| 總會話數 | X |
| 總專案數 | X |
| 總成本 | $X.XX USD |
| 平均 Cache 命中率 | X.X% |
| Subagent Token 佔比 | X.X% |
### Top 3 燒錢專案
1. project-name — $X.XX (N sessions)
2. ...
3. ...
### Top 3 最貴會話
1. a1b2c3d4 — $X.XX (project-name)
2. ...
3. ...
After presenting the summary, ask:
「要深入哪個方向?成本 / 異常 / 專案 / 趨勢」
Route the user's choice to the corresponding sub-skill:
| Choice | Invoke |
|---|---|
| 成本 | cta-cost-audit |
| 異常 | cta-anomaly-hunt |
| 專案 | cta-project-review |
| 趨勢 | cta-trend-watch |
$X.XX USD.85.3%).a1b2c3d4).125,000).For MCP tool parameter details: ${CLAUDE_PLUGIN_ROOT}/skills/cta/references/tool-reference.md
npx claudepluginhub li195111/claude-token-analyzer --plugin claude-token-analyzerRoutes Claude Code token usage and cost analysis requests to sub-skills for health checks, cost audits, anomaly detection, project reviews, trends, and usage patterns. Provides quick overviews for ambiguous intents.
Generates daily cost reports for Claude Code usage including total spend, running sessions, token stats via claude-view MCP tools. Useful for cost, spending, budget queries.
Analyzes Claude Code conversation logs for token usage, costs, cache hit rates, workflow patterns (skills, agents, hooks), and cost optimizations. Generates interactive HTML dashboard.