Agent skill
optimize
Improve performance or resource usage with evidence and clear trade-offs.
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.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?