freeze

Block edits outside a user-specified directory during a session.

5|Updated Apr 24, 2026
One-click install
npx skills add https://github.com/timurgaleev/vibestack --skill freeze-timurgaleev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: freeze
Source: https://github.com/timurgaleev/vibestack/tree/main/skills/freeze
Command: npx skills add https://github.com/timurgaleev/vibestack --skill freeze-timurgaleev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python3.

What problem does it solve?

Prevents accidental edits outside a defined directory by locking the editing scope to a user-specified path during a session, helping engineers maintain module-level integrity during debugging or focused work.

Core Features & Use Cases

  • Freeze boundary setup: Ask the user for the directory to restrict edits to.
  • Enforce Edit/Write restrictions: Block edits outside the boundary during the session.
  • Session-scoped persistence: Boundary persists in vibestack's state and can be changed with /freeze or removed with /unfreeze.

Quick Start

Use the freeze command to set a boundary directory and begin restricting edits in the current session.

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 coding session?

To restrict file edits to a specific directory during a coding session, you set a boundary path that blocks any modifications outside that folder. This prevents accidental changes to other parts of the project while you debug.

Can I lock my editing scope to prevent accidental modifications to other project modules?

Yes, you can lock your editing scope to prevent accidental modifications by defining a restricted directory. The session enforces this boundary, denying any write operations attempted on files outside the specified path.

How does a PreToolUse hook enforce directory restrictions for code edits?

A PreToolUse hook enforces directory restrictions by intercepting edit and write operations before they execute. It checks the target file path against the boundary stored in the session state and denies access if it falls outside.

Do I need Python 3 to set up session-scoped edit boundaries?

Yes, you need Python 3 installed in your environment to run the session-scoped edit boundary tool. The script relies on Python to execute the PreToolUse hook and manage the restriction state.

How do I change or remove an active directory freeze boundary?

To change or remove an active directory freeze boundary, you use the /freeze command to set a new path or the /unfreeze command to remove the restriction entirely. This updates the boundary state persisted for the current session.

What is the best way to maintain module-level integrity when debugging a large project?

The best way to maintain module-level integrity when debugging a large project is to constrain your edits to the specific module directory. Locking the session scope prevents unintended write operations from affecting unrelated project files.