Build a small tool in a Claude chat the way everyone actually does it: one vague prompt, then fix, fix, fix. It'll take you a dozen turns or more. Those turns were not Claude being slow. Every one of them was a rule you already knew — a cap, an edge case, the order things apply in — arriving late, one drip at a time. So write them all down, fold them into one prompt, open a fresh chat, and build the same thing in a single message. That collapse, from fourteen turns to one, is the whole of Module 7 in a number you produced yourself. Context is the lever.
Each one is a small tool with real rules — slabs, caps, gates, rounding, cut-offs. That is deliberate: a tool with no rules produces no corrections, and the corrections are the exercise. These five are starting points — feel free to use any other tool of your own, as long as it has rules that live in your head. To see the finished shape, open its sample using the link on each card.
- Build a quote calculator in a normal chat — pick services, set quantities, out comes the total with tax and terms.
- Build it the messy way. Let it be wrong. Fix it turn by turn until it actually works, and count your turns.
- Ask Claude to list every correction you gave it. That list is the context you were carrying in your head.
- Fold the list into one prompt, open a fresh chat, and rebuild it in a single message.
- Build an interview scorecard in a normal chat — rate each criterion, weight them, out comes a verdict.
- Build it the messy way and let it be unfair at first. Fix it turn by turn, and count your turns.
- Ask Claude to list every correction you gave it — the weights, the gates, the thresholds.
- Fold the list into one prompt, open a fresh chat, and rebuild it in a single message.
- Build an expense-claim checker in a normal chat — it flags what breaks policy before you submit.
- Build it the messy way. Let it flag the wrong things. Fix it turn by turn, and count your turns.
- Ask Claude to list every correction you gave it — the caps, the thresholds, the exceptions.
- Fold the list into one prompt, open a fresh chat, and rebuild it in a single message.
- Build an ad-budget planner in a normal chat — split the budget, project the leads, show the blended cost.
- Build it the messy way and let the maths be wrong. Fix it turn by turn, and count your turns.
- Ask Claude to list every correction you gave it — the floors, the rounding, the real formula.
- Fold the list into one prompt, open a fresh chat, and rebuild it in a single message.
- Build a delivery-promise checker in a normal chat — order time in, the date you can actually commit to out.
- Build it the messy way and let it promise Sundays. Fix it turn by turn, and count your turns.
- Ask Claude to list every correction you gave it — the cut-off, the holidays, the compounding order.
- Fold the list into one prompt, open a fresh chat, and rebuild it in a single message.
Build it the messy way. One vague prompt, then fix it turn by turn until it really works. Do not tidy up as you go — let it be wrong. The wrongness is your data. Count your turns.
Get the corrections log. When it finally works, ask Claude — in that same chat — to list every correction you gave it. It has the whole conversation in front of it, so the log costs almost nothing.
Read the log honestly. Almost every line is something you already knew before you started. That is the uncomfortable bit, and it is the point.
Fold it into one prompt — role, the spec, the rules, the order they apply in, the edge cases, the output format.
Fresh chat. One message. Not the old chat — the context is already in there and it would prove nothing. Paste, and watch it come out right first time.
Push both builds, the log, the prompt and your turn count to ho4-context-template. The number is the deliverable.
- It does not mean the model forgot. It means you left that rule out of the log — you fixed it in chat and never wrote it down, so it never reached the prompt.
- Add it, and go again. The gap between "what I told Claude" and "what I think I told Claude" is exactly what context engineering is about.
You only need three, and the middle one is the trick most people never think of: Claude can write your corrections log for you, because it was there for the whole conversation.
Build me a single-file HTML <your tool>. No login, no backend, one screen.
The tool works now. Go back over this entire chat and list EVERY correction I had to give you — every rule, cap, threshold, edge case, order of operations and formatting decision that was not in my first message. Give it to me as a numbered list. For each one, name the kind of rule it is (pricing rule / gate / rounding / order of operations / edge case / output format). Do not rebuild anything. Just the list.
Now write me ONE prompt that would have produced this tool correctly on the first try, in a chat with no history. It must carry everything from that list: the role, the spec, every rule, the ORDER the rules apply in, the edge cases, and the output format. Be explicit about anything you got wrong the first time — especially the rules that look obvious but aren't. Write it as a prompt I can paste, not as a description of a prompt. Do NOT rebuild the tool.
Your deliverable is the evidence, not just the tool. Anyone can show a working page; you are showing that you know why it worked the second time.
ho4-context-template/ ├─ v1-iterated/index.html ← the messy build, exactly as it ended up ├─ corrections.md ← every correction you had to give Claude ├─ one-shot-prompt.md ← the distilled context — THE REAL DELIVERABLE ├─ v2-oneshot/index.html ← built from that prompt, one message, fresh chat ├─ scorecard.md ← turns before → after, and feature parity └─ README.md
Save the messy build as v1-iterated/index.html and the one-shot build as v2-oneshot/index.html. Keep both. The comparison is the work.
Paste Claude's corrections list into corrections.md, and the distilled prompt into one-shot-prompt.md.
Write scorecard.md: turns before → after, and tick off every feature that survived the rebuild. If one didn't, say so — an honest miss is worth more than a clean sheet.
Create the repo, then push. git branch -M main matters — older Git still calls the first branch master and the push would fail.
git init git add . git commit -m "HO4: the one-shot rebuild" git branch -M main git remote add origin https://github.com/<your-username>/ho4-context-template.git git push -u origin main
# Scorecard — <your tool> | | Turns | Chat | |---|---|---| | Build 1 — the messy way | 14 | one long chat | | Build 2 — one-shot | 1 | a fresh chat, no history | ## Feature parity — did the rebuild keep everything? - [x] <rule> - [x] <rule> - [ ] <rule it missed — and the line I left out of corrections.md> ## What I actually learned <One honest paragraph. Which correction surprised you? Which rule did you not realise you were carrying in your head until Claude got it wrong?>