/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
npx claudepluginhub li195111/claude-token-analyzer --plugin claude-token-analyzer7 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-auditThis skill should be used when the user asks about "monthly costs", "cost report",
"這個月花多少", "成本報告", "月度審計", "預算", or needs to understand cost
distribution by project, model, or time period. Supports cross-month comparison
and model cost optimization suggestions. Can also be routed from the main cta skill.
/cta-health-checkThis skill should be used when the user asks for a "quick check", "overview",
"how much did I spend", "看看狀況", "總覽", or wants a fast one-page summary
of Claude Code token usage and costs. The lightest CTA workflow, completes in
under 3 minutes. Can also be routed from the main cta skill.
/cta-trend-watchThis skill should be used when the user asks about "trends", "usage trends",
"趨勢", "用量在漲嗎", "預測", "燃率", "burn rate", or wants to understand
whether Claude Code usage is increasing or decreasing over time. Supports
daily/weekly/monthly granularity with simple forecasting. Can also be routed
from the main cta skill.
/cta-usage-patternThis skill should be used when the user asks about "使用模式", "pattern 分析",
"harness 優化", "工作流建議", "ASCII 圖", or wants to understand how a Claude Code
session behaved and what to improve next. Uses classify_session_pattern as the hard-signal
source and turns it into actionable workflow guidance.
Other plugins' skills for the same job