P

Claude AI Prompts: Complete Guide to Mastering Claude (Anthropic)

Claude, developed by Anthropic, is one of the most powerful and nuanced AI models on the market. Renowned for its ability to follow complex instructions, advanced reasoning, and extended context window (up to 200K tokens), Claude excels at tasks that require precision, nuance, and deep understanding. Whether you are a writer, developer, marketer, or entrepreneur, Claude can transform your productivity — provided you know how to talk to it. This complete guide gives you the keys to get the best out of Claude: from basic prompts to advanced techniques like XML prompting, chain of thought, and system role. Each technique is illustrated with concrete examples, ready to copy-paste.

The prompt

Claude

You are an expert assistant. I will give you a task to accomplish.

<context> [DESCRIBE THE SITUATION, PROJECT, OR PROBLEM IN 2-3 SENTENCES] </context> <objective> [WHAT YOU EXPECT AS A RESULT] </objective> <constraints> - Length: [SHORT / MEDIUM / DETAILED] - Tone: [PROFESSIONAL / CONVERSATIONAL / TECHNICAL] - Format: [LIST, TABLE, STRUCTURED PARAGRAPHS, CODE] </constraints> <examples> [OPTIONAL: GIVE AN EXAMPLE OF THE EXPECTED RESULT] </examples>

Personalize this prompt with Léa

Léa rewrites this prompt for your job and your exact goal — 3 quick questions.

Why it works

This prompt leverages Claude's specific strengths: XML tags (<context>, <objective>, <constraints>) that Claude natively interprets to structure its response, clear separation of instructions that reduces ambiguity, and the optional <examples> block enabling few-shot learning. Unlike generic prompts, this structure taps into Claude's architecture to produce precise results from the first iteration.

Expected result

Claude produces a structured response that exactly respects the specified constraints: the right tone, the right format, the right length. The result is directly usable without rewording, because the XML tags have guided the model to an unambiguous understanding of your request.

Variants by level

FAQ

What is the difference between Claude and ChatGPT for prompting?
Claude excels at following complex instructions, nuanced reasoning, and processing long documents (up to 200K tokens context). It natively interprets XML tags to structure exchanges. ChatGPT is often more creative in free generation and has a larger plugin ecosystem. For tasks that require precision and fidelity to instructions, Claude generally has the edge.
How to use XML tags with Claude?
XML tags are Claude's signature technique. Wrap each section of your prompt in descriptive tags: <context>, <instruction>, <format>, <examples>. Claude interprets them as semantic delimiters, which reduces ambiguity and improves response quality. You can also use custom tags like <persona>, <constraints>, or <criteria>.
Which Claude model to choose: Haiku, Sonnet, or Opus?
Haiku is the fastest and cheapest, ideal for simple tasks (classification, extraction). Sonnet offers the best quality-speed ratio for most use cases (writing, analysis, code). Opus is the most powerful for complex tasks requiring deep reasoning (strategy, research, long documents). Start with Sonnet, then upgrade if needed.

Related prompts

How to use this prompt

  1. Copy the prompt with the button above.
  2. Paste it into ChatGPT, Claude or your favorite AI assistant.
  3. Replace the bracketed variables with your details, then refine the result.

About Prompt Guide

Prompt Guide is a free library of 4800+ ready-to-use prompts for ChatGPT, Claude and other AIs, with guides to learn prompting and tools to build and optimize your own prompts.

More prompts to explore

Claude Prompt for Analyzing Competition

Competitive analysis is a strategic pillar for any company wishing to position itself effectively in its market. Claude excels in this discipline by structuring complex information, identifying strategic patterns, and producing actionable syntheses.

Claude Prompt for Analyzing HR Data

HR data analysis has become a strategic lever for companies looking to optimize their human capital management. Claude excels in this

Claude Prompt for Analyzing User Feedback

Analyzing user feedback is a strategic lever for any company looking to improve its products and services. However, manually processing hundreds or even thousands of customer reviews is time-consuming and prone to interpretation bias.

Claude Prompt for Brainstorming Ideas

Brainstorming is one of Claude's major strengths, capable of generating dozens of original ideas in seconds where a human team would take hours.

Claude Prompt for Contract Analysis

Contract analysis is a complex task that requires careful reading, a solid legal understanding, and the ability to quickly identify critical clauses.

Claude Prompt for Correcting a Text

Text correction is one of the most powerful uses of Claude. Whether you are a writer, student, professional, or content creator, spelling, grammar, and syntax errors can harm the credibility of your writing. Claude excels at identifying and correcting these errors thanks to its deep understanding of the French language, including complex agreements, irregular conjugations, and typographical subtleties. Unlike a simple auto-correct tool, Claude understands the context of each sentence, allowing it to detect errors that conventional tools miss: false friends, anglicisms, awkward repetitions, or register inconsistencies. By using a well-structured prompt, you get not only a corrected text but also explanations for each modification, helping you improve your language mastery. This approach turns correction into a continuous learning process tailored to your level and specific needs.

Go further

Get new prompts every week

Join our newsletter.