freeze

Restricts Edit and Write file operations to a specified directory per session via Bash script and state file.

3|Updated Oct 12, 2025
One-click install
npx skills add https://github.com/mostafasudo/warpy --skill freeze-mostafasudo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: freeze
Source: https://github.com/mostafasudo/warpy/tree/main/.codex/skills/gstack/freeze
Command: npx skills add https://github.com/mostafasudo/warpy --skill freeze-mostafasudo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bash, and includes scripts (resource) components.

What problem does it solve?

This Skill helps prevent accidental edits to unrelated code or modules by restricting file edits to a specific directory for the session.

Core Features & Use Cases

  • Directory Restriction: Blocks edit and write operations outside the allowed path.
  • Session-Specific: The restriction persists for the session.
  • Use Case: Ideal for debugging to avoid fixing unrelated code, or when you want to limit changes to one module.

Quick Start

To set a freeze boundary, use the /freeze command followed by the directory path you want to restrict edits to. For example: /freeze /path/to/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 specific directory during a debugging session?

You can restrict file edits to a specific directory by setting a boundary that blocks edit and write operations outside the allowed path. This persists for the session, preventing accidental modifications to unrelated code or modules during debugging.

How does directory lock session management prevent accidental code changes?

Directory lock session management prevents accidental code changes by using a Bash script to check the boundary and a state file to persist the setting. It actively blocks edit and write operations outside the allowed directory for the duration of the session.

Do I need bash to restrict write operations to a specific project module?

Yes, you need bash to restrict write operations to a specific project module. The Skill requires a Bash script to check the directory boundary and a state file to persist the session-specific setting that blocks edits outside the allowed path.

What is the best way to limit code safety boundaries to one directory per session?

The best way to limit code safety boundaries to one directory per session is to use the `/freeze` command with the target path. This creates a session-specific restriction that blocks write and edit operations outside the specified directory.

When should I use a directory edit restriction for my codebase?

You should use a directory edit restriction when debugging to avoid fixing unrelated code, or when you want to limit changes to one specific module. It ensures file edits are restricted to a specific directory for the entire session.