Notes on building software.
A personal blog of technical articles about software development.
The Four Permission Modes at a Glance
Claude Code has four permission modes; each one sets how much it can do before asking you.
Accept-Edits Mode for Faster Iteration
Accept-edits mode auto-approves file changes while still asking before running commands.
Writing Permission Rules That Match Commands
Allow and deny rules let you pre-approve safe tools and block risky ones by pattern.
Reducing Permission Prompts Safely
Cut down on prompts by allowlisting the safe commands you run often, not by turning off all checks.
When to Use (and Avoid) Bypass Permissions
Bypass permissions removes every prompt, which is powerful and risky; reserve it for controlled, throwaway environments.
Read-Only Exploration of an Unfamiliar Codebase
Open a new repository in plan mode and let Claude map it out for you before any change is made.