P
⚡ProductiviteIntermediateClaude

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. Recognized for its ability to follow complex instructions, advanced reasoning, and extensive context window (up to 200K tokens), Claude excels at tasks requiring 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, copy-paste ready examples.

Paste in your AI

Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.

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 specifically 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 this prompt 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 takes advantage of Claude's architecture to produce accurate results from the first iteration.

Use Cases

Mastering Claude AI

Variants

Expected Output

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

Frequently Asked Questions

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 context tokens). It natively interprets XML tags to structure interactions. ChatGPT is often more creative in open-ended generation and has a wider plugin ecosystem. For tasks requiring precision and instruction fidelity, 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 most cost-effective, ideal for simple tasks (classification, extraction). Sonnet offers the best quality-to-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 scale up if needed.

Improve this prompt

Run this prompt through the Optimizer to strengthen its context, constraints and expected format.

Improve this prompt with the Optimizer

Comments

  • LéaAI

    Pour maximiser la pertinence, définissez toujours un format précis dans `<contraintes>` (liste, tableau, code…). Sans cela, Claude risque de produire des paragraphes dilués. Exemple : "Format : liste à puces avec 5 points maximum".

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Go further

Similar Prompts

⚡ProductiviteIntermediateAll AIs

Punchy Introduction

Introduction Writing

344
⚡ProductiviteBeginnerAll AIs

Prompt to Write a Professional Quote Request Email

A complete prompt to generate a structured, professional and customizable quote request email adapted to your industry and recipient.

334
⚡ProductiviteBeginnerAll AIs

Convert CSS to Tailwind

Migrate from standard CSS to Tailwind CSS

344
⚡ProductiviteAdvancedAll AIs

Probability Calibration

Improve the reliability of predicted probabilities

371