Files
claude-engineering-plugin/plugins/compound-engineering/skills/ce-optimize

ce-optimize

Run iterative optimization loops for problems where you can try multiple variants and score them with the same measurement setup.

When To Use It

Use /ce-optimize when:

  • The right change is not obvious up front
  • You can generate several plausible variants
  • You have a repeatable measurement harness
  • "Better" can be expressed as a hard metric or an LLM-as-judge evaluation

Good fits:

  • Tuning memory, timeout, concurrency, or batch-size settings where you can measure crashes, latency, throughput, or error rate
  • Improving clustering, ranking, search, or recommendation quality where hard metrics alone can be gamed
  • Optimizing prompts where both output quality and token cost matter

Usually not a good fit:

  • One-shot bug fixes with an obvious root cause
  • Changes without a repeatable measurement harness
  • Problems where "better" cannot be measured or judged consistently

Quick Start

Docs