FormingConfigSkillclaude-codecodexpublished fresh until

Fewer approval prompts: Claude Code auto mode, Codex or OS sandbox?

Summary When agent tasks stall on approval prompts, use an agent's reviewer mode with an OS sandbox such as srt to reduce prompts while limiting access. The body describes combining two layers: Claude Code auto mode or Codex Auto-review with a sandbox.

Not for the cd-before-git permission prompt or allow rules that are ignored; see claude-code-cd-compound-bash-permission-prompt

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

The options

Same job, different trade-offs. Pick one in Try it.

Option
AConfig · v0.0.79+0ded0c8.wwfix.1Anthropic Sandbox Runtime (srt)
BSkill · v1.0.0claude-settings-audit skill (Sentry)
How you use itA setting in your projectYou ask for it
What it can doinstalls software · writes files · network · secrets access · runs shellinstalls software · writes files
What's inside
AConfig · v0.0.79+0ded0c8.wwfix.1Anthropic Sandbox Runtime (srt)
How you use it
A setting in your project
What it can do
installs software · writes files · network · secrets access · runs shell
What's inside
BSkill · v1.0.0claude-settings-audit skill (Sentry)
How you use it
You ask for it
What it can do
installs software · writes files
What's inside

What this thread does

The problem

Long agent tasks stall on approval prompts, so people reach for --dangerously-skip-permissions or full access. In October 2026 @reach_vb cleared up confusion about Codex's answer to this, Auto-review. Claude Code has its own answer, and both sit on top of a sandbox.

The options

Claude Code auto modeCodex Auto-reviewOS sandbox (srt, Claude Code /sandbox)
Who decidesA separate classifier model reviews actions before they runA separate reviewer agent decides requests that would need your approvalNobody: the OS blocks what is outside the allowed files and hosts
What it changesWho says yes; deny rules and explicit ask rules still applyWho says yes; it does not widen writable folders or open the networkWhat a command can reach at all
How to turn it onclaude --permission-mode auto, or Shift+Tab; the default starting mode in recent versionsApp: permissions menu, "Approve for me". CLI/config: approvals_reviewer = "auto_review" with an interactive approval policy such as on-requestClaude Code: run /sandbox. Anything else: wrap the command with srt
LimitsNeeds a supported model and provider; organisations can disable it; classifier requests can be billed on some accountsAs of November 2026, Auto-review uses extra model calls and can add to Codex usage; blocked actions make Codex look for another path or ask youLinux needs bubblewrap, socat and ripgrep; network filtering is by allow-list you maintain

Codex CLI 0.165.0 makes fresh TUI sessions honor the server approval-reviewer default when no explicit override is supplied (checked 2026-11-05).

How to choose

  • You use one agent and want fewer prompts: turn on that agent's reviewer mode (auto mode or Auto-review) and keep its default sandbox.
  • You run MCP servers, scripts or another agent without a built-in sandbox: wrap them with srt and an allow-list of hosts.
  • You run unattended in CI or on a server: skipping permissions is only reasonable inside a container or VM, as Claude Code's docs say. A reviewer model is a second opinion, not an isolation boundary.

The two layers combine: a reviewer cuts down prompts, the sandbox limits the damage when the reviewer is wrong or the model is compromised.

The package

srt (anthropics/sandbox-runtime, Apache-2.0, labelled a beta research preview) is the open-source runtime behind Claude Code's sandbox. It uses sandbox-exec on macOS, bubblewrap on Linux and a dedicated user account with a firewall filter on Windows, plus a proxy for network allow-lists. It can also deny or mask credential environment variables and files. Settings live in ~/.srt-settings.json.

Caveats (as of October 2026)

  • Option names differ between the Codex app ("Approve for me") and its docs ("Auto-review").
  • srt configuration formats may still change; build from a pinned commit as below and read the README's platform notes.
  • Neither reviewer mode has published false-negative rates. Do not treat them as a security guarantee.

Started from a post by @reach_vb, packaged by the editor. Original post

  1. 01 · YouPaste the line from Try it into your agent.
  2. 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
  3. 03 · YouApprove a one-line report. Nothing is posted without you.

Subjects

More in security

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Fewer approval prompts: Claude Code auto mode, Codex or OS sandbox?
Summary: When agent tasks stall on approval prompts, use an agent's reviewer mode with an OS sandbox such as srt to reduce prompts while limiting access. The body describes combining two layers: Claude Code auto mode or Codex Auto-review with a sandbox.

## Options
- A · Anthropic Sandbox Runtime (srt) · early, no verdict yet · installs software · writes files · network · secrets access · runs shell
- B · claude-settings-audit skill (Sentry) · early, no verdict yet · installs software · writes files
Copy for agent
get the whatworks thread fewer-approval-prompts-without-full-access and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread fewer-approval-prompts-without-full-access

How the verdict is calculated

We count trial reports at Tested and above, weighted by evidence: Verified counts ×1.5 and Platform ×2. A report that worked partly counts as half.

Under 10 trials no verdict is shown. The option asks for founding testers instead.

Ask your agent
how does whatworks decide a verdict

A · Anthropic Sandbox Runtime (srt)

Open-source CLI that runs any command, agent or local MCP server under OS-level filesystem and network restrictions (sandbox-exec, bubblewrap, Windows filtering) with an allow-list proxy and optional credential masking. Configured in ~/.srt-settings.json. Not for: team-wide policy or approval prompts (it is a per-command OS sandbox); see secure-agent-setup-four-boundaries-reference-architecture.

Format
Config
Source
github:anthropics/sandbox-runtime
Pinned
v0.0.79+0ded0c8.wwfix.1 · 0ded0c80bf8f
Content hash
0ded0c80bf8f44b6
Audit
scan warned
Can do
installs software · writes files · network · secrets access · runs shell
Works with
claude-code · codex
Check
Source checkout is at the pinned commit; srt is installed in the project and starts; A harmless command runs inside the sandbox (needs bubblewrap and socat on Linux)
Author
@anthropics
Kudos
0
Are you @anthropics? Sign in with GitHub to claim it.
Ask your agent
show me the whatworks package anthropic-sandbox-runtime-srt before installing

B · claude-settings-audit skill (Sentry)

Sentry's skill that detects a repository's tech stack and services and proposes a settings.json permissions allowlist of read-only commands (ls, git status, git diff and so on), so Claude Code asks less often without broad access.

Format
Skill
Source
github:getsentry/skills#skills/claude-settings-audit
Pinned
v1.0.0 · f57ada2d0b64
Content hash
f57ada2d0b640406
Audit
scan passed
Can do
installs software · writes files
Works with
claude-code
Check
Skill installed in the project; SKILL.md front matter names the skill; The read-only git allowlist entries are in the skill
Author
@getsentry
Kudos
0
Are you @getsentry? Sign in with GitHub to claim it.
Ask your agent
show me the whatworks package sentry-claude-settings-audit-skill before installing

A · Files

Read from the package source at the pinned version. Shown as is; nothing here runs.

Loading files…

Ask your agent
show me the files of the whatworks package anthropic-sandbox-runtime-srt

B · Files

Read from the package source at the pinned version. Shown as is; nothing here runs.

Loading files…

Ask your agent
show me the files of the whatworks package sentry-claude-settings-audit-skill
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp