All guides

$ open guides/claude-prompt-techniques-that-work

FreeClaudePromptsClaude Code

5 real Claude techniques that actually work

No secret commands. Five techniques Anthropic describes in its own documentation, with a template for each: copy it, drop in your text and see the difference in the answer right away.

What you'll get

6 sections5 steps5 prompts

What is behind the techniques

  • 1 word

    ultrathink turns on deeper reasoning for one turn

    Claude Code only, session settings stay the same

  • 3–5

    examples Anthropic recommends for best results

    varied, so Claude does not copy one pattern

  • 0

    secret commands like /human in the docs

    techniques work, magic words do not

01Techniques

Five techniques and what each one gives you

Each technique fixes one clear problem: a shallow answer, task and material mixed up, made-up facts, an answer that ignores the text, the wrong style.

  1. 1. ultrathink

    Claude Code

    Put the word ultrathink anywhere in a Claude Code task and Claude reasons deeper on that turn. Phrases like think hard are not commands: they are ordinary prompt text.

  2. 2. XML tags

    any chat

    Wrap pasted text in a tag such as context: an opening tag before the text, a closing one after it. Claude stops mixing your instructions with the material it should work on.

  3. 3. Permission to say I don't know

    any chat

    Explicitly allow Claude to say it doesn't know when the text has no answer. Claude makes up facts less often, though this does not remove mistakes completely.

  4. 4. Quotes first

    long documents

    For a long document, ask Claude to pull word-for-word quotes into a quotes tag first and answer only after that. The answer rests on the text, not on general knowledge.

  5. 5. Three to five examples

    any chat

    Give 3–5 examples of the result you want in example tags. Claude keeps the format and style more precisely than with any description in words.

02Templates

Templates for any chat with Claude

Copy, replace the text in square brackets with your own and send. Tags can have any name, just keep it the same across the prompt.

01Technique 2. Task apart from the material

prompt 01
Reduce the text below to its 5 main ideas. One line per idea.

<context>
[paste the article, email or notes here]
</context>

The instruction sits outside the tag, the material inside. For several documents give each its own tag: document_1, document_2.

02Technique 3. Permission to say I don't know

prompt 02
Answer the question using only the document below. If the document has no answer or you are not sure, say so: "The document does not say". Do not fill in the gaps.

Question: [your question]

<document>
[document text]
</document>

Works well with contracts, reports and manuals, where a made-up answer is expensive.

03Technique 4. Quotes first, then the answer

prompt 03
First, pull word-for-word quotes from the document that relate to the question and put them in <quotes> tags. Then answer the question using only those quotes. If there are no relevant quotes, say so.

Question: [why did sales grow?]

<document>
[long document]
</document>

The quotes also show where the answer came from: they are easy to check by eye.

Templates

Examples for style and ultrathink for Claude Code

01Technique 5. Three to five examples

prompt 01
Write a post about [topic] in the same style as the examples below.

<example>
[your good post 1]
</example>
<example>
[your good post 2]
</example>
<example>
[your good post 3]
</example>

Pick varied examples: different topics, lengths and openings. Near-identical examples get rewritten almost word for word.

02Technique 1. ultrathink in Claude Code

prompt 02
Refactor [file] and find the edge cases that are not handled yet. Show the plan first, then change the code. ultrathink

The word works only in Claude Code and only for that turn. Simple tasks do not need it: the answer gets slower and more expensive.

03Fact check

Which secret codes are real

Videos about secret commands are partly made up. We checked popular claims against the documentation.

01think hard

People say

The phrase think hard makes Claude think deeper.

In fact

In Claude Code it is ordinary text, not a command. There is one keyword: ultrathink.

02Slash commands

People say

Hidden commands like /human change the style of the answer.

In fact

Claude has no such commands. Style changes with examples and a plain description of what you need.

03Don't lie

People say

Writing do not make things up is enough to stop mistakes.

In fact

Better to allow I don't know and ask for answers based on quotes. Mistakes get rarer but do not disappear.

04Tags

People say

Tags are only for programmers.

In fact

Tags help in any chat: they simply separate the task from the pasted text.

04Checklist

Before you send a prompt

Check

  • The task is outside the tags, the material inside
  • If the answer must rest on the text, Claude may say I don't know
  • For a long document you ask for quotes first
  • If style matters, there are 3–5 varied examples
  • ultrathink appears only in a hard Claude Code task

05Try it yourself

Test the techniques on your own task in 15 minutes

One task, two prompts: a usual one and one with a technique. Compare the answers.

0/5 done
  1. Take a real task

    An email, a report or an article you are already working on this week.

  2. Ask as usual

    Send your usual prompt without techniques and save the answer.

  3. Add tags

    Put the material in a context tag and keep the task outside.

    XML
  4. Add quotes or I don't know

    If the answer must rest on the text, add one of these techniques.

    quotes
  5. Compare the two answers

    See where the second one is more accurate and save the good prompt as your template.

06

Where these techniques won't save you

  • 01

    Permission to say I don't know reduces made-up answers but does not remove them: check important facts yourself.

  • 02

    ultrathink works only in Claude Code. In a regular chat it is just a word in the text.

  • 03

    Deeper reasoning makes the answer slower and more expensive. Simple questions don't need it.

  • 04

    Examples set the style, but if they look alike, Claude starts copying them almost word for word.

Sources

  1. 1Claude docs: Prompting best practices
  2. 2Claude docs: Reduce hallucinations
  3. 3Claude docs: Long context prompting tips
  4. 4Claude Code docs: Model configuration (ultrathink)

Go deeper

Mastering Claude Code: From Zero to Power User

The Claude course covers these techniques together with roles, long documents and setting up Claude Code on real tasks.

$44.90 · one payment, lifetime access

More guides on this topic

All guides

Comments