extreme-software-optimization — Claude Code skill
The extreme-software-optimization skill locates performance hot spots with measurements, then checks that changes preserve behavior. Use it for slow code, latency, throughput, or algorithm work.
no license 286 installs ★ 655 updated 2026-10-20
npx skills add pedronauck/skills --skill extreme-software-optimization -a claude-codeWhat extreme-software-optimization does
The skill structures optimization as a repeatable loop: capture a baseline, inspect runtime behavior, rank opportunities, make one change, verify the result, then measure again. It can use hyperfine, cargo flamegraph, py-spy, clinic flame, heaptrack, and strace for measurement and profiling.
Every change gets a behavior check covering ordering, tie-breaking, floating-point results, RNG seeds, and golden outputs. Checksums are handled with sha256sum and golden_checksums.txt; a change can be rolled back with git revert <sha>.
Its patterns include batching repeated fetches, memoization, buffer reuse, binary search, and alternate data structures. Profiling is mandatory here, so the workflow starts with measurements for p50, p95, p99, throughput, and memory.
What it helps with
- locate runtime hot spots
- capture latency and throughput baselines
- compare algorithmic alternatives
- verify outputs after an optimization
- detect regressions with golden files
Example prompts for the agent
- Profile this code, rank its hot spots, and build an opportunity matrix with a Score.
- Capture a baseline, inspect the slowest path, and propose one isolated optimization.
- Optimize this function, save golden outputs, and verify them with
sha256sum -c golden_checksums.txt.
How to install extreme-software-optimization
1Skills CLI (Vercel)
npx skills add pedronauck/skills --skill extreme-software-optimization -a claude-code2Manually: put the files in place
~/.claude/skills/extreme-software-optimization/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/extreme-software-optimization/
1Skills CLI (Vercel)
npx skills add pedronauck/skills --skill extreme-software-optimization -a codex2Manually: put the files in place
.agents/skills/extreme-software-optimization/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add pedronauck/skills --skill extreme-software-optimization -a cursor2Manually: put the files in place
.cursor/skills/extreme-software-optimization/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install pedronauck/skills skills/curated/extreme-software-optimization2Manually: put the files in place
.github/skills/extreme-software-optimization/SKILL.md1Skills CLI (Vercel)
npx skills add pedronauck/skills --skill extreme-software-optimization -a gemini-cli2Platform CLI
gemini skills install https://github.com/pedronauck/skills --path skills/curated/extreme-software-optimizationManually: put the files in place
.devin/skills/extreme-software-optimization/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add pedronauck/skills --skill extreme-software-optimization -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 extreme-software-optimization
How do I install extreme-software-optimization in Claude Code?
Run npx skills add pedronauck/skills --skill extreme-software-optimization -a claude-code. The skill will be available at ~/.claude/skills/extreme-software-optimization/SKILL.md.
What does extreme-software-optimization do?
It guides performance work from measurement and profiling through ranked opportunities, isolated changes, and checks that outputs still match.
How does the skill check that behavior stayed the same?
For each change, it checks ordering, tie-breaking, floating-point handling, and RNG seeds, then validates golden outputs with sha256sum.