I think this is the argument for UIs - it should be self-explanatory since it's singificantly simpler than an IDE
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. B…
Claude Code Cheat Sheet
151–160 of 215 posts
Re: Claude Code Cheat Sheet
#152Are '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?
Re: Claude Code Cheat Sheet
#153Earlier 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…
I run a generic Claude on my ~/projects/ directory and Claude logs every now and then and ask it what commands I commonly have to keep manually accepting in different projects and ask it to add them to the user-level settings.json.
Works like a charm (except when Opus 4.6 started being "efficient" and combined multiple commands to a single line, triggering a safety check in the harness).
Re: Claude Code Cheat Sheet
#154Earlier quoted context omitted.
> 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.
I've found that any time I have Claude refactor some code, it reaches for sed as its tool of choice. And then the builtin "sandbox" makes it ask for permission for each and every sed command, because any sed command could potentially be damaging. Same goes for the little scripts it whips up to speed up code analysis and debugging. And then there's the annoyance of coming back to an agent after 15 mins, only to discov…
Re: Claude Code Cheat Sheet
#155Earlier quoted context omitted.
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
Re: Claude Code Cheat Sheet
#156Earlier quoted context omitted.
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
Re: Claude Code Cheat Sheet
#157Earlier quoted context omitted.
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
Re: Claude Code Cheat Sheet
#158I recently switched from the CC terminal to the CC VS Code extension, and I like it better.
It seems like it’s chronically behind though. One example, last I checked /btw only worked via CLI.
I'm a big fan of the VS Code add-in. Despite the current narrative that IDEs are dead, I find the ability to look at multiple things at once is works much better in some kind of.. GUI editing tool.. than just using a terminal.
Re: Claude Code Cheat Sheet
#159Earlier quoted context omitted.
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
Re: Claude Code Cheat Sheet
#160Earlier quoted context omitted.
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
My point is that if you ask "Hey Claude, please write out all common and useful command line arguments into a commands.html file", the LLM that actually does that work, might ignore anything that says "dangerous" or gives that indication, because the LLM doesn't think potentially dangerous commands could be "common" and/or "useful". Hope my point makes sense now.