rust
Installation
SKILL.md
ccusage Rust
Use this skill for the native Rust CLI under rust/crates/ccusage and rust/crates/ccusage-terminal.
Source Parity
Rust is the production implementation. Preserve existing Rust behavior unless the user explicitly scopes a behavior change. Before implementing or refactoring an agent, inspect the current Rust adapter and the agent source reference docs:
fd . rust/crates/ccusage/src/adapter/<agent>
sed -n '1,220p' rust/crates/ccusage/src/adapter/<agent>/README.md
When porting behavior from the historical TypeScript implementation, first find
the relevant commit or tag that still contains apps/ccusage/src/adapter, then
compare against that source. Do not assume origin/main still contains the
TypeScript adapter.