# perf-profiler

Runs profilers against CPU and memory hot paths, captures flame graphs, and records file and line evidence.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1600 installs · ★ 1965
- Author: composio-community
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/composio-community/awesome-claude-plugins/tree/HEAD/perf/skills/profile/SKILL.md
- Updated: 2026-07-26
- HTML: https://affpapa.org/en/nevibecode/skills/perf-profiler

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

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add composio-community/awesome-claude-plugins --skill perf-profiler -a claude-code
```
```bash
npx skills add composio-community/awesome-claude-plugins --skill profile -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/profile/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/profile/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add composio-community/awesome-claude-plugins --skill profile -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/profile/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add composio-community/awesome-claude-plugins --skill profile -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/profile/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install composio-community/awesome-claude-plugins profile
```

2. **Manually: put the files in place**
- File: `.github/skills/profile/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add composio-community/awesome-claude-plugins --skill profile -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/composio-community/awesome-claude-plugins --path perf/skills/profile
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/profile/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add composio-community/awesome-claude-plugins --skill profile -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/composio-community/awesome-claude-plugins/tree/HEAD/perf/skills/profile/SKILL.md

## When to use it
- 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
- Profile CPU usage with perf for `./build/bin/server --bench`
- Capture a JFR recording and flame graph while running `mvn test`

## Similar
- [linux-perf](https://affpapa.org/en/nevibecode/skills/linux-perf.md) — skill · 753 installs
- [flamegraphs](https://affpapa.org/en/nevibecode/skills/flamegraphs.md) — skill · 673 installs
- [android-profiler](https://affpapa.org/en/nevibecode/skills/android-profiler.md) — skill · 1000 installs
- [performance-profiler](https://affpapa.org/en/nevibecode/agents/performance-profiler.md) — subagent · 1875 installs
- [game-performance-profiler](https://affpapa.org/en/nevibecode/commands/game-performance-profiler.md) — command · 227 installs
- [pyroscope](https://affpapa.org/en/nevibecode/skills/pyroscope.md) — skill · 4700 installs

From the same set: [composio-community/awesome-claude-plugins](https://affpapa.org/en/nevibecode/by/composio-community/awesome-claude-plugins.md) — 8 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
