Install
openclaw skills install @abysscat-yj/prompt-design-tuningCollaboratively design, evaluate, iterate on, and recommend a final launch candidate for a target prompt under the principle of “human-gated, agent-executed” workflow.
openclaw skills install @abysscat-yj/prompt-design-tuningThe goal of this Skill is not to casually “chat about prompts,” but to turn prompt tuning into an executable, reviewable, and cost-controlled engineering workflow.
The Agent handles most of the execution work.
Humans are responsible only for validating direction, approving high-cost loops, and signing off on the final launch candidate.
Use this Skill when the user needs to:
Use this mode when:
In this mode, the Agent should produce:
Use this mode when:
In this mode, the Agent should continue with:
The following rules are non-negotiable by default:
The target prompt and the judge prompt must be separated.
Do not silently modify both in the same comparison round and then mix their gains together.
Before large-scale evaluation, the task definition (task spec) must be frozen first.
Every round of prompt optimization must have a clear optimization hypothesis.
No random “this sentence feels off, let’s tweak it” behavior.
An experiment log must be maintained, including at least:
Any high-cost evaluation loop must be approved by a human beforehand.
The final launch candidate must be reviewed by a human.
A high machine-evaluation score does not automatically mean it is ready for launch.
If the input information is incomplete, low-risk assumptions may be made, but they must be stated explicitly.
The Agent should gather or infer the following whenever possible:
By default, the workflow should aim to produce the following:
docs/task_spec.mdprompts/production_prompt_v{n}.mdprompts/judge_prompt_v{n}.mddocs/eval_plan.mdscripts/run_generation.pyscripts/run_judge.pyreports/iteration_{n}_summary.mdreports/final_recommendation.mdreports/experiment_log.mdBy default, human confirmation is required only at the following key checkpoints:
Confirm:
Confirm:
Confirm:
Confirm:
Confirm:
Unless the user explicitly asks for finer-grained control, do not interrupt too frequently in the middle.
Before writing any prompt, first establish a clear task definition.
The task definition should include at least:
If the user’s description is incomplete, do not stall.
Fill in reasonable assumptions first, then present them for confirmation.
After this, proceed to Gate A.
Based on the task definition, produce the first draft of the target prompt.
Requirements:
Also output:
After this, proceed to Gate B.
Design an independent Judge / Eval Prompt.
Requirements:
Also output:
After this, proceed to Gate C.
Before running large-scale evaluations, define the evaluation plan clearly.
The plan should include at least:
Default loop policy:
If executable conditions are available, the Agent should write a batch generation script.
The script should support, as much as possible:
Do not crudely translate TPM directly into high concurrency.
Preferred approach:
Run the full evaluation set across all specified models and prompt versions.
At minimum, record:
If generation failures occur frequently:
Use the Judge Prompt to evaluate generated outputs in batch.
Requirements:
A new prompt iteration is allowed only when there is a clear optimization hypothesis.
Each round must include:
Do not run another round for no reason.
If the next round will consume meaningful resources, go to Gate D first.
Once a version reaches a sufficiently strong level, the Agent should produce a final review package.
It should include at least:
After this, proceed to Gate E.
Each experiment round should record at least:
The Agent should try to classify failures into one of the following:
Do not do the following:
When this Skill is triggered, the Agent should follow this order:
The following requests are suitable triggers for this Skill: