Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

ce-optimize

Skill by EveryInc

Optimize a named target with a measured loop. It attributes a workload's cost or scores variants and keeps the winners, for working systems whose metric should move.

  • Score 94
  • 26k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install ce-optimize

Built from the published package, never by AI.

git clone --depth 1 https://github.com/EveryInc/compound-engineering-plugin /tmp/compound-engineering-plugin && mkdir -p ~/.claude/skills && cp -r /tmp/compound-engineering-plugin/skills/ce-optimize ~/.claude/skills/ce-optimize

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install ce-optimize in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

ce-optimize is an agent skill that runs a measured loop to improve a named target. It works in two modes: it attributes the cost of a named workload before searching implementations, or it scores variants of a change and keeps the winners. Confirmed improvements are kept on an optimize/<spec-name> branch, with a disk log of the experiments.

The run goes through setup, measurement scaffolding with a baseline, hypothesis generation, and an optimization loop that stops when one of several defined criteria is met. It asks for user approval before experiments start and before any new dependency is added, and it presents post-completion options at wrap-up. The skill is for working systems whose metric should move when the winning change is not already known.

Written from the project's SKILL.md and checked against it.

What it can do

  • Cost attributionAttributes the cost of a named workload before searching implementations.
  • Variant scoringScores variants of a change and keeps the winners.
  • Measurement harnessBuilds or validates a harness and writes a baseline before experiments run.
  • Hypothesis backlogAnalyzes the current approach, ranks hypotheses, and records them as a backlog.
  • Optimization loopRuns experiments in a loop and stops when a defined stopping criterion is met.
  • Wrap-up summaryWrites a summary and offers post-completion options once the run ends.

Try asking

  • Attribute the cost of this workload before changing anything
  • Score these variants and keep the ones that improve the metric
  • Optimize this target on a new branch and log each experiment

Good to know

  • Experiments start only after the user approves the Phase 1 setup.
  • Runs stop at a clean-tree check if files in scope have uncommitted changes.
  • Duration and cost are reported as unknown when they are not known.
  • Use ce-debug for diagnosis and ce-work when the change is already known.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/ce-optimize/SKILL.md, skills/ce-optimize/scripts/decide.mjs, skills/ce-optimize/scripts/experiment-worktree.sh, skills/ce-optimize/scripts/measure.sh, skills/ce-optimize/scripts/parallel-probe.sh. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB
  • references/agents/learnings-researcher.md17 KB
  • references/agents/repo-research-analyst.md15 KB
  • references/example-expensive-benchmark-spec.yaml2 KB
  • references/example-hard-spec.yaml2 KB
Show all 23 files
  • references/example-judge-spec.yaml2 KB
  • references/example-text-target-spec.yaml3 KB
  • references/experiment-log-schema.yaml28 KB
  • references/experiment-prompt-template.md9 KB
  • references/judge-prompt-template.md7 KB
  • references/loop.md40 KB
  • references/measurement.md21 KB
  • references/optimize-spec-schema.yaml29 KB
  • references/persistence.md11 KB
  • references/return-to-caller.md3 KB
  • references/spec.md11 KB
  • references/text-targets.md7 KB
  • references/usage-guide.md6 KB
  • references/wrap-up.md8 KB
  • scripts/decide.mjs31 KB
  • scripts/experiment-worktree.sh10 KB
  • scripts/measure.sh4 KB
  • scripts/parallel-probe.sh5 KB

Alternatives to ce-optimize

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

ce-optimize: common questions

When should I use ce-optimize instead of ce-debug?

Use ce-optimize when a working system's metric should move and the winning change is not already known. The source says to use ce-debug when the job is diagnosis.

Where are the results stored?

Confirmed improvements live on an optimize/<spec-name> branch, with a disk log. The experiment log on disk is the source of truth for the run.

Does it push changes or open a pull request on its own?

The source says the skill asks before wrap-up would push or open a PR. It does not push or open one without asking.

How do I install ce-optimize?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is ce-optimize free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is ce-optimize safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to ce-optimize?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

ce-optimize Install

Add to stack

Loading.