freeze

Block repository edits outside a defined directory via a PreToolUse hook.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Restrict edits to a specific directory for the session, preventing edits outside the allowed path.

Core Features & Use Cases

  • Boundary enforcement: blocks Edit and Write operations outside the configured directory.
  • Session persistence: maintains the freeze boundary for the duration of the session.
  • Non-intrusive: reads hooks and reports when a change is denied.

Quick Start

Provide a directory path to set the freeze boundary and start restricting edits to that directory during 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 can apply a freeze boundary that blocks Write and Edit operations outside the allowed path. This ensures changes are isolated to the configured directory for the duration of the session.

What is a PreToolUse hook for blocking repository changes?

A PreToolUse hook for blocking repository changes is a mechanism that reads and enforces a persistent freeze boundary stored in the session state. It exposes a deny response to automatically block any out-of-bound edits.

Can I lock down a folder to isolate module changes while debugging?

Yes, you can lock down a folder to isolate module changes while debugging by setting a defined directory as the freeze boundary. This prevents accidental modifications to other parts of the repository during the session.

How do I start restricting edits to a directory?

To start restricting edits, provide a directory path to set the freeze boundary. This immediately starts limiting Write and Edit operations to that specific directory throughout your current working session.

Does the freeze boundary persist across the entire session?

Yes, the freeze boundary maintains session persistence, meaning the restrictions remain active for the duration of the session. It continuously reads the hook and reports when a change is denied.