freeze

Deny file edits and writes outside a user-defined directory boundary.

Updated Sep 10, 2024
One-click install
npx skills add https://github.com/TioSavich/UMEDCTA --skill freeze-tiosavich
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: freeze
Source: https://github.com/TioSavich/UMEDCTA/tree/main/.claude/skills/gstack/freeze
Command: npx skills add https://github.com/TioSavich/UMEDCTA --skill freeze-tiosavich

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Restrict edits to a specific directory for the session to prevent accidental changes outside the designated boundary.

Core Features & Use Cases

  • Blocks Edit and Write outside the allowed path during a session.
  • Provides a reusable boundary for debugging and module isolation.
  • Use when you want to "freeze" edits to a folder during experimentation.

Quick Start

Ask the user which directory 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 edits and writes to a specific directory during a coding session?

You can restrict edits to a specific directory by setting a persistent boundary path for the session. The system normalizes requested paths and returns a permission decision to block any write operations attempted outside that designated folder.

What is the best way to prevent accidental file modifications outside a project module?

The best way to prevent accidental modifications outside a project module is to freeze edits by defining an allowed directory boundary. This isolates debugging and experimentation to a single folder, automatically denying write operations that target files outside the established boundary.

Can I lock writes to a folder boundary for interactive debugging workflows?

Yes, you can lock writes to a folder boundary for interactive debugging workflows. By reading a persistent boundary from a state file, the system ensures that only files within the user-defined directory are modifiable, blocking any external edits during the session.

How does path normalization work when blocking edits outside an allowed directory?

Path normalization standardizes the requested file paths before checking them against the allowed directory boundary. This ensures that edit and write operations are consistently evaluated and accurately denied if they resolve to a location outside the frozen directory scope.

Do I need to manually specify the restricted directory every time I start a session?

No, you do not need to manually specify the restricted directory every time. The allowed boundary is read from a persistent state file, allowing you to maintain a reusable directory restriction across your interactive coding and debugging sessions without repeated setup.