freeze

Block Edit and Write operations outside a configured directory boundary.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Restrict edits to a specific directory for the session. Blocks Edit and Write outside the allowed path, preventing accidental changes during debugging or scoped work on a single module.

Core Features & Use Cases

  • Blocks Edit and Write outside the designated boundary.
  • Sets a per-session freeze boundary to limit modifications to a chosen directory.
  • Ideal for debugging sessions, isolated refactors, and safe experimentation.

Quick Start

Provide a directory path to freeze, then the system locks edits to that path 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 coding session?▼

To restrict file edits to a specific directory, you need a per-session boundary that blocks Write and Edit operations outside the allowed path, preventing accidental changes during debugging or scoped module work.

Can I lock edits to a single directory boundary to prevent accidental file modifications?▼

Yes, you can lock edits to a single directory boundary by configuring a freeze-dir state and a pre-tool hook that checks each file_path against the boundary before allowing any modifications.

What is the best way to prevent accidental edits to unrelated files while debugging?▼

The best way to prevent accidental edits to unrelated files is enforcing a directory boundary that intercepts Edit and Write operations, isolating modifications to a chosen path for safe experimentation.

Does restricting edits to a directory boundary require any special dependencies?▼

Restricting edits to a directory boundary requires no special dependencies, relying solely on a configured freeze-dir state and a pre-tool hook to verify file paths before applying changes.

When should I use a directory boundary to block edits outside a target path?▼

You should use a directory boundary to block edits during interactive coding, debugging sessions, isolated refactors, or any scoped work on a single module where modifying unrelated files is a risk.

Why are my edits being blocked outside the freeze directory?▼

Edits are blocked outside the freeze directory because the pre-tool hook actively checks the file_path against the per-session boundary, preventing any Write or Edit operations beyond the specified path.