Module 04 of 11

Permissions & Safety

Lessons

About This Module

A chatbot can only talk. Claude Code can read your files, run shell commands, and edit your project, which is exactly what makes it useful and exactly why you should know what it is allowed to touch. By default it asks before it modifies anything, but approving prompt after prompt on autopilot is not real safety, and it pushes many people toward switching protection off entirely.

This module covers how the permission system works: the permission modes you can cycle through, allow, ask, and deny rules for specific tools and files, and auto mode, which lets a classifier review each action instead of you. You will also learn about sandboxing and isolated environments, which limit what a command can reach once it is running, and when it is and is not appropriate to skip prompts altogether.

Watch the lessons in order, then continue on to Slash Commands.

Lessons

4 videos
01

Permissions, Sandboxes, and Autonomous Agents

Paul Goldsmith-Pinkham explains the difference between folder access and tool access, the three approval modes (manual, auto, and YOLO via --dangerously-skip-permissions), and why the environment matters more than clicking approve. It shows how containers and OS-level sandboxes let you grant broad permissions safely. The later autonomous-agent section goes beyond this module.

02

How Auto Mode Works with Claude Code

Why approval fatigue leads people to skip permissions, and how auto mode uses a classifier plus a check on incoming content to block risky actions. Covers which actions skip the classifier, how to define your environment, and how allow and deny rules shape what it does.

03

Rethinking Claude Code Best Practices

Lydia Hallie from the Claude Code team explains why a deny rule is the real guarantee for anything you cannot undo, such as reading a .env file, and how a permission differs from a sandbox or cloud session in what a running command can reach. She also covers how to set these up for longer unattended sessions.

04

What's New in Claude Code

Claude's overview of recent updates focused on developer experience and autonomy, including how auto mode lets Claude run commands it judges safe on its own and only ask when an action looks high-risk. It covers more than permissions, so watch it for the auto mode section.