perf-profiler — Claude Code skill: what it does, how to install
Runs profilers against CPU and memory hot paths, captures flame graphs, and records file and line evidence.
npx skills add composio-community/awesome-claude-plugins --skill perf-profiler -a claude-code
npx skills add composio-community/awesome-claude-plugins --skill profile -a claude-codeWhat perf-profiler does
The skill standardizes performance profiling across development sessions. Before collecting metrics, the agent inspects debug symbols and expects a clear benchmark scenario. Profiling without a concrete scenario violates the skill rules.
Results come back in a compact format. The report details the invoked command, the profiler name, specific hotspots formatted as file:line, and paths to captured artifacts like flame graphs or JFR snapshots. Canonical rules and contracts are drawn directly from docs/perf-requirements.md.
This stops guessing. Every performance bottleneck remains anchored to verifiable traces and symbol lines.
What it helps with
- pinpoint CPU and memory bottlenecks down to file and line
- generate flame graphs and capture JFR or perf traces
- enforce verification of debug symbols prior to profiling
- produce structured reports with benchmark artifacts
Example prompts for the agent
- Profile CPU usage with perf for
./build/bin/server --bench - Capture a JFR recording and flame graph while running
mvn test
How to install perf-profiler
1Skills CLI (Vercel)
npx skills add composio-community/awesome-claude-plugins --skill perf-profiler -a claude-codenpx skills add composio-community/awesome-claude-plugins --skill profile -a claude-code2Manually: put the files in place
~/.claude/skills/profile/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/profile/
1Skills CLI (Vercel)
npx skills add composio-community/awesome-claude-plugins --skill profile -a codex2Manually: put the files in place
.agents/skills/profile/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add composio-community/awesome-claude-plugins --skill profile -a cursor2Manually: put the files in place
.cursor/skills/profile/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install composio-community/awesome-claude-plugins profile2Manually: put the files in place
.github/skills/profile/SKILL.md1Skills CLI (Vercel)
npx skills add composio-community/awesome-claude-plugins --skill profile -a gemini-cli2Platform CLI
gemini skills install https://github.com/composio-community/awesome-claude-plugins --path perf/skills/profileManually: put the files in place
.devin/skills/profile/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add composio-community/awesome-claude-plugins --skill profile -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about perf-profiler
How to install perf-profiler in Claude Code?
Run npx skills add composio-community/awesome-claude-plugins --skill perf-profiler -a claude-code in your terminal.
What does perf-profiler do?
It runs profiling commands under a defined scenario and returns hotspots with line numbers and flame graphs.
What prerequisites does perf-profiler enforce?
It requires debug symbols to be present and follows the contract defined in docs/perf-requirements.md.