Building with agents, lesson S3
How to ask
Most disappointing answers come from asks that leave something out. This lesson builds a good ask piece by piece, and shows which missing piece causes which kind of bad answer.
Every example below changes to fit what you pick. The businesses are made up for teaching.
The picture, one step at a time
Each box is one stage. The picture lights up as you scroll.
The parts of a good ask, from the job to talking back
1The job
What you want done, in one plain sentence.
2Who it is for, and why
The reader, the goal, and the reason behind any rule you give.
3The material
The document or data, pasted first, with your question after it.
4An example
One or more samples of what good looks like.
5What done looks like
The format, the length, and what to leave out.
6Talk back
Read the answer, then say what to change. No need to start over.
The job, in one sentence.
Step 1 of 6
Treat it like a clever new starter
Claude is quick and capable, but it knows nothing about your business unless you say. Start with the job in one plain sentence, such as "write a reply to this customer", not "help me with this".
Anthropic's prompting guide says to think of Claude as a brilliant but new employee who lacks context on your ways. Its test: would a colleague who knows nothing about the task understand your ask? If not, Claude won't either.
Step 2 of 6
Say who it is for, and why
Name the reader and what they need. And when you give a rule, give the reason too. A rule on its own is followed to the letter. A rule with a reason is followed in spirit, in places you did not think to mention.
Anthropic's example: instead of "never use ellipses", say the answer will be read aloud by a speaking program that cannot pronounce them. Claude can then generalise from the reason.
Step 3 of 6
Put the material first
If you are asking about a document, paste the document first and put your question after it. The model reads it all, and the question at the end tells it what to do with what it has just read.
Anthropic's guide says putting the question after long documents improved answers by up to 30% in its tests, most of all with several documents.
Step 4 of 6
Show it a good one
If you can show what good looks like, show it. Paste a past email, post or report you were happy with. A model copies an example more reliably than it follows a description.
Anthropic's guide calls examples one of the most reliable ways to steer format, tone and structure, and suggests three to five for best results, close to the real job and different enough from each other.
You show Claude one example email. Now every reply opens with "Hi Sam". Why?
Step 5 of 6
Say what done looks like
Say the format and the length: "three short paragraphs", "a table with these four columns", "under 100 words". Say what to do, not only what to avoid. "Write it as flowing paragraphs" works better than "no bullet points".
Anthropic's guide gives the same advice: tell Claude what to do instead of what not to do.
Step 6 of 6
Then talk back
The first answer is a draft. Say what to keep and what to change, the way you would with a colleague. If the chat grows long and starts to wander, take the best version into a new chat, as lesson S1 showed.
The answer is nearly right but too formal. What now?
What's missing?
Here are four asks from your business that went wrong. Sort each one by the piece it left out.
1"Write tweets in our voice." Your voice is hard to put into words.
2"Can you help with my shop's emails?"
3"Write about our new wool socks." It comes back as a 900-word essay.
4"Write the product page. Never use exclamation marks." It drops them, but the page still sounds pushy.
0 of 4 right so far, 4 to go.
Ten starter prompts
This is what you keep: ten asks to copy and fill in, two for each kind of job, and the rule they all follow.
Ten starter prompts
- To write: "Reply to this email for me: kind, under 100 words, with one clear next step." Or: "Turn these notes into a one-page plan with names and dates."
- To sum up: "Here is a document. Summarise it in five bullet points for someone who has not read it." Or: "Pull out every decision in this transcript and who owns it."
- To learn: "Explain this as if I were new to it, then give me one example from my kind of work." Or: "Ask me three questions before you start, then do the job."
- To improve: "Here is my draft. Mark the three weakest sentences and say why." Or: "Here are two examples I like. Write three more like them."
- To decide: "Give me three options, with the case for and against each." Or: "Check the figures in this for mistakes, and list each one."
Every good ask names the job, the reader, the material, an example and what done looks like. Then talk back.
Next: Lesson S4: Your first skill. Turn the ask you repeat most into a skill Claude uses on its own.