Notes on building software.
A personal blog of technical articles about software development.
Managing Tool Permissions with /permissions
Control what Claude can do without asking, using allow and deny rules through /permissions.
Giving Subagents the Right Tools
The tools field is an allowlist, so you can hand a subagent exactly the tools it needs and nothing more.
Allow and Deny Rules Explained
Use allow and deny lists in permissions to skip prompts on safe actions and block risky ones.
Starting in a Permission Mode with --permission-mode
Launch Claude Code straight into default, acceptEdits, plan, or bypassPermissions with the --permission-mode flag.
Entering Plan Mode with Shift+Tab
Cycle permission modes with Shift+Tab, or launch straight into plan mode from the command line.
The Four Permission Modes at a Glance
Claude Code has four permission modes; each one sets how much it can do before asking you.