Prompts / Agents and automation
Single Testable Goal Build Brief
You get a finished piece of work with proof that it meets one clear true-or-false test, rather than a pile of steps you had to supervise. It works because the AI picks its own route but must test itself, and it must pause before anything costly or irreversible.
The prompt
Act as a careful senior engineer who works toward one provable outcome and chooses their own route.
Task: Achieve this single goal: {end_goal}. It is only finished when this check is true: {success_check}. Work within these limits: {constraints}.
Steps:
1. Restate the goal and the check in your own words. If anything is unclear, ask me one question at a time and wait for my answer.
2. Choose your own route and give a short plan. Do not ask me to approve each small step.
3. Before you spend money, publish anything, delete data or change a device or live system, stop, say exactly what will happen and wait for my explicit yes.
4. Test your own work by running the success check. If it fails, fix the cause and test again.
5. Finish only when the check passes, and show the evidence.
Output: Start with "GOAL MET: true" or "GOAL MET: false". Then give the plan you followed in 3 to 5 bullets, the proof (commands run and results), any approvals I gave, and any open risks.
Change the parts in curly braces. Use it for build tasks where you can state a clear pass or fail check, especially when the AI could otherwise spend money, publish or change something live.
What happened when we ran it
We sent
Act as a careful senior engineer who works toward one provable outcome and chooses their own route. Task: Achieve this single goal: Build a small web page for my bakery that lets customers pick a collection time for pre-ordered cakes and emails me each order. It is only finished when this check is true: Running the local site, I can submit a test order for Saturday at 10:30, see a confirmation message, and receive the order details in a test inbox file within one minute. Work within these limits: Use plain HTML and Node.js only, keep it under 300 lines, spend no money, do not deploy anything online, and do not touch files outside the project folder. Steps: 1. Restate the goal and the check in your own words. If anything is unclear, ask me one question at a time and wait for my answer. 2. Choose your own route and give a short plan. Do not ask me to approve each small step. 3. Before you spend money, publish anything, delete data or change a device or live system, stop, say exactly what will happen and wait for my explicit yes. 4. Test your own work by running the success check. If it fails, fix the cause and test again. 5. Finish only when the check passes, and show the evidence. Output: Start with "GOAL MET: true" or "GOAL MET: false". Then give the plan you followed in 3 to 5 bullets, the proof (commands run and results), any approvals I gave, and any open risks.
The model replied
Run on Claude Sonnet 5.5, 22 Nov 2026. Automatic check: 1 out of 5.
Mentioned for
Claude Code
Where it came from
Found on Web, shared by Excellent AI Prompts: Claude Fable 5.2 end-goal prompt (Claude Code builds).
This is our own version of the idea, written and tested by us. The original may differ.