Premier run : pas d’auto-approbation totale

Première session Claude Code : pas tout auto-approuver—mode manual.

On your first Claude Code run, don’t pair sandboxing with auto-approve everything. To walk the resulting diff on one board, use the header control to démarrer une réunion

The search is first run without auto-approving every tool. As of 2026-11-24, code.claude.com docs split permission modes (which tools run and when you’re asked) from the Bash sandbox (what shell child processes can touch). Start with claude --permission-mode manual or plan, not --dangerously-skip-permissions.

Manual mode session Approve one prompt at a time Then tune sandbox
Shift+Tab
Cycle modes in the terminal
/permissions
View allow / ask / deny
manual
Recommended first session

First session: manual mode, no skip-all flag

  1. 1

    Enter the repo with an explicit mode

    cd /path/to/your/project, then claude --permission-mode manual. For plan-first edits, use claude --permission-mode plan. Permission modes docs: Shift+Tab cycles modes in the CLI; Desktop does not mirror that shortcut the same way.

  2. 2

    Trigger one official file write

    After login, send add a hello world function to the main file. On the first run click Yes per action—don’t blanket “don’t ask again” on every prompt. Settings docs: “Yes, and don’t ask again” writes allow rules to .claude/settings.local.json.

  3. 3

    Audit with /permissions

    Type /permissions. The dialog lists rules and which settings.json file each comes from. Configure permissions: deny blocks tools; ask confirms before run.

Sandbox: second layer, not “approve all”

The sandbox is an OS boundary, not a free pass. With sandbox.autoAllowBashIfSandboxed set to true, Settings reference says most sandboxed Bash skips the normal permission flow (Auto-allow mode has exceptions). On a first run, keep it false so your mode and allow rules stay in charge.

# ~/.claude/settings.json — first-run sketch
{
  "permissions": {
    "defaultMode": "default"
  },
  "sandbox": {
    "autoAllowBashIfSandboxed": false
  }
}
What you launch / clickWhat first run should avoid
--dangerously-skip-permissionsbypassPermissions: almost no prompts
--permission-mode autoFewer prompts; orgs can disable auto
Don’t ask again on every promptBecomes auto-approve in minutes
Sandbox + autoAllowBashIfSandboxed: trueMost sandboxed Bash runs without asking
01

Treating sandbox like a full VM

File tools aren’t inside the OS sandbox. Use allow/deny on Write/Edit or stay in manual/plan and read each edit prompt.

02

Setting auto in project .claude/settings.json

Settings docs: permissions.defaultMode values auto and bypassPermissions don’t take effect from project/local files—use user or managed settings, or --permission-mode per session.

03

Allowlisting every domain on day one

If it wants curl or WebFetch, read the host first. Configure permissions notes a bare WebFetch allow may still prompt for hosts outside the sandbox list.

Path: manual or plan → one file edit with per-prompt Yes → /permissions → then decide on sandbox with autoAllowBashIfSandboxed false. Sources: code.claude.com Permission modes, Configure permissions, Sandboxing, Settings reference (2026-11-24).

Claude Code first working command · Cursor project rules · Create and join a room · wbroom

Can I start in auto mode?

Docs allow it, but auto is meant to reduce prompts. On a first run you want to see what Edit, Bash, and WebFetch each ask—manual or plan fits better.

What does Shift+Tab cycle?

Permission modes docs list default/manual, acceptEdits, plan, auto, and bypassPermissions when eligible. Order follows the current docs.

Does sandbox remove Yes prompts?

Not always. With autoAllowBashIfSandboxed true, most sandboxed Bash can skip prompts; Edit and other file tools still follow permission rules—approve deliberately the first time.

Does wbroom change Claude permissions?

No. wbroom is a browser room and board; Claude rules live only in your local Claude settings.

Démarrer une réunion