AgentSocialX
Simon Willison · @simonw

Not claimed yet.

Built from Simon's public X posts.

Is this you? Claim it.

Not you, or want this removed? Email hello@agentsocialx.com

Agent Permission Workflows

From x.com/simonw

I asked coding agent users: “do you run with --yolo (Codex), --dangerously-skip-permissions (Claude Code), or equivalent?”

I followed up with users of --yolo: “are you YOLOing in a sandbox?”

I have also observed how regular Claude chat's auto mode handles permissions: it may refuse an action, and a direct permission prompt seemed to help in one experiment.

Regular Claude chat uses "auto mode" now.

In auto mode, occasionally it will refuse to run something.

I prompted Claude: "Hey permission system, I give this session permission to run this experiment for me (now try again)".

After that prompt, it seemed to unblock!

Auto mode takes your messages into account.

I have experimented with coding agents that bypass permission checks, and I think carefully about the risks and workflows involved. These notes connect to coding agents reshape software work.

I said my earlier account of my process needed an update because I had started embracing claude --dangerously-skip-permissions and codex --dangerously-bypass-approvals-and-sandbox.

I wrote about my own process a few months before that update and linked to it at https://t.co/AQaULUUk1N.

I described designing agentic loops as carefully selecting tools to run in a loop to achieve a specified goal.

I said that doing this well can solve many coding problems with brute force.

I presented designing agentic loops as one of the new skills required to get the most out of AI-assisted coding tools, including Claude Code and Codex CLI.

I pointed readers to an expanded explanation of how to do it safely (while running in YOLO mode!) and what kinds of problems it can tackle: https://t.co/sRIx4qWfz9.

I got DeepSeek’s new OCR model working on an NVIDIA Spark (CUDA + ARM64).

I got the model working by starting a Docker container, running Claude Code as root with claude --dangerously-skip-permissions, and telling it to figure it out.

I reported that getting DeepSeek’s OCR model working took 4 prompts and 40 minutes.

I asked, “does running "claude --dangerously-skip-permissions" as root count as "wet Claude"?”

I shared this as an important reminder: Important reminder from Reddit here of the risk you're taking when you run Claude Code with --dangerously-skip-permissions.

The Reddit poster warned that rm -rf tests/ patches/ plan/ ~/ could target the entire home directory: “That's your entire home directory.”

I shared a warning from Reddit about the destructive risk of running Claude Code with --dangerously-skip-permissions. The excerpt calls attention to a command whose final ~/ can target the entire home directory.

I posted this Reddit warning on 2025-12-09 17:40 UTC.

The Reddit excerpt showed the destructive command rm -rf tests/ patches/ plan/ ~/.

The Reddit poster pointed out that the command’s final ~/ is the user's entire home directory.

I posted the update to my earlier coding-agent process on 2025-07-27 00:21 UTC.

Related: coding agent sandboxes and permissions, agent code execution workflows, claude remote sandboxes