# perf-code-paths

This skill maps likely execution paths, entrypoints, and related files for a performance scenario before profiling. Useful when the hot area is unclear.

- 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/code-paths/SKILL.md
- Updated: 2026-07-26
- HTML: https://affpapa.org/en/nevibecode/skills/perf-code-paths

## What it does

The skill takes a performance scenario and connects it to entrypoints, handlers, files, and symbols. It narrows the search before a profiler is run.

It uses `repo-map` when available; otherwise it searches for entrypoints and handlers with `grep`. The result contains keywords and candidate paths, with symbols and a short reason for each path. Imports, exports, and call chains are included when they help explain the route through the code.

Supported languages are Rust, Java, JS/TS, Go, and Python. The output stays focused on the most relevant 10-15 files. Check `docs/perf-requirements.md` first, because it defines the canonical contract. The skill is available for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode.

## Install

### Claude Code (native platform)

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

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

### Codex

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

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

### Cursor

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

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

### GitHub Copilot

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

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

### Gemini CLI

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

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

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add composio-community/awesome-claude-plugins --skill code-paths -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/code-paths/SKILL.md

## When to use it
- trace entrypoints for a performance scenario
- connect handlers to likely hot files
- map call chains before profiling
- select relevant symbols from a repository

## Example prompts
- Map the code path for a slow application startup and identify the entrypoints.
- Use `repo-map` if available, otherwise use `grep`, then list the relevant files and symbols for profiling.
- Read `docs/perf-requirements.md` and return keywords, paths, symbols, and a short reason for each path.

## Similar
- [m10-performance](https://affpapa.org/en/nevibecode/skills/m10-performance.md) — skill · 3600 installs
- [rust-profiling](https://affpapa.org/en/nevibecode/skills/rust-profiling.md) — skill · 586 installs
- [python-performance-optimization](https://affpapa.org/en/nevibecode/skills/python-performance-optimization.md) — skill · 35675 installs
- [django-perf-review](https://affpapa.org/en/nevibecode/skills/django-perf-review.md) — skill · 2900 installs
- [memory-leak-detection](https://affpapa.org/en/nevibecode/skills/memory-leak-detection.md) — skill · 580 installs
- [golang-performance](https://affpapa.org/en/nevibecode/skills/golang-performance.md) — skill · 41900 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
