Claude Code Cheat Sheet

(cc.storyfox.cz)

111 points | by phasE89 3 hours ago

16 comments

  • jcims 15 minutes ago
    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

  • levocardia 39 minutes ago
    It's missing the most important CLI flag! (--dangerously-skip-permissions)
  • williamcotton 8 minutes ago
    Undo (typing):

      Ctrl + _ (Ctrl + underscore)
    
    Applies to the line editor outside of CC as well.
  • plantain 1 hour ago
    Shocking how far ahead Claude Code is from Codex on the CLI front.
    • dataviz1000 4 minutes ago
      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 145GB database of every stock quote and options trade in the past 4 years. I bet it archives successful trading strategies.

      Claude Code will be the first to AGI.

  • guessmyname 53 minutes ago
    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.

  • bibimsz 1 hour ago
    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.
  • dangoodmanUT 1 hour ago
    I think this is the argument for UIs - it should be self-explanatory since it's singificantly simpler than an IDE
  • dirteater_ 7 minutes ago
    Ctrl + S - Stash
  • phasE89 3 hours ago
    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 1 hour ago
      > 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 1 hour ago
        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.
      • mynegation 1 hour ago
        Classical coreference resolution failure.
  • kxrm 1 hour ago
    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.

  • whalesalad 10 minutes ago
    needs a literal /dark mode
  • ninininino 29 minutes ago
    This just exposes why UI like Codex, Cursor, T3 Code, Conductor, Intent, etc are necessary.

    This is a bit intense.

  • zmmmmm 47 minutes ago
    If only there was some kind of tool that could answer helpful questions about technology instead of needing a cheat sheet.
  • droidjj 2 hours ago
    The fact this needs to exist seems like a UX red flag.
    • munk-a 1 hour ago
      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 1 hour ago
      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 1 hour ago
        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.

    • rc1 1 hour ago
      This. TUIs are not the correct paradigm for agentic operations. They are too constrained, and too linear.
    • sunrunner 2 hours ago
      > Ctrl-F "help"

      > Ctrl-F "h"

      > 0 results found

      Interesting set of shortcuts and slash commands.

  • mrtz 2 hours ago
    that is quite helpful, thanks!
  • dylan604 2 hours ago
    Is something updated daily a good target to be printable?
    • munk-a 1 hour ago
      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 2 hours ago
      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.
    • kylehotchkiss 1 hour ago
      ugh we were promised a brave new world and still have the same crap printers
    • AIorNot 1 hour ago
      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 :)