Skip to content
BENIBIX Learn

/auto-mode-setup Command

Also known as /auto-mode-setup, autoMode.environment

It drafts the list of places auto mode may trust.

Think of it like

It is like a list of friends you give the guard, so he lets them in.

Example

In auto mode, Claude is blocked each time it pushes to Jack's company code host. He runs /auto-mode-setup, checks the draft, and saves it. The pushes now go through.

Why it matters

Auto mode blocks anything going to a place it does not know. This tells it which places are yours.

Definition

/auto-mode-setup writes a first draft of the places auto mode may trust. At the start, auto mode trusts only your work folder and this project's own code host. A push to your company's other code, or a write to a team cloud bucket, is blocked. This command reads your project and your recent sessions, lists the code hosts, buckets and sites you use, and shows you the draft. If you say yes, it saves it to ~/.claude/settings.json.

Example code

console
/auto-mode-setup
Draft the places auto mode may trust.
/auto-mode-setup writes to your own user settings.

Common mistake

Saving the draft without reading it. Each line is a place Claude may now send your work to without asking.

Key takeaways

  1. 1
    Drafts a trust list. Hosts, buckets, sites.
  2. 2
    From your work. Project and sessions.
  3. 3
    You review it. Then it saves.

Learn it properly