freeze

Restrict file edits to a specified directory for the current session.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Restrict file edits to a specific directory for the session, preventing edits outside the allowed path. This is useful during debugging or when you want to scope changes to a single module.

Core Features & Use Cases

  • Freeze boundary enforcement for edits committed via Edit and Write operations.
  • Scoped safety: prevents accidental changes outside the designated directory during a debugging session.
  • Easy rollback: boundary can be updated by re-running the setup to redefine the allowed path.

Quick Start

Set a directory boundary and start editing within that scope.

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?▼

You can restrict file edits to a specific directory by loading a boundary from a state file, which blocks any modifications outside the allowed path. This enforces scoped safety for your debugging session.

What is the best way to prevent accidental changes outside a single module folder?▼

The best way to prevent accidental changes outside a single module folder is to enforce a frozen boundary via a pre-use hook. This hook denies edits outside the designated directory, ensuring modifications remain scoped.

How does directory freeze enforcement work for Edit and Write operations?▼

Directory freeze enforcement works by intercepting Edit and Write operations through a pre-use hook. The hook checks the requested path against a boundary stored in a state file and denies any edit falling outside that allowed directory.

Can I update the allowed directory boundary after freezing edits?▼

Yes, you can update the allowed directory boundary by re-running the setup process. Redefining the allowed path in the state file rolls back the previous boundary and applies the new scope to your current session.

When should I use directory scoping for file modifications?▼

You should use directory scoping for file modifications during debugging or when making scoped changes to a single module. It confines modifications to one folder, preventing accidental edits to unrelated project files.

What are the limitations of freezing edits to a directory for a session?▼

A limitation of freezing edits to a directory is that the boundary remains active for the entire session unless you re-run setup to redefine the path. It also relies on a state file to enforce the boundary.