freeze

Block file edits outside a user-specified directory during a session.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/mulyoved/awesome-agent-ides --skill freeze-mulyoved
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: freeze
Source: https://github.com/mulyoved/awesome-agent-ides/tree/main/.agents/skills/gstack/freeze
Command: npx skills add https://github.com/mulyoved/awesome-agent-ides --skill freeze-mulyoved

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Restricting edits to a single directory during a session prevents accidental or cross-project changes, enabling safer debugging and module-focused work.

Core Features & Use Cases

  • Boundary enforcement: only edits inside the specified directory are allowed, with all other edits blocked.
  • PreToolUse integration: automatically checks edit boundaries before Edit or Write operations.
  • Session-scoped state: persists the freeze boundary for the current session and can be reset as needed.
  • Use Case: when debugging a module, freeze edits to that module's folder to avoid accidental changes elsewhere.

Quick Start

Tell me which directory to freeze so that only edits within that directory are allowed.

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 single directory during a coding session?

You restrict file edits by setting a directory boundary that blocks any edit operations outside a specified folder. This session-scoped state ensures changes remain confined to that directory, preventing accidental cross-project modifications.

What is directory-boundary enforcement for safe debugging?

Directory-boundary enforcement is a mechanism that controls edits within a specific folder, blocking operations outside that boundary. It enables safer debugging by preventing accidental changes to files elsewhere in the project during a focused session.

Can I reset the freeze boundary if I need to edit files in another folder?

Yes, you can reset the freeze boundary as needed. The session-scoped state persists the allowed directory for the current session, allowing you to reconfigure the restriction so edits can proceed in a different folder.

Does the edit restriction automatically check file paths before writing?

Yes, the edit restriction uses PreToolUse integration to automatically check target file paths before Edit or Write operations. It loads the freeze directory from a state file and denies any operations attempting to modify files outside that boundary.

Why are my edits being blocked outside the frozen directory?

Edits are blocked outside the frozen directory because the boundary enforcement compares target file paths against your specified folder and denies operations outside it. This restriction prevents accidental cross-project changes during your session.