freeze

Restrict file edits and writes to a specified directory for a session.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps prevent accidental changes during debugging by restricting file edits to a user-specified directory for the current session.

Core Features & Use Cases

  • Restrict edits and writes to a designated directory, keeping the rest of the project untouched.
  • Persist the boundary for the session and provide /freeze and /unfreeze workflow to toggle it.
  • Works with Edit and Write tool inputs to enforce the boundary while Read and other commands remain unaffected.

Quick Start

Ask the user for a directory to restrict edits to, then run /freeze to apply the boundary for 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 a debugging session?

To restrict file edits to a specific directory during a debugging session, you define a boundary path and apply a session-scoped lock. This prevents accidental modifications to code outside that designated directory while you work.

Can I lock writes to a directory without affecting my ability to read other project files?

Yes, you can lock writes to a directory without affecting read operations. The edit restriction enforces the boundary by denying Edit and Write operations outside the path, while Read commands remain unaffected.

What is the best way to prevent accidental code changes when performing scoped work?

The best way to prevent accidental code changes when performing scoped work is applying a directory-boundary lock. This restricts edits and writes to a user-specified directory, keeping the rest of the project untouched during the session.

How do I toggle directory edit restrictions on and off within a development workflow?

You toggle directory edit restrictions on and off using the /freeze and /unfreeze commands. Running /freeze applies the boundary for the current session, while /unfreeze removes the restriction to restore full edit access.

Does the session-scoped edit boundary persist across different debugging tasks?

The session-scoped edit boundary persists for the current session to support manual debugging or scoped work. It remains active until you explicitly toggle it off, ensuring your directory boundary is enforced throughout your tasks.

Are there limitations on restricting edits to a directory boundary during a session?

A limitation of restricting edits to a directory boundary is that the lock is session-scoped and applies only to Edit and Write operations. You must manually specify the boundary path and toggle it off when the debugging session ends.