perf-code-paths — Claude Code skill: setup
This skill maps likely execution paths, entrypoints, and related files for a performance scenario before profiling. Useful when the hot area is unclear.
npx skills add composio-community/awesome-claude-plugins --skill perf-code-paths -a claude-code
npx skills add composio-community/awesome-claude-plugins --skill code-paths -a claude-codeWhat perf-code-paths 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.
What it helps with
- 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 for the agent
- Map the code path for a slow application startup and identify the entrypoints.
- Use
repo-mapif available, otherwise usegrep, then list the relevant files and symbols for profiling. - Read
docs/perf-requirements.mdand return keywords, paths, symbols, and a short reason for each path.
How to install perf-code-paths
1Skills CLI (Vercel)
npx skills add composio-community/awesome-claude-plugins --skill perf-code-paths -a claude-codenpx skills add composio-community/awesome-claude-plugins --skill code-paths -a claude-code2Manually: put the files in place
~/.claude/skills/code-paths/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/code-paths/
1Skills CLI (Vercel)
npx skills add composio-community/awesome-claude-plugins --skill code-paths -a codex2Manually: put the files in place
.agents/skills/code-paths/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add composio-community/awesome-claude-plugins --skill code-paths -a cursor2Manually: put the files in place
.cursor/skills/code-paths/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install composio-community/awesome-claude-plugins code-paths2Manually: put the files in place
.github/skills/code-paths/SKILL.md1Skills CLI (Vercel)
npx skills add composio-community/awesome-claude-plugins --skill code-paths -a gemini-cli2Platform CLI
gemini skills install https://github.com/composio-community/awesome-claude-plugins --path perf/skills/code-pathsManually: put the files in place
.devin/skills/code-paths/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add composio-community/awesome-claude-plugins --skill code-paths -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-code-paths
How do I install perf-code-paths in Claude Code?
Run npx skills add composio-community/awesome-claude-plugins --skill perf-code-paths -a claude-code, then run npx skills add composio-community/awesome-claude-plugins --skill code-paths -a claude-code. Finally, check ~/.claude/skills/code-paths/SKILL.md.
What does perf-code-paths do?
It maps a performance scenario to entrypoints, handlers, files, and symbols. The skill returns selected paths with brief evidence before profiling starts.
Which languages does perf-code-paths support?
It supports Rust, Java, JS/TS, Go, and Python. Its output focuses on 10-15 files most closely tied to the scenario.