perf · alexj11324 — Claude Code skill: what it does, how to install
perf is a Claude Code skill that guides performance troubleshooting across database bottlenecks, CPU spikes, memory leaks, and high latency. Runs during profiling or benchmark analysis.
AGPL-3.0 ★ 88 updated 2026-11-17
npx skills add alexj11324/Mikka --skill perf -a claude-codeWhat perf does
The skill enforces a measurement-first workflow. Before touching application code, it guides the agent to define baseline latency targets at p50 and p99, reliably reproduce the issue, and inspect flame graphs to isolate hot execution paths.
Practical playbooks cover typical backend bottlenecks: resolving N+1 database queries through batching or joins, tuning connection pool capacity, and reading execution plans for missing indexes. For caching, it evaluates cache-aside or write-through strategies while mitigating thundering herd spikes, and targets memory pressure by replacing buffered payloads with streams.
What it helps with
- Track down hot execution paths using CPU flame graphs and call trees
- Eliminate N+1 database queries via batched joins or eager loading
- Configure caching models while preventing thundering herd spikes
- Mitigate garbage collection pauses by streaming heavy network payloads
Example prompts for the agent
- Help me optimize this slow API request and inspect why latency spiked
- How do I detect and eliminate N+1 queries in this service?
- Profile this worker script because memory usage grows constantly
How to install perf
1Skills CLI (Vercel)
npx skills add alexj11324/Mikka --skill perf -a claude-code2Manually: put the files in place
~/.claude/skills/perf/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/perf/
1Skills CLI (Vercel)
npx skills add alexj11324/Mikka --skill perf -a codex2Manually: put the files in place
.agents/skills/perf/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add alexj11324/Mikka --skill perf -a cursor2Manually: put the files in place
.cursor/skills/perf/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install alexj11324/Mikka .claude/skills/perf2Manually: put the files in place
.github/skills/perf/SKILL.md1Skills CLI (Vercel)
npx skills add alexj11324/Mikka --skill perf -a gemini-cli2Platform CLI
gemini skills install https://github.com/alexj11324/Mikka --path .claude/skills/perfManually: put the files in place
.devin/skills/perf/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.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
How to install perf in Claude Code?
Run npx skills add alexj11324/Mikka --skill perf -a claude-code in your terminal. This writes the skill definition to ~/.claude/skills/perf/SKILL.md.
What does perf do?
It provides a structured methodology to debug application performance, focusing on verifiable latency targets, database index audits, caching policies, and CPU profiling.
When does the agent activate the perf skill?
The skill triggers whenever you report high response times, excessive memory consumption, slow database calls, or request help with caching and benchmarking.
Similar skills
All skills for Backend and APIs →perf by other authors comes first.