100 Claude Prompts & Commands: The Ultimate List for Claude.ai
What This Article Covers
- 100 tested Claude prompts and command codes across 10 categories.
- Slash-style shorthand commands (
/optimize,/template,/matrix,/table) as prompt prefixes. - Tailored to Claude’s strengths: long context windows, XML tags, Artifacts, Claude Code.
- Same categories as our ChatGPT guide, with Claude-specific tips.
Introduction
Claude.ai (Anthropic) responds to the same directive logic as ChatGPT: slash-style codes work identically. But Claude has particular strengths worth leveraging:
- XML Tags: Claude is trained to parse
<document>,<code>,<context>and similar tags exceptionally well, perfect for structured prompts. - Long Context: Feed it entire books or repositories, and
/analyzecommands become even more powerful. - Artifacts: Code, tables, and documents render as separate artifacts:
/tableand/documentland there cleanly. - Claude Code: For coding tasks, the CLI variant (
claudein your terminal) is the more capable option, and the same commands work there.
The list follows the same logic as ChatGPT, with 100 codes below plus Claude-specific refinements.
How These Commands Work in Claude
/optimize
<code>
[Your code here]
</code>
The XML tag trick is Claude-specific: wrap your input in <code>, <text>, or <data> tags and Claude processes it more cleanly than unmarked text.
Category 1: Coding & Development (10 Commands)
| Command | What It Does | Example Prompt |
|---|---|---|
/optimize | Optimize code | ”/optimize <code>[Code]</code>: focus on readability” |
/debug | Find and explain errors | ”/debug <code>[Code]</code> error: [message]“ |
/refactor | Restructure code | ”/refactor to clean code, keep API intact” |
/test | Write tests | ”/test with pytest, consider edge cases” |
/document | Add docstrings/docs | ”/document in Sphinx style” |
/review | Code review | ”/review for security + performance” |
/explain | Explain line by line | ”/explain for a junior dev” |
/regex | Build regex pattern | ”/regex for date formats” |
/sql | Generate SQL | ”/sql for revenue per month in 2025” |
/api | Design endpoint | ”/api REST for user auth in FastAPI” |
Claude tip: For coding work, use Claude Code (CLI), where Claude can directly read and write files and run tests. The same commands apply.
Category 2: Marketing & Advertising (10 Commands)
| Command | What It Does | Example Prompt |
|---|---|---|
/copy | Ad copy | ”/copy for [product], tone: warm” |
/campaign | Campaign concept | ”/campaign launch [product], 3 channels” |
/tagline | Slogans | ”/tagline 10 variations, concise” |
/audience | Build persona | ”/audience for [product] in detail” |
/funnel | Funnel stages | ”/funnel awareness→sale for [product]“ |
/ab-test | Variations | ”/ab-test subject line [text], 5 variants” |
/brand-voice | Tone/voice | ”/brand-voice 5 adjectives + sample text” |
/ad | Ad copy | ”/ad for Meta Ads, hook + CTA” |
/newsletter | Newsletter | ”/newsletter weekly, 3 topics” |
/launch | Launch plan | ”/launch 4-week plan for [product]” |
Claude tip: Claude excels at longer, nuanced writing. For marketing copy with tone, it often digs deeper than ChatGPT.
Category 3: Video Editing & Content (10 Commands)
| Command | What It Does | Example Prompt |
|---|---|---|
/script | Video script | ”/script YouTube video [topic], 10 min, hooks” |
/storyboard | Plan scenes | ”/storyboard for 60s clip, shot list” |
/hook | Opening hook | ”/hook 5 variations for [topic]“ |
/thumbnail | Thumbnail idea | ”/thumbnail concept for [video]“ |
/chapters | Chapters | ”/chapters from <transcript>[text]</transcript>” |
/broll | B-roll ideas | ”/broll list for [topic] video” |
/shorts | Short version | ”/shorts from this script” |
/voiceover | Voiceover text | ”/voiceover 30s, calm, timing markers” |
/title-video | Title variations | ”/title-video 10 CTR-optimized titles” |
/description | Video description | ”/description SEO-optimized + tags” |
Claude tip: With long transcripts in <transcript> tags, Claude can process entire videos. Perfect for /chapters and /summary.
Category 4: Writing & Copy (10 Commands)
| Command | What It Does | Example Prompt |
|---|---|---|
/rewrite | Rewrite | ”/rewrite [text], more concise” |
/expand | Expand | ”/expand with more detail” |
/shorten | Shorten | ”/shorten to 50% length” |
/tone | Change tone | ”/tone → formal instead of promotional” |
/proofread | Proofread | ”/proofread spelling + style” |
/simplify | Simplify | ”/simplify for non-experts” |
/headline | Headlines | ”/headline 10 variations” |
/intro | Introduction | ”/intro for article on [topic]“ |
/conclusion | Conclusion | ”/conclusion with call-to-action” |
/translate | Translate | ”/translate to German, natural” |
Category 5: SEO (10 Commands)
| Command | What It Does | Example Prompt |
|---|---|---|
/keywords | Keyword ideas | ”/keywords for [topic] with intent” |
/meta | Meta tags | ”/meta title + description for [page]“ |
/outline | Outline | ”/outline H2/H3 for [keyword]“ |
/schema | Schema.org markup | ”/schema FAQ JSON-LD for [topic]“ |
/interne-links | Internal link suggestions | ”/interne-links for [article]“ |
/title | Title variations | ”/title 5 CTR-optimized titles” |
/snippet | Snippet text | ”/snippet for [question], 40 words” |
/content-gap | Find gaps | ”/content-gap in <text>[article]</text>” |
/eeat | E-E-A-T improvements | ”/eeat improvements for [article]“ |
/lokal-seo | Local SEO | ”/lokal-seo for [business] in [city]“ |
Category 6: Business & Productivity (10 Commands)
| Command | What It Does | Example Prompt |
|---|---|---|
/swot | SWOT analysis | ”/swot for [idea/company]“ |
/pitch | Elevator pitch | ”/pitch 60 seconds for [product]“ |
/meeting | Agenda/minutes | ”/meeting agenda for sprint review” |
/email | Email draft | ”/email to [person], purpose, tone: professional” |
/report | Report | ”/report from <data>[data]</data>” |
/agenda | Meeting agenda | ”/agenda 45 min on [topic]“ |
/todo | Prioritize | ”/todo from <list>[tasks]</list>” |
/brainstorm | Ideas | ”/brainstorm 15 ideas for [problem]“ |
/decision | Decision matrix | ”/decision A vs B by [criteria]“ |
/summary | Summary | ”/summary of <text>[text]</text>, 5 points” |
Claude tip: /summary and /analyze are Claude’s forte. Drop in full long documents and it processes 200k-token context windows.
Category 7: Data Analysis & Tables (10 Commands)
| Command | What It Does | Example Prompt |
|---|---|---|
/analyze | Analyze | ”/analyze <data>[data]</data>” |
/matrix | Matrix | ”/matrix [options] by [criteria]“ |
/table | Table | ”/table [data] as markdown table” |
/chart | Chart code | ”/chart Python code for this data” |
/compare | Compare | ”/compare [A] vs [B]“ |
/forecast | Forecast | ”/forecast trend from [data]“ |
/segment | Segment | ”/segment list by [criterion]“ |
/survey | Survey | ”/survey 10 questions on [topic]“ |
/insight | Insights | ”/insight from <text>[report]</text>” |
/csv | As CSV | ”/csv structure <text>[data]</text>” |
Claude tip: /table and /matrix produce clean Artifacts in Claude’s interface, copyable and renderable directly in the UI.
Category 8: Social Media (10 Commands)
| Command | What It Does | Example Prompt |
|---|---|---|
/post | Create a post | ”/post LinkedIn about [topic]“ |
/thread | Create a thread | ”/thread X about [topic], 7 tweets” |
/caption | Write a caption | ”/caption Instagram for [photo]“ |
/hashtags | Generate hashtags | ”/hashtags 15 for [topic]“ |
/bio | Write profile bio | ”/bio for [person], 160 characters” |
/reply | Write a reply | ”/reply to comment: [text]“ |
/viral | Create viral post | ”/viral PAS framework for [topic]“ |
/poll | Create a poll | ”/poll for [community]“ |
/carousel | Design carousel | ”/carousel 8 slides on [topic]“ |
/content-plan | Plan content | ”/content-plan 1 week for [channel]“ |
Category 9: Learning & Education (10 Commands)
| Command | What It Does | Example Prompt |
|---|---|---|
/explain-einfach | Explain simply | ”/explain-einfach [concept]“ |
/quiz | Create quiz | ”/quiz 10 questions on [topic] + answers” |
/flashcards | Make flashcards | ”/flashcards for [topic]“ |
/lesson | Create lesson | ”/lesson [topic] for beginners” |
/tutor | Act as tutor | ”/tutor teach me [topic] with questions” |
/analogy | Find analogies | ”/analogy for [concept]“ |
/example | Provide examples | ”/example 3 real-world examples for [topic]“ |
/study-plan | Create study plan | ”/study-plan [topic] in 6 weeks” |
/eli5 | Explain simply | ”/eli5 [topic]“ |
/fehler | Common mistakes | ”/fehler common mistakes learning [topic]” |
Claude tip: /tutor and /explain-einfach shine here. Claude explains with nuance and patience without oversimplifying to the point of inaccuracy.
Category 10: Prompt Engineering & Meta (10 Commands)
| Command | What It Does | Example Prompt |
|---|---|---|
/template | Create prompt template | ”/template for recurring [task]“ |
/framework | Define thinking framework | ”/framework analyze with [model]“ |
/persona | Assign a role | ”/persona handle as [role]“ |
/roleplay | Simulate scenario | ”/roleplay negotiation conversation” |
/chain | Think step-by-step | ”/chain think step by step” |
/iteriere | Improve iteratively | ”/iteriere improve 3 times” |
/critique | Self-critique | ”/critique your own answer” |
/improve-prompt | Refine prompt | ”/improve-prompt my prompt: [text]“ |
/system | Set behavior | ”/system respond as [role]“ |
/format | Specify format | ”/format as markdown table” |
Claude-Specific Power Tips
- Use XML tags:
<document>,<code>,<example>. Claude parses them more precisely than free text. - Projects: Save frequently used codes as Project Instructions, they apply automatically.
- Artifacts:
/table,/document,/codeoutput as separate artifacts, copy-ready and versionable. - Long context: Paste entire codebases, books, transcripts.
/analyzebecomes genuine analysis, not sampling. - Claude Code CLI: For coding workflows, the terminal version is more powerful: direct file access, test runs, Git integration.
Further Reading
- IRC-Coding.de: Programming tutorials, prompt engineering, Claude integration.
- ChatGPT Prompts: Same list for ChatGPT.
- Ollama Prompt Engineering: For local models.
- AI Agents: Prompts for agent workflows.
- Coding Models: Local alternatives for coding prompts.
Key Takeaways:
- The same 100 codes work in Claude as in ChatGPT, plus XML tags as amplifiers.
- Claude’s strengths: long context (200k tokens), Artifacts for output, Projects for saved rules, Claude Code for development.
- Wrap input in
<code>,<document>,<transcript>for more precise processing. - For coding: Claude Code CLI beats the web version.
- Marketing and writing: Claude produces more nuanced, longer-form content.
FAQ
Are the codes the same as ChatGPT?
What do XML tags provide?
<code>, <document>, <data> mark input cleanly. Result: more precise parsing and less confusion between instructions and content.What are Artifacts?
How long can input be?
/analyze and /summary particularly strong in Claude for large documents.Claude Code vs. web interface?
Claude or ChatGPT for prompts?
Sources and Further Reading
- Claude Prompt Engineering: Anthropic documentation.
- Claude Code: CLI documentation.
- IRC-Coding.de: Programming tutorials.


