Profile
Testing & QualityprofileProfile is an Agent Skill for testing & quality published in the ccusage/ccusage repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Profiles ccusage performance. Use when debugging slow Rust CLI commands, TypeScript package scripts, launchers, benchmarks, packaging hot paths, or branch-vs-main speed changes.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/ccusage/ccusage/blob/HEAD/.agents/skills/profile/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/profile, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
ccusage Profile
Use this skill for ccusage performance work. The production CLI is Rust-first, but the TypeScript launcher and Nushell benchmark/package scripts still need focused profiling when those paths are in scope.
Rust
Read references/rust.md for native CLI profiling, branch-vs-main worktree
setup, hyperfine validation, JSON parity checks, and PR performance workflow
reproduction.
TypeScript And Scripts
Read references/typescript.md for Node profiler commands, package script
profiling, TypeScript launcher/Nushell benchmark setup, profile reading, and
ccusage-specific performance lessons.