What problem does it solve? When debugging or working on a focused task, AI agents can accidentally modify unrelated files across the repository. This Skill prevents scope creep by hard-blocking any Edit or Write operation that targets files outside a directory you choose. ## Core Features & Use Cases - Edit Boundary Enforcement: A PreToolUse hook intercepts every Edit and Write call and denies it if the target file path falls outside the frozen directory. - Session-Persistent State: The freeze boundary is stored in a state file and persists for the entire session until removed with /unfreeze or session end. - Path Safety: Trailing-slash normalization prevents sibling directories like /src-old from matching a /src boundary, and symlink resolution ensures accurate path checks. - Use Case: While debugging a failing module, freeze edits to that module's directory so the agent cannot accidentally "fix" unrelated code elsewhere in the repo. ## Quick Start Ask the agent to freeze edits to a specific directory, for example by saying "freeze edits to the src/payments folder so nothing outside it can be modified."