OPTIMIZE / SKILL 1.0.0

SKILL BRIEF 002 / PROMPT METHOD

Prompts that prove themselves.

Optimize takes an existing prompt and turns it into a hermetic, fully executable, self-verifying version. Then it runs that version itself, inside the original scope, and ends with a report that shows the work was done and checked.

PHASES
2
ABSOLUTE RULES
5
UNLOGGED ASSUMPTIONS
0
EXT. DEPS
0
Engineering drawing sheet for the optimize skill, stamped verified
FIG. 00 / METHOD DRAWINGSCALE 1:1
TITLEREVDRAWNSHEET
Optimize skill1.0.0retoor <retoor@molodetz.nl>01 / 01
01

Failure lives in the prompt.

Most agent runs do not fail in the model. They fail in the prompt: no definition of done, no required check, no place where assumptions must be written down. Each finding below is a stop condition for the optimizer, not a style preference.

RF-01

A prompt with no success criterion, so nobody can tell when it is done.

HALT
RF-02

Verification left to the agent's own judgement instead of a required step.

HALT
RF-03

Assumptions made silently and never reported.

DRIFT
RF-04

Output format left open, so every run reports differently.

DRIFT
RF-05

An executor free to leave the prompt for context nobody can verify.

HALT
RF-06

An optimizer that widens the scope or changes the intent.

HALT
RF-07

"Roughly done" accepted as done.

HALT
RF-08

An improved prompt that is shown to the user but never run.

DRIFT
02

Three pillars, no exceptions.

The same method for a one-line request and for a multi-page brief. The pillars reinforce each other: hermeticity gives verification something to check, and intent fidelity keeps the result the user's own.

P-01

Hermetic: everything needed is in the prompt

The improved prompt is self-contained. The executing agent needs no clarification and may not look outside the prompt unless the prompt says it may. The optimizer itself may research, fetch examples, and check best practices first.

P-02

Intent preserved, scope unchanged

Original intention, scope, and goals stay intact. Nothing is added that the user did not mean, except what exists purely for verification or completeness.

P-03

Done, tested, reported

The prompt forces real work, real checks, and a mandatory final report. No half work, no "approximately", no assumption without documentation. Then the optimizer runs it, so the report is evidence and not a promise.

03

Two phases, one run.

Strengthen first, then execute. Phase two starts right after phase one, with no confirmation round in between.

  1. Analyse the promptGoal, constraints, expected output, and the risks of incompleteness or unverifiability.
  2. Find what blocks full executionMissing success criteria, test steps, edge cases, output format, error handling, iteration.
  3. StrengthenExplicit acceptance criteria, mandatory verification, a fixed output structure, an assumptions log, anti-shortcut rules, and self-correction loops where they raise reliability.
  4. Make it hermeticEverything the executor needs is inside the prompt. Looking outside is forbidden unless the prompt allows it.
  5. Show itAn optional summary of at most five bullets, then the full improved prompt in a code block, ready to copy.
04

Standing rules.

What the skill enforces on every prompt, without being asked twice. Each rule names its enforcer: a rule without one is a wish.

IDRULEENFORCER
AR-01The full context is the prompt you receive.No ducking out of the prompt unless the user explicitly asks for it.hermetic check
AR-02The optimizer may research; the executor stays inside the prompt.External knowledge, examples, and best practices improve the prompt. They do not leak in at run time.prompt review
AR-03The result is a standalone prompt.An agent or model can execute it with no further clarification.cold-read test
AR-04Intent, scope, and goals are kept completely.Additions exist only for verification or completeness.scope diff
AR-05The work is actually done, tested, and reported.No half work, no "approximately", no assumption without documentation.final report
AR-06The improved prompt is executed right after it is shown.No confirmation round. The prompt becomes the user's assignment.run record
AR-07Execution stays inside the original scope.No extra work the user did not intend.scope diff
AR-08Every improved prompt ends with a mandatory final report.The report proves the work was fully executed and verified.report check
05

What you get.

Left: this skill package. Right: the shape a strengthened prompt takes, as far as the original prompt needs it.

THE SKILL PACKAGE

optimize/
  SKILL.md            the skill, in Dutch
  README.md           package overview
  CHANGELOG.md        skill history, ascending
  index.html          this brief
  assets/
    css/ js/ img/     this page, no build

THE IMPROVED PROMPT

prompt
  Goal                original intent, unchanged
  Context             all the executor needs
  Constraints         scope, limits, formats
  Success criteria    explicit acceptance
  Steps               ordered, nothing deferred
  Verification        tests, checks, comparisons
  Assumptions         documented, never silent
  Anti-shortcut rules no later, no approximately
  Correction loop     fix and re-verify
  Final report        mandatory, last
06

Proof, not promises.

The final report is the proof. Below: the shape of a report that closes a run. The numbers are an illustration of the format, not a measurement.

FINAL REPORT / ILLUSTRATIVE RUN

$ optimize --run
press run: 5 checks, one verdict

PROMPT CARD / SIX AXES

AXISBEFOREAFTER
G-01Success criteriaimplied to explicit
G-02Verifiabilitytrust to required checks
G-03Hermeticityopen to self-contained
G-04Scope fidelitykept, additions only for checks
G-05Assumptionssilent to documented
G-06Reportingfree-form to mandatory final report

A prompt that cannot be made verifiable says so and names what is missing. It is not passed off as hermetic.

07

Install and run.

One file is the whole skill. The rest of this package is the page you are reading.

INSTALL
Copy SKILL.md to ~/.claude/skills/optimize/SKILL.md, or unpack the zip there.
RUN
/optimize followed by the prompt to strengthen, or any request to make a prompt hermetic.
RESULT
Improved prompt, then its execution. A summary of at most five bullets, the prompt in a code block, the run, and the final report.
LANGUAGE
Dutch. The skill text is Dutch; this page is English.