freeze

Restrict Edit and Write operations to a specified directory for the current session.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps to prevent accidental edits to files outside of a specified directory, ensuring that changes are confined to a particular module or project area.

Core Features & Use Cases

  • Directory Lockdown: Blocks Edit and Write operations outside the allowed path.
  • Session-based: The restriction is only active for the current session.
  • Use Case: Ideal for debugging to avoid unintended fixes in unrelated code or when working on a specific module.

Quick Start

Run /freeze and specify the directory to restrict edits to. For example: /freeze /path/to/restricted/directory.

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 use a session-based lockdown feature that blocks Edit and Write operations outside your allowed path. This confines changes to a particular module or project area.

Why does accidental code edits happen when debugging across multiple modules?

Accidental code edits happen when working across multiple modules because standard editors allow unrestricted modifications. A directory lockdown prevents unintended fixes in unrelated code by blocking write operations outside a specified path.

Can I limit write operations to a single project folder for debugging?

Yes, you can limit write operations to a single project folder by applying a session-based restriction. This mechanism checks file paths against an allowed directory and blocks any edit or write operations outside that path.

What is directory lockdown for file editing and how does it work?

Directory lockdown for file editing is a mechanism that restricts modifications to an allowed path for the current session. It works by running a script to check the file path and blocking edit or write operations outside the allowed directory.

Does the session-based file edit restriction stay active after closing the session?

No, the session-based file edit restriction is only active for the current session. Once the session ends, the directory lockdown is lifted, allowing edits and write operations across all directories again.

What are the limitations of restricting file edits to an allowed path?

The limitation of restricting file edits to an allowed path is that it blocks all edit and write operations outside the specified directory for the current session. This means you cannot modify unrelated files without changing or removing the restriction.