logoalt Hacker News

Claude Code Cheat Sheet

468 pointsby phasE89yesterday at 9:44 PM150 commentsview on HN

Comments

nizsletoday at 1:01 PM

I was told the hot new programming language was English

bobjordantoday at 11:48 AM

Surprised that my most used flag `--dangerously-skip-permissions` is not on it

show 2 replies
comboytoday at 11:05 AM

Wow /insights is genuinely useful, perhaps CLI should be pushing that as a tip, if one has enough sessions, instead of keep nagging me about the frontend developer skill which I already have installed

In general CLI could be more reliable and responsive though, it's a text based env yet sometimes feel like running windows 95 on 386dx

It seems clear from the insights that some model is marking failure cases when things went wrong and likely reporting home, so that should be extremely valuable to Anthropic

jvillasantetoday at 10:52 AM

Isn't this going to be stale in a week? Can you just tell Calude Code to generate a cheat sheet of itself?

show 2 replies
phasE89yesterday at 9:44 PM

I use Claude Code daily but kept forgetting commands, so I had Claude research every feature from the docs and GitHub, then generate a printable A4 landscape HTML page covering keyboard shortcuts, slash commands, workflows, skills system, memory/CLAUDE.md, MCP setup, CLI flags, and config files.

It's a single HTML file - Claude wrote it and I iterated on the layout. A daily cron job checks the changelog and updates the sheet automatically, tagging new features with a "NEW" badge.

Auto-detects Mac/Windows for the right shortcuts. Shows current Claude Code version and a dismissable changelog of recent changes at the top.

It will always be lightweight, free, no signup required: https://cc.storyfox.cz

Ctrl+P to print. Works on mobile too.

show 5 replies
jerrygoyaltoday at 3:10 AM

I recently switched from the CC terminal to the CC VS Code extension, and I like it better.

bingemakertoday at 2:45 AM

Nice work. Under "MCP" section, "Local" shouldn't be prepended with "~". It should just be `.claude.json (per project)`

kxrmyesterday at 11:24 PM

CMD + V to paste an image is wrong.

On Mac it's the same as Windows, CTRL + V.

You use CMD + V to paste text.

show 2 replies
guessmynameyesterday at 11:53 PM

There’s actually a lot more environment variables:

edit: removed obnoxious list in favor of the link that @thehamkercat shared below.

My favorite is IS_DEMO=1 to remove a little bit of the unnecessary welcome banner.

show 1 reply
AugustoCAStoday at 7:48 AM

Are 'project rules' a thing?

> .claude/rules/.md Project rules

> ~/.claude/rules/.md User rules

or is it just a way to organise files to be imported from other prompts?

bibimszyesterday at 11:25 PM

Thanks for putting this together! It's really nice to have a quick reference of all the features at a glance — especially since new features are being added all the time. Saves a lot of digging through docs.

plantainyesterday at 11:37 PM

Shocking how far ahead Claude Code is from Codex on the CLI front.

show 4 replies
amaitoday at 7:27 AM

Why do we still need cryptic commands for an AI?

jcimstoday at 12:31 AM

The link to the changelog on the page got me wondering what the change history looks like (as best we can see).

I asked chatgpt to chart the number of new bullet points in the CHANGELOG.md file committed by day. I did nothing to verify accuracy, but a cursory glance doesn't disagree:

https://imgur.com/a/tky9Pkz

williamcottontoday at 12:38 AM

Undo (typing):

  Ctrl + _ (Ctrl + underscore)
Applies to the line editor outside of CC as well.
dangoodmanUTyesterday at 11:43 PM

I think this is the argument for UIs - it should be self-explanatory since it's singificantly simpler than an IDE

show 3 replies
EdNuttingtoday at 12:04 PM

Ah yes, the AGI will have many toggle switches, just like intelligent humans :,-)

levocardiatoday at 12:07 AM

It's missing the most important CLI flag! (--dangerously-skip-permissions)

show 1 reply
artyomtoday at 2:06 AM

Wait, why do we need chat sheets for this like it's (gasp!) a programming language, tool or IDE?

it's almost like if the thing is not intelligent at all and just another abstraction on top of what we already had.

show 2 replies
airstriketoday at 2:32 AM

personally I'm a fan of "ultrathink squared"

show 1 reply
apoorvdarshantoday at 4:48 AM

dangerously skip permission is all u need

rk3000today at 4:54 AM

can you add a dark mode? its so bright.

hooloovoo_zootoday at 12:47 AM

Proposition: Every power user feature added lowers Anthropic’s market cap $1B and OpenAI’s $10B.

mrtzyesterday at 10:16 PM

that is quite helpful, thanks!

zmmmmmyesterday at 11:59 PM

If only there was some kind of tool that could answer helpful questions about technology instead of needing a cheat sheet.

dirteater_today at 12:39 AM

Ctrl + S - Stash

SilentM68today at 3:23 AM

Very useful :)

vascotoday at 2:31 AM

Just ask it, this is not needed

show 1 reply
whalesaladtoday at 12:36 AM

needs a literal /dark mode

nininininotoday at 12:17 AM

This just exposes why UI like Codex, Cursor, T3 Code, Conductor, Intent, etc are necessary.

This is a bit intense.

show 2 replies
droidjjyesterday at 10:35 PM

The fact this needs to exist seems like a UX red flag.

show 6 replies
bamwortoday at 12:21 PM

[dead]

JulianPembroketoday at 11:11 AM

[dead]

dylan604yesterday at 10:21 PM

Is something updated daily a good target to be printable?

show 7 replies
michaelmoreiratoday at 9:27 AM

[dead]

BANRONFANTHEtoday at 7:04 AM

[dead]

pugchattoday at 4:23 AM

[dead]

maxbeechtoday at 6:59 AM

[dead]

winsonaibuildertoday at 9:35 AM

[dead]

jee599today at 3:54 AM

[dead]