freeze

Deny Edit and Write operations outside a user-specified directory during a session.

1|3|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/ekrishgupta/gemstack --skill freeze-ekrishgupta
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: freeze
Source: https://github.com/ekrishgupta/gemstack/tree/main/freeze
Command: npx skills add https://github.com/ekrishgupta/gemstack --skill freeze-ekrishgupta

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents accidental edits outside a defined boundary by restricting Write and Edit operations to a user-specified directory during a session.

Core Features & Use Cases

  • Enforces a per-session freeze boundary to keep work contained within a chosen folder.
  • Prompts for a directory, persists the boundary, and denies any edits outside the boundary at runtime.
  • Useful during debugging, pair programming, or when isolating changes to a single module to avoid accidental modifications elsewhere.

Quick Start

Provide the directory path to restrict edits to and run /freeze to apply the boundary.

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 single directory during debugging?

You can restrict file edits by setting a per-session freeze boundary that validates tool inputs and denies Write or Edit operations outside the specified folder. This confines work to a single directory and protects surrounding code from accidental modifications.

What is a freeze boundary and how does it prevent scope creep?

A freeze boundary is a per-session restriction that confines Write and Edit operations to a user-specified directory. It prevents scope creep by validating tool inputs at runtime and denying any modification attempts outside the defined folder boundary.

Can I lock edits to a specific folder when pair programming?

Yes, you can lock edits to a specific folder during pair programming by applying a per-session freeze boundary. This confines all Write and Edit operations to the chosen directory and prevents accidental modifications to other parts of the codebase.

How do I apply a freeze boundary to protect surrounding code while debugging?

To apply a freeze boundary, provide the target directory path and run the freeze command. This persists the boundary for the session and denies any Edit or Write operations attempted outside that directory during debugging.

Does the freeze boundary persist across different sessions?

The freeze boundary is enforced on a per-session basis. You provide the directory path to restrict edits to and run the freeze command to apply the boundary, which then validates tool inputs and denies unauthorized edits for that session.

What operations are blocked when working outside the freeze boundary?

Edit and Write operations are blocked when attempted outside the freeze boundary. The boundary validates tool inputs against the stored target directory at runtime and denies any modifications to files outside the specified folder.