freeze

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents accidental modifications to files outside a designated folder by blocking Edit and Write operations that target other paths, helping developers stay focused and avoid unintended changes.

Core Features & Use Cases

  • Boundary Enforcement: Checks every Edit/Write request against a user-defined freeze directory and denies out-of-scope actions.
  • User Prompt: Asks the user to specify the directory to lock, storing it for the session.
  • Session Persistence: Keeps the freeze setting active until the user runs /unfreeze or ends the session.
  • Use Case: While debugging a new feature in src/, you can freeze edits to that folder so any stray edit to unrelated modules is automatically blocked.

Quick Start

Tell the assistant: “Freeze edits to the src/ folder.”

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, you can lock the session scope by specifying a target folder. The tool then checks every Edit and Write operation against this configured directory and denies any out-of-scope actions.

What is the best way to prevent accidental code changes outside a single module while debugging?

Preventing accidental code changes outside a single module is achieved by freezing edits to your working folder. This boundary enforcement blocks stray edits to unrelated modules, keeping your debugging scope contained and safe.

How do I start locking edits to a folder?

To start locking edits to a folder, simply tell the assistant to freeze edits to your desired directory path. The system will prompt you for the directory if needed and store this configuration for the active session.

Does the edit restriction stay active after I close my current task?

The edit restriction features session persistence, remaining active until you explicitly run an unfreeze command or end the session. It will continuously enforce the boundary on all Write and Edit operations during this period.

What operations are affected when I freeze a directory scope?

When you freeze a directory scope, the restriction specifically applies to Edit and Write operations. The system enforces the boundary by checking the file path against your configured directory and denying any actions outside it.