jeo-skills: Skill for Claude Code

.agent-skills/ccusage/SKILL.md

ccusage is a skill for Claude Code from akillness/jeo-skills. It costs 153 tokens per session (1,223 once invoked), scanned A, original, MIT.

A command-line reporting tool that reads local coding-agent session logs and reports token usage and estimated costs. It can group results by day, week, month, session, billing block, project, or model.

In plain words
What is it for?
Use it to produce usage reports, compare models or projects, export JSON metrics, inspect date ranges, and monitor five-hour billing windows.
Why use it?
It turns raw session logs into usage and cost summaries, making it easier to understand how coding-agent usage changes over time. The reports are generated from local logs.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code; mentions Codex; mentions OpenCode.

This is akillness/jeo-skills's own configuration. It tells Claude Code how to work on jeo-skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything jeo-skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to akillness/jeo-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/akillness/jeo-skills/main/.agent-skills/ccusage/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/akillness/jeo-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ccusage

README.md
[![agentmods](https://agentmods.dev/badge/skills/akillness/jeo-skills/ccusage/github.svg)](https://agentmods.dev/skills/akillness/jeo-skills/ccusage)
Your own site
<a href="https://agentmods.dev/skills/akillness/jeo-skills/ccusage"><img src="https://agentmods.dev/badge/skills/akillness/jeo-skills/ccusage/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ccusage

Your own site · 80×15
<a href="https://agentmods.dev/skills/akillness/jeo-skills/ccusage"><img src="https://agentmods.dev/badge/skills/akillness/jeo-skills/ccusage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 153 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,223 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00153 $0.01223
Opus 5.5 $0.00061 $0.00489
Sonnet 5.5 $0.00031 $0.00245
Haiku 4.5 $0.00015 $0.00122

Measured 6d ago against content hash 7c4136beb0f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ccusage scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/preflight.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agent-skills/ccusage/SKILL.md · 74 lines

How it starts

The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ccusage (ccusage/ccusage)

Source-pinned operator guide for ccusage/ccusage (ccusage v20.1.2, MIT), a local-first CLI and monorepo suite (apps/ccusage, apps/codex, apps/opencode, apps/pi, apps/amp, apps/mcp) for analyzing token consumption and estimated USD cost from local session logs.

When to use this skill

  • Running daily, weekly, monthly, session, blocks, or beta statusline usage reports via npx ccusage@latest or bunx ccusage.
  • Aggregating multi-agent usage across --sources claude,codex,opencode,amp,droid,pi,copilot,gemini,antigravity or per-project --instances.
  • Exporting machine-readable --json metrics, per-model --breakdown tables, or --since/--until YYYYMMDD date windows.
  • Monitoring live 5-hour billing windows (ccusage blocks --live) or integrating @ccusage/mcp (apps/mcp).
  • Routing out: use jarrodwatts-hud for live HUD statuslines inside Claude Code, codeburn for dedicated interactive TUI budgeting, and cc-switch for API provider switching.

Instructions

  1. Run offline preflight first to confirm node, npx, bunx, or installed ccusage:

    python3 scripts/preflight.py --json
    
  2. Choose the appropriate subcommand and source filter:

    • Daily / weekly / monthly summaries:
      npx ccusage@latest daily --breakdown
      npx ccusage@latest monthly --json
      
    • Per-session & project breakdown: npx ccusage@latest session --instances
    • 5-hour billing window monitor: npx ccusage@latest blocks --active (or --live for real-time refresh)
    • Multi-agent unified view (v20+): npx ccusage@latest daily --sources claude,codex,opencode
  3. Respect offline, pricing-estimate, and privacy boundaries:

    • Use --offline in restricted/airgapped environments or CI pipelines so ccusage relies on cached LiteLLM pricing tables instead of fetching prices over the network.
    • Treat calculated USD costs as estimates derived from local JSONL token counts and cached model pricing; verify final billing against provider invoices.
    • Pass --json when scripting downstream reports, and redact workspace/project names before posting session or --instances exports publicly.

Read the full file on GitHub · 74 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 74 lines · 153 tokens per session scan A 7c4136beb0f8

Subscribe to this mod's changes

ccusage is a skill published in the GitHub repository akillness/jeo-skills (63 stars, last pushed today), licensed MIT. It adds 153 tokens to every session and 1,223 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-27.

Related

ccusage compared with skills from other repositories

ccusage next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ccusageakillness/jeo-skillsSkill63todayMITA153Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill331k5d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code