freeze

Block file edits outside a designated directory during a session.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/effiraid/reflix-nextjs --skill freeze-effiraid
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: freeze
Source: https://github.com/effiraid/reflix-nextjs/tree/main/.claude/skills/gstack/freeze
Command: npx skills add https://github.com/effiraid/reflix-nextjs --skill freeze-effiraid

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill restricts edits to a user-selected directory for the current session, preventing accidental or unintended modifications outside the specified path.

Core Features & Use Cases

  • Directory-bound edits: Enforce edits only within a chosen folder to reduce accidental changes during debugging or module work.
  • Pre-tool enforcement: Automatically blocks Edit and Write actions targeting outside the boundary via a PreToolUse hook.
  • Operational visibility: Logs boundary violations for auditing and troubleshooting.

Quick Start

Set the target directory and start restricting edits to that folder 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 restrict file edits to a specific directory during a development session?▼

You can restrict file edits to a specific directory by setting a target folder boundary that validates tool inputs and denies any edit or write actions targeting paths outside that directory. This prevents accidental modifications during interactive development workflows.

What is a PreToolUse hook for blocking edits outside a folder?▼

A PreToolUse hook intercepts edit and write actions before execution, validating the target file path against a persisted boundary directory and returning a denial when the path falls outside the allowed folder for the session.

How do I prevent accidental modifications to files outside my debugging directory?▼

To prevent accidental modifications outside your debugging directory, enforce directory-bound edits by configuring a session boundary path that automatically blocks write actions targeting files outside the designated folder.

Can I log boundary violations when confining edits to a single folder?▼

Yes, the system provides operational visibility by logging boundary violations, which allows you to audit and troubleshoot any attempts to edit files outside the designated directory during the session.

Does directory-bound editing work for module isolation workflows?▼

Yes, directory-bound editing works for module isolation by confining all session edits to a single selected folder, preventing unintended changes to other modules and reducing the risk of cross-module interference during development.

What happens when an edit targets a file path outside the designated boundary?▼

When an edit targets a file path outside the designated boundary, the PreToolUse hook validates the tool input and returns a denial, blocking the action and logging the violation for auditing purposes.