Analyzes Claude Code and Claude Desktop token usage, cost, quota burn, model mix, cache read/write, and 5-hour block consumption using ccusage data. Explains why quota was exhausted or which model is expensive.
Ships in daymade-claude-code. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use this skill to produce evidence-based usage explanations from local ccusage data. Separate observed numbers from interpretation, and explain quota burn in human terms.
Verify ccusage is available:
ccusage --version
If missing, install or update with npm install -g ccusage@latest or run with npx ccusage@latest.
Run the bundled analyzer for the requested window:
python3 /path/to/claude-usage-analyst/scripts/analyze_claude_usage.py \
--since YYYY-MM-DD --until YYYY-MM-DD --timezone Asia/Shanghai
Default --since/--until is today in the selected timezone.
For historical comparison, set --since to an earlier date such as the first day of the month; otherwise rank/median fields only describe the single target day.
If the user asks about a specific model comparison, pass aliases:
python3 scripts/analyze_claude_usage.py --model-a fable --model-b opus-4-8
Read references/explanation-guide.md when writing the final answer.
ccusage output or the bundled analyzer output.ccusage claude measures local Claude Code usage logs, including Claude Desktop's Claude Code sessions when those local logs exist. It is not a complete ordinary Claude.ai chat bill.Use this structure unless the user asks otherwise:
Keep the answer readable for non-technical users. Avoid unexplained terms like "cache read" without a one-sentence translation.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
claude-usage, token-tracking, cost-analysis, quota-monitoring
/daymade-claude-code:claude-usage-analystfrom daymade-claude-code
npx claudepluginhub daymade/claude-code-skills --plugin daymade-claude-code22 skills in this plugin
/agent-web-search-setupFixes web search on an agent whose model backend can't run it: a relay/reseller proxying Claude or Codex returns empty instead of failing. Use when web search returns nothing, a model insists a shipped product doesn't exist, someone wants to give an agent internet access, or the user is on a third-party base URL, relay, or 中转站. Diagnoses which built-in tools are dead, removes them, and installs a working replacement./claude-code-hooksWrites, tests, registers and debugs Claude Code hooks (PreToolUse, PostToolUse, SessionStart, Stop) that turn a rule the model keeps breaking into a hard gate. Use when the user wants to block or intercept a tool call, add a guard rail, fix a misfiring hook, or says 拦截 / 守卫 / 钩子 — including "make it stop doing X"./claude-code-ops-routerOther plugins' skills for the same job