ccusage

24 mods across 1 repository, 18k stars between them.

agent-sources

01

ccusage/ccusage

Skill Claude CodeCodex

Guides ccusage agent source formats. Use when checking where an agent stores its logs, how raw records map to tokens and models, how precomputed costs interact with cost modes, or which reports an agent supports.

18k +35 today A 47 tokens

ast-grep

02

ccusage/ccusage

Skill Claude CodeCodex

Guides ccusage structural code searches with ast-grep. Use when finding Rust or TypeScript syntax patterns, validating migrations, or writing AST-based search commands.

18k +35 today A 36 tokens

cmux-debug

03

ccusage/ccusage

Skill Claude CodeCodex

Verifies ccusage terminal output in a real cmux pane. Use when changing responsive tables, column widths, progress bars, spinners, or colors, or when a long-running command's output must be captured beyond the visible viewport.

18k +35 today A 51 tokens

commit

04

ccusage/ccusage

Skill Claude CodeCodex

Creates atomic Conventional Commits. Use when committing code changes, splitting a diff into independently revertable hunks, staging precise patches non-interactively, or writing commit messages.

18k +35 today A 36 tokens

create-pr

05

ccusage/ccusage

Skill Claude CodeCodex

Runs the full PR lifecycle. Use when creating a branch, committing, pushing, opening a PR, requesting AI review, replying to review threads, and driving CI to green.

18k +35 today A 38 tokens

development

06

ccusage/ccusage

Skill Claude CodeCodex

Guides ccusage monorepo development. Use when editing workspace packages, the npm launcher or native packaging, dependencies, or shared configuration, and when running the just build, typecheck, test, format, or check recipes.

18k +35 today A 50 tokens

docs

07

ccusage/ccusage

Skill Claude CodeCodex

Routes ccusage documentation impact work. Use when code or behavior changes affect README files, docs guides, VitePress navigation, screenshots, schema docs, or user-facing commands/options, and when auditing whether a change needs docs at all.

18k +35 today A 49 tokens

fix-ci

08

ccusage/ccusage

Skill Claude CodeCodex

Diagnoses and fixes failing GitHub Actions checks with gh. Use when CI fails on a pull request and needs logs, focused fixes, and validation.

18k +35 today A 33 tokens

nushell

09

ccusage/ccusage

Skill Claude CodeCodex

Guides ccusage Nushell scripts. Use when adding, editing, formatting, or validating .nu files under .github/scripts, apps/ccusage/scripts, or scripts, including their Nix shebangs and GitHub Actions callers.

18k +35 today A 51 tokens

profile

10

ccusage/ccusage

Skill Claude CodeCodex

Profiles ccusage performance. Use when a CLI command is slow, when checking that an optimization actually helped, when comparing a branch against main, or when reading a captured CPU profile.

18k +35 today A 38 tokens

reduce-similarities

11

ccusage/ccusage

Skill Claude CodeCodex

Detects duplicated Rust code with the dev-shell similarity-rs CLI. Use when reviewing .rs files for repeated functions, impl methods, or parallel struct and enum definitions, or before extracting a shared helper.

18k +35 today A 47 tokens

rust-binary-size

12

ccusage/ccusage

Skill Claude CodeCodex

Guides Rust binary size reduction for ccusage. Use when changing the rust/Cargo.toml release profile, dependency features, native packaging size, or investigating executable bloat with cargo bloat.

18k +35 today A 44 tokens

rust

13

ccusage/ccusage

Skill Claude CodeCodex

Guides ccusage Rust implementation work. Use when editing rust/crates or rust/adapters, adapter module layout, crate visibility and hawk findings, embedded pricing, or Rust behavior parity.

18k +35 today A 40 tokens

skill-creator

14

ccusage/ccusage

Skill Claude CodeCodex

Guides repo-local skill creation and updates. Use when adding or editing .agents/skills, root AGENTS.md routing, SKILL.md frontmatter, description trigger quality, references layout, skill scripts, or skill file line budgets.

18k +35 today A 51 tokens

tdd

15

ccusage/ccusage

Skill Claude CodeCodex

Guides t-wada Red-Green-Refactor TDD for ccusage logic changes. Use when implementing a feature, writing a regression test for a bug, or refactoring Rust or TypeScript behavior test-first.

18k +35 today A 47 tokens

testing

16

ccusage/ccusage

Skill Claude CodeCodex

Guides ccusage Rust and Node tests. Use when adding or fixing cargo tests, Node test files, CLI snapshots, Claude model pricing, LiteLLM compatibility, or fixture-backed tests.

18k +35 today A 40 tokens

typescript

17

ccusage/ccusage

Skill Claude CodeCodex

Guides ccusage TypeScript and JavaScript work. Use before reading or editing .ts, .tsx, .js, or .jsx files, including the npm launcher, Node tests, build and fixture scripts, mocks, and typed literals.

18k +35 today A 51 tokens

WorktreeCreate

18

ccusage/ccusage

Hook Claude Code

Runs when a git worktree is created, running an inline shell check. From ccusage/ccusage.

18k +35 today A tokens not measured

WorktreeRemove

19

ccusage/ccusage

Hook Claude Code

Runs when a git worktree is removed, running an inline shell check. From ccusage/ccusage.

18k +35 today C tokens not measured

ccusage

20

ccusage/ccusage

Settings file Claude Code

Agent settings declaring 2 hook events (WorktreeCreate, WorktreeRemove) and 5 allowed tools.

18k +35 today C tokens not measured

context7

21

ccusage/ccusage

MCP server Claude CodeCodexCursor +2

Context7's hosted MCP server: up-to-date library documentation and code examples on demand. Remote server at mcp.context7.com.

18k +35 today A tokens not measured

grep

22

ccusage/ccusage

MCP server Claude CodeCodexCursor +2

MCP server "grep", hosted remotely at mcp.grep.app, as configured in ccusage/ccusage.

18k +35 today A tokens not measured

ccusage AGENTS.md

23

ccusage/ccusage

Instructions file CodexOpenCode

AGENTS.md instructions for ccusage/ccusage, covering agents.md, skill routing, repository shape and policy.

18k +35 today A 841 tokens

ccusage CLAUDE.md

24

ccusage/ccusage

Instructions file

Claude Code instructions for ccusage/ccusage, a project described as: npx ccusage.

18k +35 today A 3 tokens