freeze

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

107|19|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/mr-daedalium/ostack --skill freeze-mr-daedalium
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: freeze
Source: https://github.com/mr-daedalium/ostack/tree/main/freeze
Command: npx skills add https://github.com/mr-daedalium/ostack --skill freeze-mr-daedalium

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Block edits outside a designated directory during a session to prevent accidental modifications and scope debugging tasks.

Core Features & Use Cases

  • Per-session boundary setup: prompts for a directory path and stores it as the active freeze boundary.
  • Edit/Write interception: blocks any Edit or Write operation outside the allowed path.
  • State persistence: saves the boundary to a state file so the restriction lasts across the session.
  • Removal and reconfiguration: supports deactivation or changes to the boundary via /unfreeze or session end.

Quick Start

Ask the user for a directory path and then run the /freeze command to lock edits to that directory.

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 an interactive coding session?

Yes, locking edits to a specific directory prevents accidental modifications by intercepting any Edit or Write operation attempted outside the allowed path. This ensures changes stay confined within the module you are actively working on during the session.

Does the directory edit boundary persist across different bash session instances?

The directory edit boundary persists across the session by saving the configuration to a state file. This ensures the restriction remains active continuously until you explicitly run the unfreeze command or the session ends.

How do I lock edits to a folder using bash development tools?

To lock edits to a folder, provide a directory path and run the freeze command to establish the boundary. The system will then intercept and block any subsequent Edit or Write operations attempted outside that specific directory.

Can I reconfigure or remove the directory boundary after it is already set?

You can reconfigure or remove the directory boundary by running the unfreeze command. This deactivates the current restriction, allowing you to set a new boundary or restore unrestricted edit capabilities for the session.

When should I use a session boundary to block edit and write operations?

Use a session boundary when performing interactive coding or debugging tasks where changes must stay within a specific module. It prevents accidental modifications to files outside the designated directory scope during focused development work.