Live data from Hacker News

Claude Code Cheat Sheet

cc.storyfox.cz

141–150 of 215 posts

Re: Claude Code Cheat Sheet

#141
post #113

Earlier quoted context omitted.

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?

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 can allow by prefix, and the permission dialog now explicitly offers that as an option when giving permission to run a command

But that has its limits. It's very easy to accidentally give it permission to do global changes outside the work dir. A contained environment with --dangerously-skip-permissions is in many ways much safer

Re: Claude Code Cheat Sheet

#145

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

Calling something "dangerous" (or even "illegal") is a great way to get LLMs to ignore it, they bend over backwards to avoid anything that could be potentially "dangerous" even when you acknowledge the risks. I'm guessing it's the "safety alignment" or whatever being done in a very extreme way.

Re: Claude Code Cheat Sheet

#146

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

This looks like a Claude-generated SVG to me, is it not?

It's 100% claude-generated html. I asked it to create some other cheat sheet for me and the template was identical.

Edit: https://news.ycombinator.com/item?id=47495528

Re: Claude Code Cheat Sheet

#147
post #2

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 t…

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

Try with headers and footers turned off

Re: Claude Code Cheat Sheet

#150

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

Calling something "dangerous" (or even "illegal") is a great way to get LLMs to ignore it, they bend over backwards to avoid anything that could be potentially "dangerous" even when you acknowledge the risks. I'm guessing it's the "safety alignment" or whatever being done in a very extreme way.

sorry, have you used Claude Code or are you a bot?

"--dangerously-skip-permissions" - is a flag, irrelevant to LLM

Post reply on HN