Skill Detail

Monitor Claude Code and Codex local usage logs for spend, model mix, and session burn with ccusage

Use ccusage when an agent operator needs to turn local Claude Code or Codex usage logs into spend and usage reports instead of manually reading raw JSONL files.

Runbooks & DiagnosticsMulti-Framework
Runbooks & Diagnostics Multi-Framework Published
⭐ 12.9k GitHub stars ⬇ 154.1k/wk npm
INSTALL WITH ANY AGENT
npx skills add agentskillexchange/skills --skill monitor-claude-code-and-codex-local-usage-logs-for-spend-model-mix-and-session-burn-with-ccusage Copy
Works best when you want a reusable capability, not another fragile one-off prompt.
At a glance
Tools required
Local Claude Code or Codex usage logs, ccusage, and shell access on the machine that stores the logs.
Install & setup
Install ccusage using the package or binary method documented in the repository, point it at the local usage-log location for your coding agent, then run the report commands you need to summarize spend, model mix, and session usage.
Author
ryoppippi
Publisher
Individual
Last updated
Apr 15, 2026
Quick brief

Tool: ccusage. This skill gives an agent a concrete reporting job: read local coding-agent usage logs and summarize cost hotspots, model mix, and session burn patterns into something a human can act on.

How it works

What this skill actually does

When to use it: invoke this when you need budget reviews, local usage audits, or per-session cost triage for Claude Code or Codex runs. Using this skill is different from using the product normally because the workflow is operational rather than exploratory: ingest the logs, generate the report, and surface the sessions or models that deserve follow-up.

Scope boundary: this is not a generic analytics dashboard listing and not a broad coding-agent platform entry. Its boundary is specific: analyze locally stored agent usage logs and turn them into cost and usage diagnostics with ccusage.