promptgarten 🌱

Command reference Β· Claude Code

/permissions

Manages allow, ask, and deny rules for tool permissions.

/permissions opens an interactive dialog for managing Claude Code's tool permissions. There, allow, ask, and deny rules can be viewed, added, or removed by scope; each rule shows the settings.json file it comes from (user settings, project settings, local settings, or a CLI flag). The dialog also manages approved working directories (additionalDirectories) and shows, in the "Recently denied" tab, tool calls that auto mode most recently refused; pressing r marks a denied action to be retried, after which Claude Code prompts the model to attempt the call again. The rules set here apply regardless of the configured permission mode (default, acceptEdits, plan, auto, dontAsk, bypassPermissions) and are enforced by Claude Code itself, not by the model β€” so instructions in a CLAUDE.md file or in the prompt don't change what's actually allowed or blocked. Rules follow the format Tool for all calls of a tool, or Tool(specifier) for a more restricted subset, such as a specific bash command or file path. Alias: /allowed-tools.

πŸ”„ THE SAME TASK (β€œAUTONOMY MODE / RUN WITHOUT CONFIRMATION”) ON OTHER PLATFORMS

Compare all 28 tasks β†’

βœ… WHEN TO USE IT?

Set a targeted deny rule for a risky command

Open /permissions and add a deny rule for a specific bash command so it's never executed automatically.

Review and approve actions auto mode recently denied

Call /permissions, mark a wrongly blocked action for retry with r in the "Recently denied" tab.

β›” WHEN NOT TO?

Bundle many recurring read-only prompts automatically

/permissions edits rules one at a time through an interactive dialog - cumbersome for an allowlist generated from your own transcript.

Better: Use /fewer-permission-prompts, which automatically creates a prioritized allowlist.

Switch the active permission mode itself

/permissions manages individual allow, ask, and deny rules but doesn't change the active mode (e.g. plan or auto).

Better: Cycle through modes with Shift+Tab in the CLI, or set defaultMode in the settings.

SOURCES

MORE COMMANDS Β· Claude Code

/plan/plugin/powerup/privacy-settings/radio/recap/release-notes/reload-plugins/reload-skills/remote-control/remote-env/rename

All commands Β· Claude Code β†’

Share:𝕏inπŸ’¬