freeze

Restrict file system modifications to a specified directory boundary.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill prevents accidental modifications to files outside of a designated project scope, ensuring that AI-driven edits remain contained within the intended directory during a session.

Core Features & Use Cases

  • Boundary Enforcement: Automatically blocks any Edit or Write operations that target files outside the user-defined path.
  • Session Persistence: Maintains the restricted scope throughout the conversation until explicitly removed.
  • Use Case: When working on a specific module within a large repository, use this skill to ensure the AI does not inadvertently modify core configuration files or unrelated subdirectories.

Quick Start

Invoke the freeze skill and specify the directory path you wish to lock edits to when prompted.

Frequently Asked Questions about freeze

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

FAQPage Schema
How do I restrict file system modifications to a specific directory boundary?

To restrict file system modifications to a specific directory boundary, invoke the freeze skill and specify the target directory path. It applies shell-based path validation to automatically block any edit or write operations targeting files outside that designated scope.

How does session state persistence work for locked directory scopes?

Session state persistence for locked directory scopes works by maintaining the restricted boundary throughout the conversation until explicitly removed. It utilizes session state files to enforce strict write-access control continuously.

Can I lock AI edits to a specific module within a large repository?

Yes, you can lock AI edits to a specific module within a large repository. The freeze skill ensures AI-driven edits remain contained within the intended directory, preventing inadvertent modifications to core configuration files or unrelated subdirectories.

Do I need shell scripts to enforce write-access control in development sessions?

You need shell-based path validation to enforce write-access control in development sessions. The freeze skill utilizes shell scripts and session state files to automatically block edit or write operations outside the user-defined path.

What's the best way to prevent accidental edits to unrelated files during automated workflows?

The best way to prevent accidental edits to unrelated files during automated workflows is applying directory boundary enforcement. The freeze skill automatically blocks edit or write operations targeting files outside your defined path, maintaining architectural integrity.

When should I not use directory locking for file system operations?

You should not use directory locking for file system operations when your development session requires modifying files across multiple unrelated directories. The freeze skill enforces strict write-access control to a single boundary, which will block necessary cross-directory edits.