freeze

Restrict Edit and Write operations to a specified directory.

1|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/tyhuffman7/gstack-hermes --skill freeze-tyhuffman7
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: freeze
Source: https://github.com/tyhuffman7/gstack-hermes/tree/main/gstack-freeze
Command: npx skills add https://github.com/tyhuffman7/gstack-hermes --skill freeze-tyhuffman7

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Lock file edits to a specific directory to prevent accidental or unintended changes during a session.

Core Features & Use Cases

  • Restricts Edit and Write operations to a designated directory, blocking attempts to modify files outside the allowed path.
  • Persists the freeze boundary for the session via a state file and supports easy deactivation with a command to reset.
  • Handles path normalization, including trailing slash enforcement, to avoid false matches like /src vs /src-old.

Quick Start

Ask the user for a directory to freeze, resolve it to an absolute path, and save the boundary for the session.

Frequently Asked Questions about freeze

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I lock file edits to a specific directory to prevent unintended changes?

Locking file edits to a directory restricts Edit and Write operations to an allowed absolute path, blocking modifications to source files outside that boundary. A state file persists the restriction across session restarts.

How does directory path normalization prevent false boundary matches?

Directory path normalization resolves relative input to an absolute path and enforces trailing slashes to avoid false matches like /src vs /src-old. This ensures the edit restriction boundary applies strictly to the intended folder.

Can I persist a freeze boundary across multiple session restarts?

Yes, persisting a freeze boundary across session restarts is supported via a state file. The directory lock remains active until you explicitly reset it using the unfreeze command.

How do I reset an edit restriction boundary during a session?

Resetting an edit restriction boundary during a session requires issuing the unfreeze command. This simple mechanism deactivates the directory lock and restores unrestricted Write and Edit operations.

What's the best way to prevent source file drift during an active session?

Preventing source file drift during a session involves locking edits to a designated directory. This blocks accidental modifications to files outside the allowed path and survives restarts through a persistent state file.

Does the freeze lock apply to both Edit and Write operations?

Yes, the freeze lock applies to both Edit and Write operations. Any attempt to modify files outside the designated directory boundary is blocked to prevent unintended changes to source files.