Lesson 26 of 32

The Law of the Loop

Prompt, Read, Refine

The first prompt is the opening move, not the whole game. Work in a loop instead: decide what you want before you type, send a good-enough prompt, read the answer against that aim, then tell the model exactly what to keep, cut, add or change - and when the answer is finally right, save the prompt as a template so tomorrow you start where today you finished.

Reach for it whenAny time the first answer is close but not usable - a plan, a letter, a message, a table you will actually act on - and especially when you will need the same thing again next month.

Tag the parts of the loop so each round has something precise to act on: <aim> at the top is what you will later read the answer against, and the instruction goes last, where Claude follows it most reliably. Two features change the mechanics. Editing an earlier message makes Claude answer that version afresh, which is how you abandon a wrong turn instead of arguing your way out of it. And an Artifact gives the loop one living document - you refine the same table or letter in place rather than scrolling past four dead drafts. The Reuse step has a real home here: your winning prompt belongs in a Project's instructions, so every new chat in that Project begins from your best version.

From the book Loop in one chat while the work keeps improving; to try a different direction, edit an earlier message and Claude will answer that version afresh. Keep your winning templates in a Project's instructions or files, so every new chat starts from your best prompt.
Worth knowingClaude is agreeable about refinements, which sounds like a virtue and is not. Ask for a change and you get the change, so if your refinement was a bad idea you will not be told - the answer simply gets worse while sounding confident. Add "tell me if a change I asked for has made this worse" to the round. The other trap is the long chat: Claude holds a great deal of context, so an abandoned draft from twenty messages ago is still there, still exerting a pull. That is exactly the "answers circling" signal in the chapter - ask for your requirements as one improved prompt, and start again in a clean chat.
  • <aim> first, instruction last - Claude follows the final instruction best.
  • Edit an earlier message to abandon a wrong turn cleanly.
  • Keep the work in one Artifact and refine it in place.
  • Ask: "has any change I requested made this worse?"
  • Store the finished prompt in a Project's instructions.
The One-Shot Gamble vs. The Five-Step Loop

Instead of

Make me a study plan for science.

Claude version

<my_syllabus>
[Photograph or type out the contents page of your Science textbook here - every chapter name, in order. Long reference material goes first; the instruction comes at the end.]
</my_syllabus>

<my_situation>
Class 10 CBSE in Patna, boards on [exam date], four weeks away. On school days I get 2 hours; on Sundays, 5. Chemical reactions and carbon compounds defeat me. Biology I already know.
</my_situation>

<what_good_looks_like>
Something printable I will still be following in week three. Week, Day, Topic, Task - where the task is read, practise or test, never "revise". A mock paper each Sunday and time that evening to mark it. Plain words. Nothing encouraging.
</what_good_looks_like>

<if_unsure>
Use only the chapters listed above. If something in my list is unfamiliar to you, ask me rather than substituting a chapter you do know.
</if_unsure>

<task>
Before the plan, think aloud for three or four lines about which chapters deserve the most hours and why - I want to see your reasoning so I can argue with it. Then build the plan as an Artifact, which we will edit in place as I correct it.
</task>
Open Claude 1,124 characters

Then loop it

  1. Your reasoning gave Chemistry too little. Revise the Artifact itself rather than posting a new version. Keep the Sunday mocks and the marking slots. Cut the loose Biology days in Week 1. Add 20 minutes of equation practice to each school day. Change Week 4 to revision and past papers alone. If any of those four instructions damages the plan, tell me before you carry it out.
  2. Settled. Rewrite my whole prompt as the improved version, tags and all, with blanks for [subject], [weak topics] and [exam date]. I want to drop it into the instructions of a Project called "Board exams" so every subject starts from this and not from scratch.

Why it worksIt starts from a written aim, then uses keep, cut, add and change so every round moves the plan closer to that aim instead of starting again.

The Lost Victory vs. The Saved Template

Instead of

Write a message for my customers about Eid orders.

Claude version

<context>
I run a small ladies' tailoring shop in Aminabad, Lucknow. My customers are regulars - many have been coming for years, and they know my work.
</context>

<message_contents>
Last date for new orders: [date]
Suit stitching starts at Rs [price]
Urgent orders cost extra
Please bring a well-fitting sample suit
</message_contents>

<constraints>
Under 80 words.
Simple Hindi in Devanagari, with an English version below.
Warm and respectful, as though I am speaking to them myself - not an advertisement.
No "Dear Customer". No corporate phrasing.
</constraints>

<task>
Write the WhatsApp message about Eid orders.

Before the message, give me one line naming the single hardest choice you made - what you left out to stay under 80 words. That is the line I will want to argue with, and I would rather see it than discover it missing.
</task>
Open Claude 850 characters

Then loop it

  1. Good. Keep the opening greeting exactly as it is. Cut the line about quality - they know my work. Add that the shop closes at 1 pm on Fridays. Change the Hindi to everyday spoken Hindi, less formal. Tell me if adding the Friday line pushes out something more important.
  2. Perfect. Now turn this into a reusable template with blanks for [festival], [last date], [price] and [shop timings], so I can use it for Diwali and the wedding season. Keep the <context>, <constraints>, <task> structure, and write it so I can save it as the instructions of a Project called "Shop messages".

Why it worksThe loop ends with Reuse: the winning message becomes a template, so the next festival begins from the finished version, not from zero.

The Endless Circle vs. The Fresh Start

Instead of

Plan a trip to Varanasi for us.

Claude version

<aim>
A 5-day Varanasi itinerary my wife and I can actually follow, as a day-by-day table, from Coimbatore in [month].
</aim>

<us>
Both retired, late sixties. Travelling by train, or a direct flight if there is one.
A calm hotel near the ghats.
Maximum two outings a day, and rest after lunch every single day.
No early-morning rush. This is not a sightseeing sprint.
</us>

<must_include>
Kashi Vishwanath darshan. A Ganga aarti. A boat ride.
</must_include>

<decided_against>
Sarnath. We have considered it and said no. Do not suggest it, and do not offer it as an optional extra.
</decided_against>

<format>
Day | Morning | Rest | Evening | Notes.
Then rough travel options from Coimbatore, with an honest note on how long each takes.
Then a checklist of things to confirm before booking.
</format>

<when_unsure>
Mark any timing, fee or booking rule you are not confident about as [confirm]. I will check those myself. Gaps are fine; wrong darshan timings are not.
</when_unsure>

<task>
Produce the itinerary as an Artifact so we can refine the same document together.
</task>
Open Claude 1,084 characters

Then loop it

  1. We have gone round four times and Sarnath keeps reappearing. Stop producing itineraries. Instead, list every preference and constraint I have given you anywhere in this chat, including "no Sarnath" and "rest after lunch".
  2. Now turn that complete list into a single new prompt, using the same <aim>, <us>, <must_include>, <decided_against>, <format> structure, that contains everything from the start.
  3. (In a new chat, with that prompt pasted.) Produce the day-by-day plan as a simple table in an Artifact.

Why it worksWhen the answers start circling, it gathers every lesson into a better first prompt and restarts in a clean chat instead of looping forever.

Loop it

After every answer, run the check from step three: read it against the aim you wrote before prompting - length, tone, facts, format. Then reply with precise levers - "Keep…, Cut…, Add…, Change…" - never just "make it better". Stay in the same chat while each round improves. If after three to five rounds the answers circle or old mistakes return, ask, "Summarise all my requirements into one improved prompt," and paste it into a new chat. When the answer finally fits its purpose, save that prompt as a template with blanks for the parts that change.