performance-optimization skill
Diagnoses and improves measured latency, throughput, memory, CPU, bundle, rendering, query, or resource performance by defining a target, profiling a representative workload, locating the bottleneck, making one change at a time, and comparing before/after evidence. Use for performance work or regressions. Not for guessing optimizations without a reproducible workload or for generic refactoring.
- GitHub stars
- 100
- Files
- 2
- Last commit
- Aug 26, 2026
- License
- MIT
- Allowed tools
- —
What does the performance-optimization skill do?
performance-optimization diagnoses and improves measured latency, throughput, memory, CPU, bundle, rendering, query, or resource performance by defining a target, profiling a representative workload, locating the bottleneck, making one change at a time, and comparing before/after evidence. Use for performance work or regressions. Not for guessing optimizations without a reproducible workload or for generic refactoring.
How to install the performance-optimization skill
Each command copies the skill folder into the client's skills directory. Restart the client or start a new session to load it.Install the performance-optimization skill in Plugin
/plugin marketplace add thiientv/godmode /plugin install godmode@godmode
Install the performance-optimization skill in Claude Code
~/.claude/skills/performance-optimization/SKILL.md
$ npx degit thiientv/godmode/skills/performance-optimization ~/.claude/skills/performance-optimizationInstall the performance-optimization skill in Claude Code (project)
.claude/skills/performance-optimization/SKILL.md
$ npx degit thiientv/godmode/skills/performance-optimization .claude/skills/performance-optimizationInstall the performance-optimization skill in Codex
~/.agents/skills/performance-optimization/SKILL.md
$ npx degit thiientv/godmode/skills/performance-optimization ~/.agents/skills/performance-optimizationInstall the performance-optimization skill in Gemini CLI
~/.gemini/skills/performance-optimization/SKILL.md
$ npx degit thiientv/godmode/skills/performance-optimization ~/.gemini/skills/performance-optimizationInstall the performance-optimization skill in Claude.ai
npx degit thiientv/godmode/skills/performance-optimization performance-optimization && zip -r performance-optimization.zip performance-optimization # claude.ai → Customize → Skills → + → Create skill → Upload a skill → performance-optimization.zip
SKILL.md
View on GitHubPerformance Optimization
Measure the bottleneck before optimizing it.
Workflow
- Define the user or system target: p50/p95/p99 latency, throughput, startup, memory ceiling, frame budget, bundle size, query cost, or error budget.
- Build a representative and repeatable workload with realistic data, concurrency, cache state, network, and device assumptions.
- Capture a baseline with profiler, trace, query plan, browser performance panel, bundle analyzer, or resource metrics. Record variance and warm/cold state.
- Rank bottlenecks by user impact and cost. Form one falsifiable hypothesis.
- Make the smallest change, rerun the same workload, and compare effect and regressions. Keep only improvements that meet the target without violating correctness, accessibility, cost, or operability.
- Add a regression budget/check where the risk is likely to recur.
Read measurement.md. Do not optimize a benchmark that does not represent the user path, hide work by weakening correctness, or claim improvement from one noisy run.
Completion condition
The bottleneck, baseline, change, before/after result, variance, trade-offs, and remaining limits are documented.
Files in this skill
2performance-optimization skill questions
How do I install the performance-optimization skill in Claude Code?
Run npx degit thiientv/godmode/skills/performance-optimization ~/.claude/skills/performance-optimization. Claude Code loads skills from ~/.claude/skills (all projects) or .claude/skills (one project) and uses a skill when its description matches the task.
Which clients can use the performance-optimization skill?
Any client that reads the Agent Skills format: Claude Code, Codex, Gemini CLI and claude.ai (upload as a ZIP). Scripts in the skill run only where the client allows code execution.