freeze

Restrict file system modifications to a user-defined directory boundary.

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

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 debugging or development sessions.

Core Features & Use Cases

  • Boundary Enforcement: Blocks any Edit or Write operations that target files outside the user-defined path.
  • Session Persistence: Maintains the restricted scope throughout the conversation using a state file.
  • Use Case: When working on a specific module, use this skill to prevent the AI from inadvertently modifying configuration files or unrelated source code in other parts of the repository.

Quick Start

Ask the AI to freeze edits to the current directory to ensure all subsequent changes are restricted to this path.

Frequently Asked Questions about freeze

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

FAQPage Schema
How do I restrict AI file edits to a specific directory?

To restrict AI file edits to a specific directory, you can use a boundary enforcement mechanism that intercepts write operations via a PreToolUse hook, validating file paths against a user-defined scope before allowing modifications.

What are file system guardrails for development workflows?

File system guardrails for development workflows are preventive controls that block Edit or Write operations targeting files outside a designated project path, ensuring AI-driven debugging sessions remain contained within the intended directory boundary.

How do I prevent accidental modifications to unrelated source code during automation?

You prevent accidental modifications to unrelated source code by applying scope control that blocks write access to files outside a predefined directory, maintaining this restricted boundary throughout the conversation using a persisted state file.

Can I maintain a restricted file modification scope throughout an entire development session?

Yes, you can maintain a restricted file modification scope throughout an entire development session by persisting the restricted boundary in a state file, which ensures continuous validation of file paths across all subsequent automation operations.

Does intercepting write operations with a PreToolUse hook work for scope control?

Intercepting write operations with a PreToolUse hook works for scope control by actively validating requested file paths against a persisted state file before access is granted, effectively blocking any Edit or Write operations outside the boundary.

When should I use directory boundary enforcement for file system operations?

You should use directory boundary enforcement for file system operations when working on a specific module and you need to prevent the AI from inadvertently modifying configuration files or unrelated source code in other parts of the repository.