freeze

Restrict Edit and Write operations to a specified directory during a session.

Updated Mar 24, 2026
One-click install
npx skills add https://github.com/pcaokhai/gradion-response-report-api --skill freeze-pcaokhai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: freeze
Source: https://github.com/pcaokhai/gradion-response-report-api/tree/main/.claude/skills/gstack/freeze
Command: npx skills add https://github.com/pcaokhai/gradion-response-report-api --skill freeze-pcaokhai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Restricting edits to a single directory during a session helps prevent accidental or intentional changes outside the intended module, making debugging and scoped development safer and more predictable.

Core Features & Use Cases

  • Lock edits to a specific directory for the current session and block Edit and Write operations that target outside paths.
  • Serve as a safety boundary during debugging or module-focused work, ensuring changes stay contained.
  • Persist the freeze boundary across the session and explicitly inform the user when boundaries need to be changed or removed via /freeze or /unfreeze.

Quick Start

Ask the user for the directory to freeze and then set the boundary with the freeze command.

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 freeze boundary that blocks Edit and Write operations targeting paths outside the chosen folder. This keeps interactive debugging and scoped development safely contained.

Can I lock code changes to one folder to prevent accidental modifications elsewhere?

Yes, you can lock code changes to one folder by applying a persistent freeze boundary. The PreToolUse hook checks file paths against this boundary, ensuring modifications stay contained within the designated directory scope.

How do I set a boundary to limit edits to a chosen directory?

To set a boundary, ask for the target directory and use the freeze command. This stores the directory path in a state file, establishing a persistent lock that remains active across the current session until explicitly removed.

Does the freeze boundary persist across the entire session?

The freeze boundary persists across the entire session by storing the scope in a state file. You must explicitly use the unfreeze command to change or remove the boundary when you need to modify files outside the originally designated directory.

What are the limitations of restricting edits to a single directory?

A limitation of restricting edits to a single directory is that Write and Edit operations are blocked for any valid paths outside the frozen scope. You must explicitly remove the boundary via the unfreeze command before making changes elsewhere.