Skip to content

Set permissions and safety rails

Run /permissions to see the allow, ask and deny lists that apply right now, and which file each rule came from.
terminal
/permissions

Step 2. Allow the safe, repetitive commands

Section titled “Step 2. Allow the safe, repetitive commands”
Tests, builds, git reads. Put them in .claude/settings.json so the team shares them, and keep machine-specific ones in settings.local.json. Checkpoints let you roll back edits from the session. Run /rewind to step back to an earlier state instead of unpicking changes by hand.
terminal
/rewind

Step 4. Choose a permission mode deliberately

Section titled “Step 4. Choose a permission mode deliberately”
Default asks before acting. Plan mode reads without editing. Accept-edits skips the file prompts. Reserve the fully bypassing mode for throwaway sandboxes.