๐Ÿ”

Permission Pre-approval

Claude Code

Accelerate workflow with permission pre-approval

Claude Code uses a permission system combining prompt injection detection, static analysis, sandboxing, and human oversight. Only safe commands are pre-approved by default, and tools you repeatedly approve can be pre-allowed via /permissions.

How to Use

1

Open permissions settings UI with /permissions command

2

Specify allowed tools with wildcards โ€” e.g., Bash(bun run *), Edit(/docs/**)

3

Block tools can also be specified the same way

4

Check in to settings.json to share with the entire team

Tags

#permission #security #wildcard #settings

Source

Boris Cherny (@bcherny)