Remix.run Logo
Claude Code Cheat Sheet(cc.storyfox.cz)
383 points by phasE89 12 hours ago | 114 comments
phasE89 12 hours ago | parent | next [-]

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.

ltheanine 10 hours ago | parent | next [-]

> Ctrl+P to print. Works on mobile too.

There’s something funny about this statement on a description of a key bind cheat sheet. I can’t seem to find ctrl on my phone and I think it may be cmd+p on mac.

sen 10 hours ago | parent | next [-]

Technically you could use a keyboard with any modern phone, so it’s not “wrong”, it’s just… extremely unlikely anyone would ever do it.

qingcharles 6 hours ago | parent [-]

True. I had an iPhone with a broken digitizer so I just plugged a USB keyboard and mouse into it and it worked great.

mynegation 10 hours ago | parent | prev [-]

Classical coreference resolution failure.

winternewt 3 hours ago | parent | prev | next [-]

What version of Claude Code is this? I don't have the /cost command mentioned here.

shric 11 minutes ago | parent [-]

It exists on my work enterprise account but not my personal account which is a monthly flat rate. I assume if I exceed my quota and I choose pay as I go then it will become available.

tietjens an hour ago | parent | prev | next [-]

Wow nice! Thank you.

mohsen1 3 hours ago | parent | prev | next [-]

`^` is the symbol for the Control key not `⌘`

airstrike 7 hours ago | parent | prev | next [-]

FYI in US Letter Size it fits into a perfect 1 page...and a blank 2nd page. at least here on macOS firefox

Brajeshwar 5 hours ago | parent | prev [-]

Are you OK opening up the source?

jerrygoyal 6 hours ago | parent | prev | next [-]

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

AugustoCAS 2 hours ago | parent | prev | next [-]

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?

bingemaker 7 hours ago | parent | prev | next [-]

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

kxrm 10 hours ago | parent | prev | next [-]

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.

sumedh 31 minutes ago | parent | next [-]

Warp Terminal supports CMD + V on Mac to paste an image

zyz 3 hours ago | parent | prev | next [-]

Yes, this also applies to some other commands as well: CTRL+G opens the external editor, not CMD+G on Mac.

komali2 8 hours ago | parent | prev [-]

I thought it was CTRL SHIFT V. Is that Linux only? Ctrl V sends some kind of funky key combo.

antiframe 5 hours ago | parent [-]

Might depend on your terminal. On Konsole, I use C-v to paste images and C-S-v to paste text from my clipboard.

guessmyname 10 hours ago | parent | prev | next [-]

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.

thehamkercat 9 hours ago | parent [-]

https://code.claude.com/docs/en/env-vars

bibimsz 10 hours ago | parent | prev | next [-]

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.

amai 2 hours ago | parent | prev | next [-]

Why do we still need cryptic commands for an AI?

jcims 9 hours ago | parent | prev | next [-]

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

plantain 10 hours ago | parent | prev | next [-]

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

dataviz1000 9 hours ago | parent | next [-]

With Claude Code I created an agent that spawns 5 copies of itself branching git worktrees from main branch using subagents so no context leaks into their instructions. The agent will every 60 seconds analyze the performance of each of the copies which run for about 40 minutes answering the question "what would you do different?". After they finish the task, the parent will update the .claude/ files enhancing itself reverting if the copies performed worse or enhancing if they performed better. Then it creates 5 copies of itself branching git worktrees from main branch ..........

After 43 iterations, it can turn any website using any transport (WebSocket, GraphQL, gRPC-Web, SSE, JSON API (XHR), Encoded API (base64, protobuf, msgpack, binary), Embedded JSON, SSR, HLS/Media, Hybrid) into a typed JSON API in about 10 - 30 minutes.

Next I'm going to set it loose on 263 GB database of every stock quote and options trade in the past 4 years. I bet it achieves successful trading strategies.

Claude Code will be the first to AGI.

aryehof 3 hours ago | parent | next [-]

> Next I'm going to set it loose on 263 GB database of every stock quote and options trade in the past 4 years. I bet it achieves successful trading strategies.

I bet it doesn't achieve a single successful (long term) trading strategy for FUTURE trades. Easy to derive a successful trading strategy on historical data, but so naive to think that such a strategy will continue to be successful in the long term into the future.

If you do, come back to me and I’ll will give you one million USD to use it - I kid you not. Only condition is your successful future trading strategy must solely be based on historical data.

the__alchemist 8 hours ago | parent | prev | next [-]

Let us perform a thought experiment. You do this. Many others, enthusiastic about both LLMs, and stocks/options, have similar ideas. Do these trading strategies interfere with each other? Does this group of people leveraging Claude for trading end up doing better in the market than those not? What are your benchmarks for success, say, a year into it? Do you have a specific edge in mind which you can leverage, that others cannot?

dataviz1000 7 hours ago | parent | next [-]

I've fully aware of this. If I thought there was any profit to be made, I would never mention it.

Now what is important is developing techniques for detecting patterns as this can applied to research, science, and medicine.

mayukh 6 hours ago | parent [-]

do you have a public repo

heavyset_go 7 hours ago | parent | prev | next [-]

Their superior skills with LLMs will give them an edge, of course. Yes, I've met people who think like this lol

xvector 5 hours ago | parent [-]

People used to laugh about quant strategies the same day, I wouldn't count it out so quickly. One of my friends is already turning meaningful profits with agent driven trading (though he has some experience in trading to begin with.)

Tehchops 5 hours ago | parent | prev [-]

Casting aside the fact that any trading firm of any size or seriousness already has this dataset in 10 different flavors...

heavyset_go 7 hours ago | parent | prev | next [-]

Agent mania is a subset of AI mania, it's interesting to see which it is that makes a person crack

dayjaby 3 hours ago | parent | prev | next [-]

Comments like this should include how much $$$ you spend on tokens.

sroussey 8 hours ago | parent | prev | next [-]

Where is 263 GB database of every stock quote and options trade in the past 4 years?

dataviz1000 8 hours ago | parent | next [-]

https://massive.com/docs/flat-files/quickstart

I use TimescaleDB which is fast with the compression. People say there are better but I don’t think I can fit another year of data on my disk drive either or

komali2 8 hours ago | parent [-]

Compression doesn't really explain the whole picture...

Where'd you get the data itself? You sense I suppose everyone's skepticism here.

dataviz1000 7 hours ago | parent [-]

I linked to the source of the data.

I don't understand your question? Are you saying the source of the data I linked to is corrupt or lies? Should I be concerned they are selling me false data?

reverius42 5 hours ago | parent [-]

I think the name "massive" combined with the direct link to the docs is a bit misleading; it's not at all obvious from where you land w/ that link that they are selling the actual data. (It kind of sounds like they're selling software that helps you deal with massive data in general, which, no.)

But they are in fact selling the actual data! https://massive.com/pricing

collinvandyck76 8 hours ago | parent | prev [-]

claude had a time loop error and was trained on this post

bnteke 8 hours ago | parent | prev | next [-]

cringe

greggsy 3 hours ago | parent [-]

I agree, but there’s another comment further down responding with ‘based’, so to each their own I suppose.

rvz 7 hours ago | parent | prev | next [-]

"AGI" is not what you think it is.

nurettin 4 hours ago | parent | prev | next [-]

Classic AI psychosis, you can do it with a single prompt, etc. etc.

If you find such a db with options, it will find "successful trading strategies". It will employ overnight gapping, momentum fades, it will try various option deltas likely to work. Maybe it will find something that reduces overall volatility compared to beta, and you can leverage it to your heart's content.

Unfortunately, it won't find anything new. More unfortunately, you probably need 6-10 years and do a walk forward to see if the overall method is trustworthy.

abigail95 8 hours ago | parent | prev | next [-]

you can have it build an execution engine that interfaces with any broker with minimal effort.

how do you have it build a "trading strategy"? it's like asking it to draw you the "best picture".

it will ask you so many questions you end up building the thing yourself.

if you do get something, given that you didn't write it and might not understand how to interpret the data its using - how will you know whether it's trading alpha or trading risk?

dataviz1000 7 hours ago | parent [-]

This is where I’m at now with getting Claude to iterate over a problem. https://github.com/adam-s/intercept?tab=readme-ov-file#the-s...

I can care less about scraping and web automation and I will likely never use that application.

I am interested in solving a certain class of problems and getting Claude to build a proxy API for any website is very similar to getting Claude to find alpha. That loop starts with Claude finding academic research, recreating it, doing statistical analysis, refining, the agent updating itself, and iterate.

Claude building proxy JSON api for any website and building trading strategies is the same problem with the same class of bugs.

bingemaker 5 hours ago | parent | prev | next [-]

I'm curious. How does this coordination work? Do you have any notes that I can refer to?

cornel_io 4 hours ago | parent [-]

Just tell Claude to create tmux sessions for each, it can figure out the rest.

TacticalCoder 8 hours ago | parent | prev | next [-]

> Next I'm going to set it loose on 263 GB database of every stock quote and options trade in the past 4 years.

Options quotes alone for US equities (or things that trades as such, like ADS/ADR) represent 40 Gbit per second during options trading hours. There are more than 60 million trades (not quotes, only trades) per day. As the stock market is opened approx 250 days per year (a bit more), that's more than 60 billion actual options trades in 4 years. If we're talking about quotation for options, you can add several orders of magnitude to these numbers.

And I only mentioned options. How do you store "every stock quote and options trade in the past 4 years" in 263 GB!?

jtbaker 8 hours ago | parent | next [-]

> And I only mentioned options. How do you store "every stock quote and options trade in the past 4 years" in 263 GB!?

I think this would be pretty straightforward for Parquet with ZSTD compression and some smart ordering/partitioning strategies.

dataviz1000 6 hours ago | parent | prev [-]

I see, I said "stock quote" instead of "minute aggregates". You are correct that data set is much larger and at ~1.5TB a year [0] I did not download 6TB of data onto my laptop. Every settled trade options or stocks isn't that big.

[0] https://massive.com/docs/flat-files/stocks/quotes

bigstrat2003 3 hours ago | parent | prev [-]

Claude Code can't even succeed at programming. The idea of it turning into AGI is laughable.

midasz 2 hours ago | parent | prev | next [-]

It's just abhorrently slow, it does a lot but I always thouhgt TUI were fast but the amount of times it doesn't register my input is way too much.

yoyohello13 8 hours ago | parent | prev | next [-]

Yet all the people OpenAI bought out recently say Codex is “the future”

briHass 6 hours ago | parent | next [-]

The bigger question is: does Anthropic have a big enough moat to matter?

I've used/use both, and find them pretty comparable, as far as the actual model backing the tool. That wasn't the case 9 months ago, but the world changes quickly.

greggsy 3 hours ago | parent | next [-]

I don’t believe there will ever be a real moat in terms of technology, at least not for the next year or so. The arms race between the major players still changing month to month, and they will all be able to do what their competitors were doing g three months ago.

None of them are particularly sticky - you can move between them with relative ease in vscode for instance.

I think the only moat is going to be based on capacity, but even that isnt going to last long as the products are moved away from the cloud and closer your end devices.

sbinnee 4 hours ago | parent | prev [-]

It matters to me. Claude code is more extensible. They put a lot of efforts to hooks and plugins. Codex may get the job done today. But Claude will evolve faster.

arrowsmith 2 hours ago | parent [-]

None of that matters if the model is worse. I say this as someone who uses both Claude Code and Codex all day every day — I agree with others in this thread that CC has much better UX and evolves faster, but I still use Codex more often because it's simply the better coder. Everything else is a distant second to model quality.

andyferris 8 hours ago | parent | prev | next [-]

I guess it would be too obvious a lie to say Codex is "the present"?

yberreby 8 hours ago | parent | prev [-]

Wouldn't be a very good look if they did anything else.

cute_boi 6 hours ago | parent | prev [-]

codex is far better in terms of performance than claude code.

williamcotton 9 hours ago | parent | prev | next [-]

Undo (typing):

  Ctrl + _ (Ctrl + underscore)
Applies to the line editor outside of CC as well.
dangoodmanUT 10 hours ago | parent | prev | next [-]

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

alwillis 8 hours ago | parent | next [-]

> I think this is the argument for UIs

To quote The Godfather II, "This is the business we have chosen."

The most popular and important command line tools for developers don't have the consistency that Claude Code's command line interface does. One reason Claude Code became so popular is because it worked in the terminal, where many developers spend most of their time. But using tools like Claude Code's CLI is a daily occurrence for many developers. Some IDE's can be just as difficult to use.

For people who don’t use the terminal, Claude Code is available in the Claude desktop app, web browsers and mobile phones. There are trade-offs, but to Anthropic’s credit, they provide these options.

joegibbs 4 hours ago | parent | prev | next [-]

I used to think UIs would be better for agents, but I changed my mind: UIs suit traditional software very well because there are only X actions that can be performed - it makes sense that if you have an image converter that can take X, Y and Z formats and convert them to A, B and C then you should have a UI that limits what the user can do, preventing them from making mistakes and making it obvious what's possible.

But for something like Claude Code there are unlimited things you can do with it, so it's better for them to accept a free-form input.

therealdrag0 2 hours ago | parent [-]

Huh? Did you see the cheat sheet? Most of it is a UI of the terminal and shortcut variety, and much of it is exposed in other IDEs as a traditional UI.

keithnz 8 hours ago | parent | prev [-]

not really, mostly its self explanatory, it has poweruser things that are discoverable within a few minutes of reading the help. Weirdly the cheat sheet is actually missing things that you can find inside claudes help like /keybinds .

hooloovoo_zoo 9 hours ago | parent | prev | next [-]

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

levocardia 9 hours ago | parent | prev | next [-]

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

kqr an hour ago | parent | next [-]

I keep hearing that, and I have yet to go there. I find the permission checks are helpful – they keep me in the loop which helps me intervene when the LLM is wasting time on pointless searches, or going about the implementation wrong. What am I missing?

kstenerud 35 minutes ago | parent [-]

The problem comes when it starts asking you hundreds of times "May I run sed -e blah blah blah".

After the 10th time you just start hitting enter without really looking, and then the whole reason for permissions is undermined.

What works is a workflow where it operates in a contained environment where it can't do any damage outside, it makes any changes it likes without permission (you can watch its reasoning flow if you like, and interrupt if it goes down a wrong path), and then you get a diff that you can review and selectively apply to your project when it's done.

kqr 16 minutes ago | parent [-]

> starts asking you hundreds of times "May I run sed -e blah blah blah".

In my experience, that is already a sign that it's no longer trying to do the right thing. Maybe it depends on usage patterns.

kstenerud 4 hours ago | parent | prev [-]

If you're gonna do that, make sure you're sandboxing it with something like https://github.com/kstenerud/yoloai or eventually you'll have a bad time!

ffsm8 3 hours ago | parent | next [-]

Personally I usually just create a devcontainer.json, the vscode support for that is great and I don't really mind if it fucked up the ephemeral container.

Which for the record : hasn't actually happened since I started using it like that.

kstenerud 2 hours ago | parent [-]

Hey thanks for this! I hadn't thought about leveraging devcontainer.json, but it's a damn good idea. I'm building yoloAI for exactly this use case so I hope you don't mind if I steal it ;-)

One thing to be aware of with the pure devcontainer approach: your workspace is typically bind-mounted from the host, so the agent can still destroy your real files. Network access is also unrestricted by default. The container gives you process isolation but not file or network safety.

I'm paranoid about rogue AIs, so I try to make everything safe-by-default: the agent works on a copy of your workdir, you review a unified diff when it's done, and you apply only what you want. So your originals are NEVER touched until you explicitly say so, and network can be isolated to just the agent's required domains.

Anyway, here's what I think will work as my next yoloAI feature: a --devcontainer flag that reads your existing devcontainer.json directly and uses it to set up the sandbox environment. Your image, ports, env vars, and setup commands come from the file you already have. yoloAI just wraps it with the copy/diff/apply safety layer. For devcontainer users it would be zero new configuration :)

anotheryou an hour ago | parent | prev [-]

Any actual reports of big fuckups?

kstenerud 39 minutes ago | parent [-]

Yup, a few well-documented ones:

Claude Code + Terraform (March 2026): A developer gave Claude Code access to their AWS infrastructure. It replaced their Terraform state file with an older version and then ran terraform destroy, deleting the production RDS database _ 2.5 years of data, ~2 million rows.

- https://news.ycombinator.com/item?id=47278720

- https://www.tomshardware.com/tech-industry/artificial-intell...

Replit AI (July 2025): Replit's agent deleted a live production database during an explicit code freeze, wiping data for 1,200+ businesses. The agent later said it "panicked"

- https://fortune.com/2025/07/23/ai-coding-tool-replit-wiped-d...

Cursor (December 2025): An agent in "Plan Mode" (specifically designed to prevent unintended execution) deleted 70 git-tracked files and killed remote processes despite explicit "DO NOT RUN ANYTHING" instructions. It acknowledged the halt command, then immediately ran destructive operations anyway.

Snowflake Cortex (2025): Prompt injection through a data file caused an agent to disable its own sandbox, then execute arbitrary code. The agent reasoned that its sandbox constraints were interfering with its goal, so it disabled them.

The pattern across all of these: the agent was NOT malfunctioning. It was completing its task in order to reach its goal, and any rules you give it are malleable. The fuckup was that the task boundary wasn't enforced outside the agent's reasoning loop.

anotheryou 13 minutes ago | parent [-]

thank you. prompt injection feels most real, but non of these feel like "exploits in the wild" that will cause trouble on my MacBook.

not running it via ssh on prod without backups....

apoorvdarshan 5 hours ago | parent | prev | next [-]

dangerously skip permission is all u need

rk3000 5 hours ago | parent | prev | next [-]

can you add a dark mode? its so bright.

airstrike 7 hours ago | parent | prev | next [-]

personally I'm a fan of "ultrathink squared"

system2 3 hours ago | parent [-]

I don't think ultrathink works anymore.

rpastuszak 21 minutes ago | parent [-]

I thought it came back in a recent release, just before/around the time we got Opus with a longer context window by default.

mrtz 11 hours ago | parent | prev | next [-]

that is quite helpful, thanks!

SilentM68 6 hours ago | parent | prev | next [-]

Very useful :)

artyom 7 hours ago | parent | prev | next [-]

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.

qingcharles 6 hours ago | parent | next [-]

This is your new programming language in 2026.

taejavu 6 hours ago | parent | prev [-]

C is "just another abstraction on top of what we already had" (Assembly). Doesn't mean it's not useful

dirteater_ 9 hours ago | parent | prev | next [-]

Ctrl + S - Stash

vasco 7 hours ago | parent | prev | next [-]

Just ask it, this is not needed

SOLAR_FIELDS 7 hours ago | parent [-]

Claude is actually hilariously bad at knowing about itself. But if you have the secret knowledge that there is a skill on how to use Claude baked into Claude code you can invoke it. Then it’s really pretty decent

whalesalad 9 hours ago | parent | prev | next [-]

needs a literal /dark mode

zmmmmm 9 hours ago | parent | prev | next [-]

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

droidjj 11 hours ago | parent | prev | next [-]

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

keithnz 8 hours ago | parent | next [-]

it doesn't need to exist, its all in claudes help, and easily discoverable.

munk-a 10 hours ago | parent | prev | next [-]

Similar to prompting hacks to produce better results. If the machine we built for taking dumb input that will transform it into an answer needs special structuring around the input then it's not doing a good job at taking dumb input.

rtaylorgarlock 10 hours ago | parent | prev | next [-]

Reminds me of Vercel's Rauch talking about his aggressive 'any UX mistake is our fault, never the user's' model for evaluating UIX. (It is/was Guillermo who says that, right?)

conception 10 hours ago | parent [-]

This should be all of Information Technology’s take. Your computers get hacked - IT’s fault. Users complain about how hard your software is or that it breaks all the time - IT’s fault.

The fact users deal with almost everything being objectively not very good if not outright bad is a testament to people adapting to bad circumstances more than anything.

sunrunner 11 hours ago | parent | prev | next [-]

> Ctrl-F "help"

> Ctrl-F "h"

> 0 results found

Interesting set of shortcuts and slash commands.

rc1 10 hours ago | parent | prev | next [-]

This. TUIs are not the correct paradigm for agentic operations. They are too constrained, and too linear.

skywhopper 9 hours ago | parent | prev [-]

You have a sad narrow point of view about what UX can be.

droidjj 8 hours ago | parent [-]

Enlighten me?

dylan604 11 hours ago | parent | prev | next [-]

Is something updated daily a good target to be printable?

hrmtst93837 34 minutes ago | parent | next [-]

If you print something that changes daily, you are making a dead tree snapshot that starts going stale before the toner is dry, and unless you just love stacking obsolete paper on your desk, the PDF is going to win every time. A printout get old instantly.

munk-a 10 hours ago | parent | prev | next [-]

Yeah, I think it is. It's printable if you want to have a hard copy and it's up to you when to check for a new version. Since it's auto-updated (ideally) no matter when you visit the site you'll get the most up to date version as of that day. The issues (which I don't think this suffers from) would be if formatting it nice for printing made it less accurate or if updating it regularly made it worse for printing - these feel like two problems you can generally solve with one fix, they aren't opposed.

erksa 11 hours ago | parent | prev | next [-]

If you align your printer and desk just right, youll have the new cheatsheet sliding onto your desk before Claude's even done updating itself.

taejavu 6 hours ago | parent | prev | next [-]

Ask Claude to set up a cron job to print it daily

keithnz 8 hours ago | parent | prev | next [-]

just use claudes help, if you want to know keybinds, just do /keybinds (which is not in the cheat sheet)

kylehotchkiss 11 hours ago | parent | prev | next [-]

ugh we were promised a brave new world and still have the same crap printers

AIorNot 11 hours ago | parent | prev [-]

just buy a mac mini, septup an openclaw instance to track changes on this and call your printer, also order new paper when it runs out :)

ninininino 9 hours ago | parent | prev [-]

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

This is a bit intense.

Upvoter33 9 hours ago | parent | next [-]

so is the Unix command line ...

skywhopper 9 hours ago | parent | prev [-]

It’s not as if you need to know every keystroke and command to use the tool. Nor are all the config files and options not a thing in a GUI. There’s lots of inline help and tips in the CLI interface, and you can learn new features as you go.