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
| TITLE | REV | DRAWN | SHEET |
|---|---|---|---|
| Optimize skill | 1.0.0 | retoor <retoor@molodetz.nl> | 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.
A prompt with no success criterion, so nobody can tell when it is done.
HALTVerification left to the agent's own judgement instead of a required step.
HALTAssumptions made silently and never reported.
DRIFTOutput format left open, so every run reports differently.
DRIFTAn executor free to leave the prompt for context nobody can verify.
HALTAn optimizer that widens the scope or changes the intent.
HALT"Roughly done" accepted as done.
HALTAn improved prompt that is shown to the user but never run.
DRIFTThree 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.
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.
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.
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.
Two phases, one run.
Strengthen first, then execute. Phase two starts right after phase one, with no confirmation round in between.
- Analyse the promptGoal, constraints, expected output, and the risks of incompleteness or unverifiability.
- Find what blocks full executionMissing success criteria, test steps, edge cases, output format, error handling, iteration.
- StrengthenExplicit acceptance criteria, mandatory verification, a fixed output structure, an assumptions log, anti-shortcut rules, and self-correction loops where they raise reliability.
- Make it hermeticEverything the executor needs is inside the prompt. Looking outside is forbidden unless the prompt allows it.
- Show itAn optional summary of at most five bullets, then the full improved prompt in a code block, ready to copy.
- Run it directlyNo wait for confirmation. From here the improved prompt is the user's assignment, verification steps included.
- Stay inside the original scopeNo extra work the user did not intend.
- End with the final reportThe mandatory report from the improved prompt shows the work was fully done and verified.
Executing the improved prompt never widens what the user asked for. Verification and completeness steps are the only additions allowed, in the prompt and in the run.
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.
| ID | RULE | ENFORCER |
|---|---|---|
| AR-01 | The full context is the prompt you receive.No ducking out of the prompt unless the user explicitly asks for it. | hermetic check |
| AR-02 | The 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-03 | The result is a standalone prompt.An agent or model can execute it with no further clarification. | cold-read test |
| AR-04 | Intent, scope, and goals are kept completely.Additions exist only for verification or completeness. | scope diff |
| AR-05 | The work is actually done, tested, and reported.No half work, no "approximately", no assumption without documentation. | final report |
| AR-06 | The improved prompt is executed right after it is shown.No confirmation round. The prompt becomes the user's assignment. | run record |
| AR-07 | Execution stays inside the original scope.No extra work the user did not intend. | scope diff |
| AR-08 | Every improved prompt ends with a mandatory final report.The report proves the work was fully executed and verified. | report check |
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
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 --runpress run: 5 checks, one verdict
PROMPT CARD / SIX AXES
| AXIS | BEFORE | AFTER |
|---|---|---|
| G-01 | Success criteria | implied to explicit |
| G-02 | Verifiability | trust to required checks |
| G-03 | Hermeticity | open to self-contained |
| G-04 | Scope fidelity | kept, additions only for checks |
| G-05 | Assumptions | silent to documented |
| G-06 | Reporting | free-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.
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.