freeze

Restrict Edit and Write operations to a configured directory boundary.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The skill restricts edits to a specific directory during a session, preventing accidental or unauthorized changes outside the defined boundary.

Core Features & Use Cases

  • Enforces a configurable edit boundary using a simple state file.
  • Blocks Edit and Write operations outside the allowed path during interactive sessions.
  • Useful during debugging or focused development when changes must be isolated to one module.

Quick Start

Set a directory boundary and activate the skill to constrain edits to that path.

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 single directory during a debugging session?

To prevent accidental file modifications outside a project folder, you set a boundary path in a state file. This enforces a directory boundary that blocks all Edit and Write operations attempted outside the allowed path.

Can I lock code changes to one specific folder for focused development?

Yes, you can lock code changes to one specific folder by setting a directory boundary in a state file. This enforces a directory boundary that blocks all Edit and Write operations attempted outside the allowed path.

How does a PreToolUse hook enforce directory boundaries for editor actions?

A PreToolUse hook enforces directory boundaries by intercepting editor actions like Edit and Write before they execute. It checks the target path against a stored boundary and denies operations outside the allowed directory.

Do I need a state file to set an edit boundary for my project?

Yes, you need a state file to set an edit boundary for your project. The skill requires this state file to store the configured boundary path, which the PreToolUse hook references to validate edit locations.

What happens when I attempt an edit operation outside the allowed path?

When you attempt an edit operation outside the allowed path, the PreToolUse hook denies the action and logs the usage. This prevents accidental or unauthorized changes to files outside the defined directory boundary.