freeze

Restrict Edit and Write operations to a specified directory during a session.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Restrict file edits to a specific directory for the duration of a session to prevent edits outside the allowed path.

Core Features & Use Cases

  • Blocks Edit and Write outside the chosen boundary during a session to avoid accidental changes.
  • Useful for debugging or when you want to scope changes to a particular folder.
  • Use case: while debugging a module, freeze edits to ensure changes stay contained.

Quick Start

Ask the user which directory to restrict edits to and confirm the boundary has been saved.

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?

You can restrict file edits to a specific directory by persisting the chosen path in a state file, which evaluates every Edit and Write operation against that boundary to block modifications outside the allowed directory.

What is the best way to prevent accidental file changes outside a target module?

Preventing accidental file changes outside a target module requires setting a boundary directory for the session, ensuring all edits are evaluated against this state file to contain modifications within the chosen folder.

Can I scope file modifications to a single folder while debugging?

Yes, you can scope file modifications to a single folder while debugging by freezing edits to a specific directory, which enforces a strict boundary that prevents write operations from spilling into other areas.

How does a directory freeze boundary enforce file edit limits?

A directory freeze boundary enforces edit limits by saving the allowed path in a state file and intercepting each Edit and Write operation to verify the target file resides within the approved directory.

Does restricting edits to a boundary directory require any external dependencies?

No, restricting edits to a boundary directory requires no external dependencies, relying entirely on internal state file persistence and operation evaluation to enforce the session limits.

When should I avoid using a directory edit freeze?

You should avoid using a directory edit freeze when your session requires modifying files across multiple disparate directories, as the boundary strictly blocks all Edit and Write operations outside the single saved path.