# Profile

> Profile 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.

- Skill name: `profile`
- Category: [Testing & Quality](https://www.openparable.com/skill/testing-quality/1)
- Source: https://github.com/ccusage/ccusage/blob/HEAD/.agents/skills/profile/SKILL.md
- Repository: ccusage/ccusage (17,193 GitHub stars when collected)

## SKILL.md

# 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.

---

Source: https://www.openparable.com/skill/testing-quality/profile (OpenParable). Cite the canonical URL above.
