Skip to content
NINTH SUBSTRATE

Flagship project

IntentOpt

Intent-preserving prompt optimization, evaluated against examples.

PublicMIT licensePython 3.12+Development build v0.2.0.dev0

IntentOpt is a Python command-line tool and Claude Code plugin for improving a single prompt while keeping its constraints, literals and intended task. It generates candidate rewrites, runs them against scenarios, and returns your original when the configured checks cannot support a change. It is a development build, not a stable release and not a claim of state-of-the-art performance.

View on GitHubSee the pilot data

The project is presented as IntentOpt. The Python package, executable and local state folder are still named autoimprover for compatibility.

How it works

Measured by running the prompt, not by grading its wording.

A task model runs the original and each rewrite on test scenarios, either your examples or ones the tool writes. A separate judge checks the outputs without seeing candidate rewrite text. With reference examples, it can infer missing rules and score agreement with expected outputs. Without them, outputs are compared in both answer orders, and a scenario counts only when both orders agree, so a judge that favors a position produces ties, not wins.

Time tiers and what each one verifies
--timeTierWhat runsHeld-out check
15 to 24 sQuickThe intent contract and one rewrite side by side, then a contract check. No scenario is scored.No
25 to 59 sFast2 to 4 scenarios with up to 3 rewrites, scored by a pairwise judge. Noise is measured by comparing the original with itself.No
1 to 9 minCheckedThe fast stages with up to 6 rewrites, then the winner and the original on held-out scenarios on the model you will use.Yes, on the configured check
10 min and upDeepA GEPA search (reflective prompt evolution) whose result must pass the configured held-out check.Yes, on the configured check

Try it

Inspect the plan first. It costs nothing.

Requires Python 3.12+ and uv. The dry run makes no model calls and writes nothing.

# from a checkout of the repository
git clone https://github.com/ItsUkrainianCat/intentopt.git && cd intentopt
uv run --frozen autoimprover --dry "Summarize meeting notes in five bullet points."

# live run with your own examples (uses your Claude subscription)
uv run --frozen autoimprover --file prompt.txt --examples examples.jsonl --time 2m

Inside Claude Code

The repository is also a Claude Code plugin that adds /improve and its alias /optimize. A result appears in the prompt box as a draft; the plugin sends nothing for you.

claude plugin marketplace add ItsUkrainianCat/intentopt
claude plugin install autoimprover@intentopt

Needs Claude Code 2.1.287 or later. The repository documents a live check of the plugin on 2026-10-05; parts of the result pane are verified only by running it.

Evidence / pilot observation

What the first live experiment showed, and what it cannot show.

IntentOpt's research record reports one live experiment on three synthetic policy tasks. It is the strongest result we have, and it is also small, tuned-on, and unpublished at the artifact level. The tool helped on two tasks and kept the original prompt on the third, where a naive rewrite scored higher.

Author-reported pilot / hidden examples passed

34 of 48 versus 23 of 48 for the original prompts

Not independently reproduced
Hidden examples passed per task, out of 16
Task (of 16)OriginalNaive rewriteIntentOpt
Priority81215
Refund8412
EscalationIntentOpt kept the original prompt; the naive rewrite scored higher.7127

From IntentOpt's development record (work package 24, 2026-10-07). One run, three synthetic policy tasks, 16 hidden examples each. The tasks were also used while the tool was being tuned, so they are not an untouched test set. Raw run artifacts are not published, and later changes to example splitting were not part of this run. Treat it as a pilot observation, not a benchmark result or a claim of state-of-the-art performance. Full record and limitations

Limits

What not to conclude.

Research roadmap

The next work is reproducible evaluation, not a bigger claim.

Each milestone is complete only when its evidence can be inspected. These are proposed milestones, not funded commitments or promised dates.

  1. 01Reproduce the current reference pipeline

    Done when: Public sanitized run artifacts, recomputable scores, per-task outcomes and run-to-run variation

  2. 02Expand evaluation coverage

    Done when: Versioned dataset, documented split policy, reference review and leakage audit

  3. 03Compare methods fairly

    Done when: Original, one-call rewrite and gated optimizer under declared budgets, with ablations

  4. 04Audit intent preservation

    Done when: Human review rubric, anonymized decisions and a measured violation rate

  5. 05Test live operational behavior

    Done when: Sanitized smoke-test records for checked and deep tiers, resume, and the Claude Code plugin

  6. 06Improve backend portability

    Done when: Compatibility tests and a limited live evaluation on a second backend

  7. 07Prepare a stable release

    Done when: Passing checks, release notes and reproducible install instructions

Financial support could fund repeated model evaluations, human review and artifact preparation. See how partnerships work.

Read the source of record