freeze

Restrict Edit and Write operations to a user-defined directory for a session.

Updated Mar 24, 2026
One-click install
npx skills add https://github.com/imonmi/INTER-EDU --skill freeze-imonmi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: freeze
Source: https://github.com/imonmi/INTER-EDU/tree/main/gstack-main/gstack-main/freeze
Command: npx skills add https://github.com/imonmi/INTER-EDU --skill freeze-imonmi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Restrict edits to a user-specified directory for the current session, preventing modifications outside the allowed path to reduce accidental changes during debugging or scoped work.

Core Features & Use Cases

  • Enforces an editable boundary for Edit and Write operations, blocking anything outside the designated folder.
  • Persists the boundary for the session using a state file and provides an easy way to change or remove the boundary.
  • Useful during debugging, module isolation, or when you want to ensure all changes stay within a single directory.

Quick Start

Set a directory as the freeze boundary to restrict edits to that path for 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 development session?

Restricting file edits to a specific directory involves enforcing a boundary on Edit and Write operations that blocks modifications outside the allowed path. This prevents accidental changes during debugging or scoped work by preserving normal Read access.

Can I still read files outside the allowed directory boundary after freezing edits?

Yes, you can still read files outside the allowed directory boundary after freezing edits. The restriction blocks Edit and Write operations while preserving normal Read access for files outside the designated folder.

What is a pretool hook for blocking out-of-bound file modifications?

A pretool hook for blocking out-of-bound file modifications is a mechanism that intercepts Edit and Write operations before execution. It checks the target path against a per-session state file and denies attempts on files outside the allowed directory.

How do I change or remove the editable folder boundary once it is set?

You can change or remove the editable folder boundary by updating the per-session state file that persists the restriction. This provides an easy way to modify the allowed directory path or clear the boundary entirely during the current session.

When should I use a session boundary to lock edits to a single folder?

You should use a session boundary to lock edits to a single folder during debugging, module isolation, or scoped work. It ensures all changes stay within a single directory and reduces the risk of accidental modifications to other project files.