freeze

Block Edit and Write operations outside a user-defined directory boundary.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

When working on code changes, it is easy to accidentally edit files outside the module or folder you are supposed to be modifying, leading to unintended bugs, broken functionality, or wasted time reverting unwanted changes.

Core Features & Use Cases

  • Edit Boundary Enforcement: Blocks all Edit and Write operations outside the user-specified directory, preventing accidental modifications to unrelated code.
  • Scoped Development Workflows: Ideal for debugging specific modules, working on isolated features, or ensuring all changes stay within a designated project folder during code reviews.
  • Use Case: If you are fixing a bug in the src/auth module, use this skill to lock edits to that folder so you do not accidentally modify src/api files while testing your fix.

Quick Start

Use the freeze skill to restrict all file edits to the src/auth directory for the current session.

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 debugging?

To restrict file edits to a specific directory during debugging, you need a tool that enforces file boundaries by blocking Edit and Write operations outside a user-defined folder. This prevents accidental modifications to unrelated code while you focus on a single module.

What is scoped edit enforcement and how does it prevent accidental code changes?

Scoped edit enforcement is a mechanism that validates file paths against a persisted freeze boundary state before allowing modifications. It denies any Edit or Write operations targeting files outside the allowed directory, preventing unintended bugs and broken functionality.

Can I lock edits to one folder for a code review workflow?

Yes, you can lock edits to one folder for a code review workflow by applying a directory boundary restriction. This ensures all changes stay within a designated project module, preventing unauthorized modifications to other parts of the codebase during the review process.

How do I set up a file boundary to stop accidental edits to other project modules?

Set up a file boundary by specifying the target directory path you want to lock edits to, such as src/auth. The system then uses PreToolUse hooks to validate all subsequent file operations against this persisted boundary state, automatically denying any out-of-scope edits.

What's the best way to ensure code safety when working on isolated feature development?

The best way to ensure code safety during isolated feature development is to lock edits to a specific directory boundary. This restricts all modifications to the designated feature folder, eliminating the risk of accidentally editing unrelated files while testing your changes.

Does scoped edit restriction work without any external dependencies?

Yes, scoped edit restriction works without any external dependencies. The boundary enforcement operates entirely through PreToolUse hooks that validate file paths internally against a persisted state, requiring no additional packages or setup to function.