Skip to content

Cheat sheet

Claude cheat sheet: the prompts and commands that actually work

What the viral Claude 'codes' really do, plus the prompts that actually work and the real Claude Code commands.

On this page

You've probably seen viral posts about "secret Claude codes" like L99 or /ghost. None of them are hidden commands, and there are no special modes behind them. Claude just reads the word and works out what you probably mean.

That's why some work and most don't. A code works when the word itself makes the job obvious (INVERT, PARETO, OODA). It does nothing when it's made up (L99, BEASTMODE). So for each pick below I've added the full instruction it stands for. Paste that and you'll get the result every time.

Top picks: start here

These are the ones I'd build into your workflow. Use the shorthand if you like. It's the full instruction that does the work.

L99: direct, opinion-first answer with no hedging.

Prompt
Give me your direct recommendation first, then the specific reasoning. Don't hedge or list every option equally.

ULTRATHINK: deeper reasoning on a hard problem. In the Claude app, also switch on Extended thinking.

Prompt
Think this through carefully before answering, consider the alternatives, and tell me which you'd choose and why.

/ghost: rewrites text so it reads like a person wrote it.

Prompt
Rewrite this in natural, simple language. No clichés, no 'delve', no 'in today's fast-paced world', no em dash habit.

/mirror: matches your voice from a sample.

Prompt
Here's a sample of my writing. Match its tone, sentence length and vocabulary in everything you write next.

PERSONA:: frames Claude as a specific expert. The more specific, the better: "PERSONA: Postgres DBA with 15 years at a payments company" works, "PERSONA: developer" doesn't.

Prompt
Answer as a [very specific expert, e.g. Postgres DBA with 15 years running payments infrastructure].

/premortem: finds why your plan will fail before it does.

Prompt
Assume this plan failed 12 months from now. List the most likely reasons, ranked, and how to prevent each one.

/punch: makes copy hit harder.

Prompt
Tighten this copy. Shorter sentences, active voice, strongest point first, cut weak words.

PARETO: finds the 20% that drives 80% of results.

Prompt
Which 20% of these actions will drive most of the result? Rank them and tell me what I can drop.

/noyap: cuts the filler.

Prompt
Answer directly. No intro, no recap, no closing offer, no filler.

INVERT: solves the problem backwards.

Prompt
Work backwards. What would guarantee failure here, and what does avoiding each of those tell us to do?

Want one of these on every chat (like no filler)? Paste the full instruction into Instructions for Claude and you'll never have to type it again.

Go to

SettingsInstructions for Claude

Writing and style

Same deal here. They're shorthand, so spell out what you want changed.

ShorthandAsk for
/rawNo formatting, no headings or bullets, just plain text
/voiceKeep this exact tone for the whole conversation
/flowRestructure so it reads smoothly start to finish
/trimCut the fluff without losing meaning
/hookRewrite the opening line to grab attention
/rephraseSay the same thing in a completely different way
/polishMake rough text sound professional without changing meaning

Thinking and reasoning

ShorthandAsk for
OODAUse the observe, orient, decide, act framework
/deepthinkReason through every layer before answering
CHAINLOGICShow each reasoning step so I can follow the logic
/blindspotsTell me what I'm missing that I didn't think to ask
OVERTHINKOver-analyse on purpose to catch details others miss
/unpackBreak this idea into every piece that makes it work
XRAYLook past the obvious answer to find the real one
/layeredAnswer at surface, mid and deep levels
/skepticChallenge my assumptions and poke holes in the logic
Think step by stepWork through it in stages before giving the answer

Strategy and analysis

ShorthandAsk for
/analystStructured, data-backed analysis
/criticA critical, challenge-everything review
/compareA side-by-side comparison table
SCAFFOLD / BLUEPRINTA full project plan with structure and files
/pitchFrame it as a pitch or persuasive argument

Creation and artifacts

In the Claude app, Claude builds interactive things (apps, dashboards, diagrams) as artifacts when you ask for them. You don't need a code, just say what you want built.

ShorthandAsk for
ARTIFACTS"Build this as an interactive artifact"
/buildmeA complete working app or tool from a description
DASHBOARDAn interactive dashboard from my data
PROTOTYPEA working prototype of this idea
CANVAS / /renderA visual layout or diagram
WIREFRAMEA basic layout for a website or app screen
GENERATORA reusable tool that creates outputs on demand

Claude Code: real built-in commands

These ones are different. They're real commands built into Claude Code (the coding tool) and each one triggers a feature.

CommandWhat it does
/clearStarts a fresh conversation, so Claude forgets everything from the last one
/compactSummarises the conversation so far to free up space
/contextShows what's filling up the context window (how much Claude can keep in mind at once)
/usageShows your session cost and plan usage limits (/cost still works as a shortcut)
/rewindRolls the conversation and/or your code back to an earlier point
/resumePicks up a previous conversation
/modelSwitches the model
/effortSets how hard Claude thinks for the whole session
/planSwitches to plan mode so Claude plans before it changes anything
/goalSets a finish line. Claude keeps working until it's met
/btwAsks a side question without adding it to the conversation
/insightsBuilds a report on how you use Claude Code and what to try next
/simplifyReviews your changed code and cleans it up
/code-reviewReviews your changes for bugs
/initCreates a starter CLAUDE.md file for your project (notes Claude reads at the start of every session)
/memoryEdits your CLAUDE.md memory files
/permissionsSets what Claude can do without asking
/mcpManages your MCP servers (connectors that let Claude use other apps)

ultrathink is real in Claude Code (not the chat app). Put the word anywhere in your message and Claude thinks harder for that one reply. It's the only "code" from the viral lists that's a real feature.

Don't bother with these

These went viral, but they aren't real. Claude has no such modes, so the best they'll do is add noise.

  • BEASTMODE: usually just makes the answer longer
  • OMEGA: does nothing
  • /jailbreak: does nothing (if anything it makes Claude more careful)
  • /kill: does nothing

I build AI tools and give them to you for free.

Once a week I'll send you my latest guides and tools I've built, ready to copy or install.

Follow me for more AI workflows

New guides and tools go out as short videos first. The write-ups land here.

From the library

  • Claude

    AI Assistants & LLMs

    4.6

    Anthropic's chat assistant, at its best on careful writing and long documents.

    Freemium
  • Claude Code

    Coding & Dev Tools

    4.4

    An AI agent that works inside your project: it reads, writes and runs the code for you.

    Paid
  • Prompt Master

    Writing & Prompts

    Turns a rough request into an expert prompt for Claude, ChatGPT, Midjourney and 20+ tools.

    Free

More free resources