Skip to content
View original post on X: ClaudeDevsOfficial
Published

Claude Code adds an env var to skip rm prompts and background timed-out commands

AIAnthropic says Claude Code still asks before some especially risky rm commands even in bypass permissions mode. Users in a throwaway container can set CLAUDE_CODE_EVEN_MORE_DANGEROUSLY_SKIP_PERMISSIONS=1 to run those commands without asking.
ClaudeDevsVerified on XOfficial
@ClaudeDevs
View on X

Part of a thread · earlier post

Even in bypass permissions mode, Claude Code still asks before a few especially risky rm commands. That’s intentional, but if you’re in a throwaway container and are okay with those running without asking, you can now set CLAUDE_CODE_EVEN_MORE_DANGEROUSLY_SKIP_PERMISSIONS=1.

And shell commands that hit their timeout now keep running in the background instead of getting cut off, so a long build or test suite isn’t killed halfway.

Source details

ClaudeDevs · x.comPublished · added here

Original title: Even in bypass permissions mode, Claude Code still asks before a few especially risky rm commands. That’s intentional, but if you’re in a...