Agent skill
optimize
Improve performance or resource usage with evidence and clear trade-offs.
Stars
163
Forks
31
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/optimize
SKILL.md
Optimize
Objective
- Reduce latency, resource consumption, or cost.
- Provide evidence and clarify trade-offs.
When to use
- Performance/cost is a requirement or pain point.
- There is baseline behavior to compare against.
Inputs
- User goal (what to optimize and target).
- AGENTS.md, rules, and relevant code/tests.
- Baseline metrics or observations; if missing, note it.
Process
- Restate the optimization goal and constraints.
- Identify likely hotspots and quick wins.
- Propose minimal changes; avoid behavior drift.
- Measure or reason about impact; note assumptions if unmeasured.
- Report trade-offs and follow-ups.
Outputs
- Changes made and why.
- Evidence (metrics or reasoned estimates) and assumptions.
- Trade-offs and next steps.
Edge cases
- If no baseline exists, state that and avoid speculative claims.
- Do not sacrifice correctness for micro-optimizations without approval.
Didn't find tool you were looking for?