freeze

Restrict file edits and writes to a specified directory during a session.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/BrandonLee28/brandon-brain --skill freeze-brandonlee28
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: freeze
Source: https://github.com/BrandonLee28/brandon-brain/tree/main/.claude/skills/gstack/freeze
Command: npx skills add https://github.com/BrandonLee28/brandon-brain --skill freeze-brandonlee28

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bash, and includes scripts (resource) components.

What problem does it solve?

This Skill ensures that file edits are confined to a specified directory, preventing accidental modifications to unrelated files during debugging or when only specific code modules should be modified.

Core Features & Use Cases

  • Directory Lockdown: Enforces editing restrictions to a defined directory.
  • Session-boundary Persistence: The restriction boundary persists for the duration of the session.
  • User-friendly Interface: Uses simple commands to set and remove restrictions.

Quick Start

Set the directory to restrict edits to by running the /freeze command and provide the desired path when prompted.

Frequently Asked Questions about freeze

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I restrict file edits to a specific directory during a debugging session?▼

Restricting file edits to a specific directory involves setting a boundary that blocks write operations to files outside the chosen path, preventing accidental modifications to unrelated code modules during debugging sessions.

How does directory lockdown enforce code isolation?▼

Directory lockdown enforces code isolation by using a shell script to check file paths before allowing edits. If a file falls outside the specified directory, the edit or write operation is blocked for the duration of the session.

Do I need bash to lock a directory for file editing?▼

Yes, you need bash to execute the shell script required to lock a directory for file editing. The script checks file paths against your restriction boundary before allowing write operations to proceed.

Can I use directory lock to prevent accidental modifications to unrelated files?▼

Yes, you can use a directory lock to prevent accidental modifications to unrelated files. By confining edit operations to a single specified directory, it ensures changes remain isolated to the intended code module.

When should I not use a directory restriction boundary for code isolation?▼

You should not use a directory restriction boundary when your debugging or development tasks require modifying multiple code modules across different directories simultaneously, as the lock will block necessary write operations outside the set path.