freeze

Restrict file edits to a user-specified directory for the current session.

2|Updated May 8, 2026
One-click install
npx skills add https://github.com/xotong/claude-marketplace --skill freeze-xotong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: freeze
Source: https://github.com/xotong/claude-marketplace/tree/main/plugins/gstack/skills/freeze
Command: npx skills add https://github.com/xotong/claude-marketplace --skill freeze-xotong

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python3, git.

What problem does it solve?

Restrict edits to a designated directory for the current session, preventing drift and accidental changes outside the scoped area.

Core Features & Use Cases

  • Restrict edits to a user-specified directory for the active session.
  • Enforce a per-session boundary that can be adjusted with a command, enabling safer debugging and module isolation.
  • Log and deny any Edit or Write operations that fall outside the allowed path.

Quick Start

Set the freeze boundary to a directory to begin restricting edits in the current 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 an active coding session?

You can restrict file edits to a specific directory by setting a session boundary that logs and denies any Edit or Write operations outside the allowed path. This prevents accidental changes during development workflows.

What is a PreToolUse hook for enforcing edit boundaries?

A PreToolUse hook enforces edit boundaries by intercepting file modification tools before they execute, denying any Edit or Write operations that fall outside the user-specified allowed path during the current session.

Can I adjust the allowed edit path after starting a restricted session?

Yes, you can adjust the per-session boundary with a command after initially restricting edits. This enables safer debugging and module isolation by allowing you to modify the target directory scope on the fly.

Do I need git and python3 to restrict edits to a target folder?

Yes, you need python3 and git installed as dependencies to enforce the edit boundary. The runtime state file and PreToolUse hook rely on these environments to deny edits outside the allowed directory.

Why should I lock edits to a target folder during debugging?

Locking edits to a target folder during debugging prevents drift and accidental changes outside your scoped area. By enforcing a per-session boundary, you isolate modules and ensure only the intended directory is modified.

What happens when an Edit or Write operation falls outside the allowed directory path?

When an Edit or Write operation falls outside the allowed directory path, the PreToolUse hook denies the action and logs the attempt. This enforces the edit boundary and prevents unintended modifications to files outside the target folder.