Cursor CLIconfigurationbuilt-in

/auto-run

Toggle auto-run (default) or set explicitly on/off/status. Controls whether tools run without asking for confirmation.

Syntax

/auto-run [on|off|status]

Example

/auto-run off

When to use

  • Disabling auto-run for sensitive codebases
  • Checking current auto-run state with /auto-run status
  • Enabling for trusted repos to remove confirmation prompts

More Cursor CLI commands