freeze

Restrict Edit and Write tool calls to a user-specified directory for a session via a state file.

Updated Apr 24, 2026
One-click install
npx skills add https://github.com/SakshamKandel/Salt-Route-Consulting- --skill freeze-sakshamkandel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: freeze
Source: https://github.com/SakshamKandel/Salt-Route-Consulting-/tree/main/.agents/skills/freeze
Command: npx skills add https://github.com/SakshamKandel/Salt-Route-Consulting- --skill freeze-sakshamkandel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Restrict edits to a specific directory for the session to prevent accidental changes outside designated scope.

Core Features & Use Cases

  • Locks edits to a chosen directory, blocking Edit and Write operations outside the boundary.
  • Persists the freeze boundary for the session via a state file and applies to subsequent Edit/Write invocations.
  • Useful during debugging, code review, or module isolation to ensure changes stay contained.

Quick Start

Provide the directory path to restrict edits to, and the system will enforce the freeze boundary 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 debugging session?

You can restrict file edits to a specific directory during a debugging session by setting a boundary using an absolute path. The system intercepts Edit and Write tool calls, blocking any file modifications that occur outside the designated scope.

What is directory scoping and how does it prevent accidental changes outside a module?

Directory scoping constrains file modifications to a user-specified boundary, preventing accidental changes outside a module. It persists this boundary in a session state file and enforces the rule by intercepting subsequent Edit and Write invocations.

How do I lock edits to a workspace boundary for code review?

To lock edits to a workspace boundary for code review, provide the target directory's absolute path. The system persists this freeze boundary for the session, ensuring that all subsequent file modifications remain contained within the designated scope.

Can I use directory isolation to block Write tool calls outside a project scope?

Yes, you can use directory isolation to block Write tool calls outside a project scope. By providing an absolute path, the system intercepts both Edit and Write operations, actively blocking any attempts to modify files outside the established boundary.

Does the edit freeze boundary persist across multiple tool invocations in a session?

Yes, the edit freeze boundary persists across multiple tool invocations in a session. The system saves the user-provided absolute path in a session state file, ensuring the restriction applies to all subsequent Edit and Write calls until the session ends.

What are the limitations of using a session state file for workspace boundaries?

A limitation of using a session state file for workspace boundaries is that the restriction relies on the session's persistence. The freeze intercepts Edit and Write tool calls only within that specific session, requiring a new absolute path setup for future separate debugging workflows.