Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use when improving performance, latency, throughput, memory usage, or general efficiency. Start by defining target metrics, measuring comprehensively, attributing bottlenecks, validating with static analysis, and prioritizing macro-optimizations before micro-optimizations.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-05 | ✗→✓ | ▲ Improved | 7% | 0% |
| case-18 | ✓→✗ | ▼ Worse | 4% | 0% |
| case-07 | ✓→✓ | = Same ✓ | 22% | 0% |
| case-12 | ✓→✓ | = Same ✓ | -3% | 0% |
| case-01 | ✓→✓ | = Same ✓ | 7% | 0% |
Use this skill when the task is about making a system faster, lighter, more scalable, or otherwise more efficient.
To optimize properly, you must know:
Do not optimize blindly.
Before changing code, make sure you have the right measurements.
You should have strong attribution for what each part of the system is doing.
If you can analyze runs after the fact with logs or traces, that is often much more powerful than relying only on live inspection.
Not every optimization problem needs runtime profiling first. Often, code inspection reveals the issue.
Check for:
Make sure your asymptotics are right and the overall algorithm makes sense before tuning small details.
Prioritize the largest wins first.
Micro-optimizations matter most after the major inefficiencies are already addressed.
Other measured skills in the registry, with their headline benchmark lift.