SkillsReviewed · EveryInc

ce-optimize

ce-optimize is an AI coding assistant skill for developers improving code or prompts through experiments, but it depends on trustworthy evaluation and compatible agent tools. It combines numeric measurements or model scoring with isolated Git changes, configurable stopping limits and resumable experiment logs.

Researched 16 Nov 2026

In short.

ce-optimize is an AI coding assistant skill for developers comparing optimization ideas, but its results depend on how well the evaluation represents their actual work. It defines baselines, protected evaluation files, isolated experiments, comparisons across multiple objectives and held-out confirmation. Kept changes accumulate on an optimization branch with a results report. The supplied files establish a detailed design and helper implementation; achieved improvements, operating costs and runtime reliability remain unverified.

Researched and written by an AI model and checked by a second AI model. How it works

Covers all 22 captured files under skills/ce-optimize at revision 8d2a49cd8ab3a12e11ee2822f56cd57a106f01e1, including SKILL.md, research prompts, example specifications, schemas, procedural references, worker and judge templates, and four helper scripts. Includes the accompanying repository-root LICENSE. The rest of the plugin repository, host integrations, referenced sibling skills and project-specific evaluators are outside this scope. No installation, code execution, benchmark, model call, remote dispatch or recovery exercise was performed.

The overview

What it is

ce-optimize belongs to EveryInc's Compound Engineering Plugin repository. Its entry point is SKILL.md, supported by reference documents, YAML schemas and examples, research and worker prompts, and four helper scripts. A coding assistant uses these materials to organize project-specific optimization experiments.

The original resource is the skills/ce-optimize folder at [https://github.com/EveryInc/compound-engineering-plugin/tree/main/skills/ce-optimize]. Its intended output is an optimize/<spec-name> branch containing retained improvements, supported by an experiment log and a final report.

Where it fits

The strongest fit is a working system with a repeatable workload and several plausible ways to improve it. The skill gives an assistant a structured way to compare changes while preserving correctness requirements and recording unsuccessful attempts.

The implementation goes beyond instructions: decide.mjs evaluates rejection gates, required objectives, comparison thresholds and configured holdout results. However, the assistant remains responsible for validating specifications, enforcing edit scope, inspecting changes and verifying saved records. The evidence does not establish how reliably a particular assistant follows those responsibilities.

Who it is for

Developers can use it for build time, memory use, latency, test execution, ranking, retrieval or other targets that can be evaluated repeatedly. Teams developing prompts and assistant instructions can also compare candidate text against recorded failures under a fixed task model.

Beginners have example specifications to start from, but still need to identify what may change, what must remain correct and how spending should be bounded. For instruction-text optimization, the guidance calls for at least five to ten recorded failure occurrences and several examples of each failure mode.

What it can organize

Specifications support objective numeric metrics and qualitative scores from separate model judges. They distinguish immediate rejection gates, required objectives that affect acceptance, and diagnostics recorded for explanation. Multiple required objectives allow a change to improve one measure while respecting configured regression limits on the others.

The documented execution choices include serial or parallel experiments, local Git worktrees, a Codex backend and detached remote workers. Included research prompts look for prior optimization lessons, benchmark hooks, likely expensive operations and repository constraints.

Instruction-text support includes fixed selection and holdout cases, per-case results, prompt-length objectives and candidate moves such as adding examples, rewriting from feedback, shortening or restructuring instructions.

Using it

What you need

The workflow needs a writable Git repository and an assistant capable of file operations, shell execution and delegated experiment work. The project must provide a repeatable evaluation command, or allow the assistant to build one. That command must emit JSON containing the configured measurements and checks. In-scope project files must be free of uncommitted changes before experimentation.

The helpers use Bash and Git. decide.mjs requires Node.js, and the parallelism probe requires Python 3. The measurement runner uses timeout, gtimeout or a Python fallback. Minimum supported versions and a verified operating-system compatibility matrix are not supplied.

Judge-based evaluation requires a separate judging context; the instructions block scoring when independent judges cannot be dispatched. Remote workers and automatic resumption across turns need additional host facilities. The documentation describes local-worktree and manual-resume fallbacks when those facilities are unavailable.

How it works

The assistant first establishes a specification and baseline, checks whether the evaluator rewards trivial shortcuts, and obtains approval for the experiment scope and limits. For a workload-cost target, it locates where the cost occurs before implementing hypotheses when that measurement could change the choice of experiment.

Workers implement hypotheses within declared editable paths. Local workers leave measurement to the orchestrator; remote workers return paired reference and candidate measurements from their own machine. An eligible candidate must improve at least one required objective beyond its threshold and remain within allowed regression limits for the others. Configured holdout confirmation must also support retention.

Each experiment has one persistent log entry, with additional samples updating that entry. Recovery markers help recover measured results missing from the main log. The documented wrap-up measures the original revision against the final state again and exports a tracked report. Remote winners also require measurements independent of their author before retention.

Getting started

Make the complete skill folder available to a compatible assistant, including its references and scripts. Then supply an optimization goal or a YAML specification path. The captured folder does not establish a marketplace installation command or supported host versions; invocation syntax depends on the host.

The hard-metric example is the starting point for objective measurements, while the judge example adds a rubric and sampled semantic evaluation. Define editable and protected paths, rejection gates, comparison thresholds, dependencies and stopping limits. The evaluation script and data belong in the protected scope.

The default local state location is .context/compound-engineering/ce-optimize/<spec-name>/. A host-provided durable store can replace it. These records do not travel with the Git branch, so the final tracked report is important for sharing the evidence with reviewers.

A concrete example

The expensive-test-suite template sets required targets of 300 seconds for local execution, 90 seconds for the CI critical path and 40 aggregate runner-minutes. It requires a passing suite and explicitly forbids skipping required tests. The evaluation script is project-specific and is not bundled with the template.

Its example configuration uses one worktree, a smoke check, a 5% relative comparison threshold and five-repeat median confirmation, with limits of 12 experiments and eight active hours. These are illustrative settings, not measured results or promised savings.

For instruction text, another template targets a 0.95 pass rate and records prompt length as a secondary objective. That distinction matters: a secondary length objective is logged but does not itself prevent a longer candidate from being retained.

Assessment & evidence

Important limitations

Evaluation quality remains the central limitation. Checks for trivial shortcuts, human agreement and held-out performance reduce particular risks; they do not establish exhaustive correctness or real-world usefulness. The paired comparison uses observed paired differences rather than a statistical confidence interval.

Per-case regressions are reported but do not change decide.mjs's acceptance decision. A candidate can therefore improve an aggregate objective while introducing individual failures. The script also returns an empty regression list when either case map is missing, so that list alone cannot establish complete case coverage.

Git worktrees separate working copies but are not security sandboxes. The manager copies non-example .env files into experiment directories. Reusing an existing experiment worktree hard-resets it and removes untracked and ignored files, making those directories disposable working space.

The parallelism probe detects selected signs of contention and produces advisory output; it cannot establish complete isolation. The optional Codex backend also exposes a setting that bypasses approvals and sandboxing. Data handling by the host and any external model provider is unspecified.

Why the design matters

Keeping the evaluator fixed makes comparisons more interpretable, while locating workload costs first can prevent changes to components that contribute little to the target. Requiring confirmation before retention also separates a promising first measurement from a change supported by the configured evaluation.

For instruction text, the coverage rule is especially consequential: every rule that must survive needs a case that fails without it. Otherwise, the optimizer has no measured reason to preserve that rule. The guidance also treats a perfect selection score as a sign that harder cases may be needed in a future run.

These are useful design choices for repeated optimization. Their practical benefit depends on the quality of the cases, the assistant's adherence to the process and whether the measurements reflect the user's intended outcome.

When another approach fits

The authors direct diagnosis work to ce-debug and already-known implementation changes to ce-work. Those skills are referenced but their definitions are outside this folder, so their behavior and compatibility are not assessed here.

A direct change followed by existing validation is a simpler fit when there is only one credible implementation. A focused profile or benchmark may be enough when the immediate need is to locate cost. ce-optimize becomes more useful when several candidates justify repeated evaluation; its guide advises against it when evaluations are prohibitively expensive.

What the evidence establishes

The source material includes the complete skill instructions, reference procedures, schemas, example configurations, research and evaluation prompt templates, and helper implementations. These establish the intended process and permit inspection of the decision, measurement, worktree and readiness-probe logic.

No completed optimization log, benchmark output, recovery demonstration or model-calibration result is supplied. Example targets and budgets are configuration values. Nothing was installed or executed, so runtime compatibility, achieved gains, actual spending and recovery reliability remain unverified.

Access & freshness

Costs and limits

Actual operating cost is unknown. The files provide no completed-run bill, provider pricing or measured duration. Worker, research, judge and task-model calls can incur charges, alongside any benchmark or CI compute costs.

The schema gives judge scoring a default US$5 cap. This covers scoring only. Whole-run model spending has no dollar cap unless stopping.max_total_cost_usd is set; iteration and hour limits do not establish a monetary cost. Spending control depends on recorded usage and estimates used before dispatch.

Judge models are specified through cheap or strong capability tiers resolved by the host. Those names do not identify a concrete model or price. The log distinguishes reported usage from estimated whole-run cost.

Use and redistribution

The supplied repository-level MIT License names Every as the 2025 copyright holder. It permits use, copying, modification, distribution, sublicensing and sale of the software and associated documentation, provided the copyright and permission notice accompany copies or substantial portions.

The license provides no warranty. It supports redistribution of the captured skill files with the notice, but does not establish rights to external model services, project datasets or other material used during an optimization.

Version and freshness

The described files are pinned to source revision 8d2a49cd8ab3a12e11ee2822f56cd57a106f01e1, captured on 16 November 2026 at 21:37:26 UTC. That commit identifies the snapshot; the supplied files do not establish a semantic release version.

Changes on the repository's main branch after capture are unknown. The revision-specific folder is available at [https://github.com/EveryInc/compound-engineering-plugin/tree/8d2a49cd8ab3a12e11ee2822f56cd57a106f01e1/skills/ce-optimize].

Practical next steps

Acquire the complete original folder and retain its license notice. Choose one representative workload, identify files that may change, and define behavior that must remain correct. The author's conservative first-run settings are serial execution, one concurrent experiment, four iterations and one active hour; add an explicit whole-run spending cap appropriate to the host.

For judge-based work, define a concrete rubric, configure disjoint held-out examples and compare the judge with human scores before trusting its preferences. For instruction text, ensure every behavior that must survive is represented by failure cases.

Before relying on retained changes, inspect real outputs, individual regressions, the cumulative diff and the final original-to-final comparison. Confirm which correctness constraints were actually checked and which remain unverified.

Evidence for this report

LICENSEnotice · checked 2026-11-16
skills/ce-optimize/SKILL.mdselected · checked 2026-11-16
skills/ce-optimize/references/loop.mdselected · checked 2026-11-16
skills/ce-optimize/references/measurement.mdselected · checked 2026-11-16
skills/ce-optimize/references/persistence.mdselected · checked 2026-11-16
skills/ce-optimize/references/spec.mdselected · checked 2026-11-16
skills/ce-optimize/references/text-targets.mdselected · checked 2026-11-16
skills/ce-optimize/references/usage-guide.mdselected · checked 2026-11-16
skills/ce-optimize/references/wrap-up.mdselected · checked 2026-11-16
skills/ce-optimize/scripts/decide.mjsselected · checked 2026-11-16
skills/ce-optimize/scripts/measure.shselected · checked 2026-11-16
skills/ce-optimize/scripts/parallel-probe.shselected · checked 2026-11-16