/claude-token-analyzer:cta-project-reviewfrom claude-token-analyzer
Analyzes projects across cost, efficiency, tool usage, and architecture dimensions using token-analyzer MCP tools. Useful for project health checks and token usage analysis.
Ships in claude-token-analyzer. 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.
Deep analysis of a specific project across cost, efficiency, tool usage, and architecture dimensions.
Execute mcp__token-analyzer__sync_db. Skip if already called in this conversation.
If user specifies project_path, use it directly.
Otherwise, execute mcp__token-analyzer__analyze_global and present the project ranking for user to choose.
Execute mcp__token-analyzer__analyze_project with:
project_path: the identified projectinclude_subagents: truesort_by: "cost"limit: 20## CTA 專案分析 — project-name
### 成本面
| 指標 | 值 |
|------|-----|
| 總會話數 | N |
| 總成本 | $X.XX USD |
| 平均每會話 | $X.XX |
| Top 3 最貴會話 | a1b2c3d4($X), e5f6g7h8($X), ... |
### 效率面
| 指標 | 值 |
|------|-----|
| 平均 Cache 命中率 | X.X% |
| 低 cache 會話比例 | X.X% |
### 工具面
| 工具 | 總調用 | 使用會話數 | 每會話平均 |
|------|--------|-----------|-----------|
| Read | X | N | X.X |
| Bash | X | N | X.X |
| Agent | X | N | X.X |
### 架構面
| 指標 | 值 |
|------|-----|
| Main 會話數 | N |
| Subagent 會話數 | N |
| Subagent Token 佔比 | X.X% |
| Subagent Overhead | $X.XX (估算) |
| 模型分布 | Opus X% / Sonnet X% / Haiku X% |
To calculate overhead, execute mcp__token-analyzer__analyze_project again with include_subagents=false.
Overhead = (cost with subagents) - (cost without subagents).
For top 3 most expensive sessions, execute mcp__token-analyzer__analyze_session with each session_id.
$X.XX USD.125,000).For MCP tool parameter details: ${CLAUDE_PLUGIN_ROOT}/skills/cta/references/tool-reference.md
What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/ctaThis skill should be used when the user asks to "analyze token usage", "check costs",
"how much did I spend", "token analysis", "session analysis", "cta", or mentions
Claude Code usage efficiency, token spending, or cost optimization.
Routes to 6 workflow sub-skills: cta-health-check, cta-cost-audit, cta-anomaly-hunt,
cta-project-review, cta-trend-watch, cta-usage-pattern. Also handles ambiguous intent with a quick overview.
Do NOT trigger for: building token-related features, tokenizer/NLP work, or non-Claude cost analysis.
/cta-anomaly-huntThis skill should be used when the user asks about "anomalies", "problems", "有異常嗎",
"哪些會話有問題", "排查", "診斷", or suspects waste or efficiency issues in Claude Code
usage. Scans for 6 types of statistical anomalies with severity scoring and automatic
drill-down into suspicious sessions. Can also be routed from the main cta skill.
/cta-cost-auditnpx claudepluginhub li195111/claude-token-analyzer --plugin claude-token-analyzerOther plugins' skills for the same job