freeze

Restrict file edits and writes to a specified directory for the session.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/DaviRain-Su/sui-zig-rpc-client --skill freeze-davirain-su
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: freeze
Source: https://github.com/DaviRain-Su/sui-zig-rpc-client/tree/main/.agents/skills/gstack-freeze
Command: npx skills add https://github.com/DaviRain-Su/sui-zig-rpc-client --skill freeze-davirain-su

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents accidental edits to files outside of a specified directory, aiding in debugging and limiting changes to a single module.

Core Features & Use Cases

  • Directory Locking: Blocks Edit and Write operations outside of the allowed path.
  • Session Persistence: The restriction persists for the session.
  • User Confirmation: Provides a clear message to the user about the current edit restriction.
  • Use Case: When you need to "freeze" a directory to prevent unintended edits, such as during debugging or when only specific changes are allowed.

Quick Start

Run the command /freeze and provide the directory path you want to restrict edits to.

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?

Restricting file edits to a specific directory involves locking the session to an allowed path, which blocks any write or edit operations outside that boundary. This prevents accidental modifications to other modules.

What is directory locking for code protection and when should I use it?

Directory locking for code protection blocks write operations outside an allowed path to prevent unintended edits. You should use it when debugging or when only changes to a single module are permitted.

How do I lock a directory path to prevent unintended file modifications?

To lock a directory path and prevent unintended file modifications, run the freeze command and provide the target directory. This blocks edit and write operations outside the allowed path for the session.

Does the directory edit restriction persist for the entire session?

Yes, the directory edit restriction persists for the entire session. The directory locking mechanism blocks any edit or write operations outside the allowed path until the session concludes.

Can I use directory restriction to limit changes to a single module?

Yes, you can use directory restriction to limit changes to a single module. By locking the session to a specific directory, all edit and write operations outside that path are blocked.

What are the limitations of freezing a directory for file editing?

The limitation of freezing a directory for file editing is that it blocks all edit and write operations outside the allowed path, preventing necessary modifications to files in other directories during that session.