Prompting Claude
How to prompt Claude
Prompt Claude like a new colleague who knows nothing about your work: say the goal and the reason, give the facts, and show one example. XML tags help when a prompt mixes instructions, documents and examples, and a short prompt can do without them.
macOS 13+·Windows 10+·Free for 3 days, no card
Updated
The test
The new colleague test
Anthropic's guide gives you one test that catches most weak prompts.
Show your prompt to a colleague who has none of your background. A prompt that would confuse them will confuse Claude as well. The guide describes Claude as a new employee who lacks context, so be explicit about what you want.
Three habits follow from the test:
- Start with a verb. Anthropic's blog says to lead with a direct action verb such as "Write" or "Analyze".
- Give the reason. When you say why a rule exists, Claude can apply it to cases you did not list. The blog adds that purpose and audience help the model decide.
- Say what to do. Tell Claude what you want, not only what to avoid.
Scrubbr can write that background in from your own documents, so the new colleague arrives already briefed.
Examples
Examples and XML tags
Examples steer the answer, and tags keep the parts of a long prompt from blurring together.
Examples. The guide calls examples one of the most reliable ways to steer format, tone and structure. It says to make them relevant, diverse and clearly marked, and suggests three to five inside example tags. The blog says to begin with a single example and add more only if the answer still misses. For a first try, one is enough.
Tags. An XML tag is a pair of words in angle brackets that wraps a piece of text, such as a pair named "document" around a pasted contract. The guide says tags for instructions, context and input reduce misreading when one prompt holds all of them. It also says to use the same tag names every time.
When tags are worth it. Use them when your prompt holds several documents, or an example next to a task. For a three-line prompt, plain labels on their own lines do the same job. The cut-off for a short prompt is ours, since the guide gives none.
This tool
What is different in Claude
Claude's guides add a few habits that other tools' guides do not stress.
- Long documents go first. Put long material at the top, above your question. Anthropic's guide says this for documents of about 20,000 tokens or more, which is many pages.
- One sentence of role is enough. A role in the system prompt focuses the tone, and even a single sentence helps.
- Permission to be unsure. Tell Claude it may say it is not sure. Anthropic's blog reports fewer made-up answers when you do.
- Define success first. Anthropic's overview assumes you already know what a good result looks like and how you will test for it. In the six-part prompt, that is the "great answer" line.
- Format and limits in words. Be specific about the output format and the constraints. Use numbered steps when order or completeness matters.
The prompting hub has the common core, and the habits above are the ones Claude's guides stress.
Worked example
From "what should I worry about" to a prompt Claude can use
Ellis needs to decide whether to renew a hosting contract and has no lawyer on this. The prompt below puts the contract first and the question last.
In Claude
You say
optionsummarise this contract and tell me what to worry about, we are the customer, mainly renewal and cancelling and what happens if their servers go down
Scrubbr finds
- Knowledge base · Fenwick hosting agreement
Gmail · Fenwick renewal thread
- Knowledge base · Our contract checklist
Claude · Prompt
Goal: Help me decide whether to renew the Fenwick Cloud Hosting agreement. We are the customer and have no lawyer on this. A missed notice date locks us in for another year.
Facts: The full agreement sits above this text, wrapped in document tags. From Gmail: Ben Fowler at Fenwick says the renewal price rises 8% on Jan 1. From our contract checklist: we always check the renewal term, how to cancel, the liability cap and the uptime promise.
Steps: 1. Summarise the agreement in five plain sentences. 2. Find the renewal term, the notice period and the steps to cancel. 3. Find what happens when the service is down, including any credits. 4. List the three clauses most likely to hurt us, each with its clause number. 5. Say what to ask Ben to change.
Limits: Plain English, no legal jargon. Give the clause number for every point. If the agreement does not say something, write "not stated" and do not fill the gap. Say when you are unsure. Flag anything a lawyer should read.
Format: A one-paragraph summary, then a table with four columns: Risk, Clause, Why it matters, What to ask for. Under 400 words.
A great answer: I can read it in two minutes, know the cancel date, and send Ben three specific change requests.
Demo data. The people, company and facts are invented.
Questions
Claude questions
How do I prompt Claude?
Say the goal and the reason, give the facts, and show one example if the format matters. Open with the document and finish with your question. Tell Claude it may say when it is not sure.
Is prompting Claude different from prompting ChatGPT?
Mostly the habits are the same, and the prompting hub lists them. Anthropic's guide stresses a few: long documents first with the question last, a one-sentence role, and examples.
When should I use XML tags in a Claude prompt?
Use them when one prompt mixes instructions, context, examples and inputs, because tags reduce misreading. For a short prompt, plain labels on separate lines are enough.
Where should I put a long document in my prompt?
At the top, above your question. Anthropic's guide says this for long documents of about 20,000 tokens or more.
Can I tell Claude it is fine to say it does not know?
Yes. In Anthropic's blog, explicit permission to say it is unsure is listed as a way to reduce made-up answers.
Sources
Where these facts come from
Sources checked on 2026-11-03.
Scrubbr writes this prompt for you. Hold Option and say one line.
Try Scrubbr free for 3 days
Download Scrubbr, connect your tools, and give your first prompt in two minutes.
macOS 13+·Windows 10+·Free for 3 days, no card