freeze

Restrict file edits to a designated directory during a session.

Updated Mar 28, 2026
One-click install
npx skills add https://github.com/deveshkumars/Intentra --skill freeze-deveshkumars
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: freeze
Source: https://github.com/deveshkumars/Intentra/tree/main/freeze
Command: npx skills add https://github.com/deveshkumars/Intentra --skill freeze-deveshkumars

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Restrict edits to a specific directory for the session. Blocks Edit and Write outside the allowed path. Use when debugging to prevent accidentally changing unrelated code, or when you want to scope changes to one module.

Core Features & Use Cases

  • Boundary-based edit restriction: denies Edit/Write operations outside the designated folder while allowing Read access.
  • Session-scoped enforcement: boundary persists through the session and can be updated or cleared.
  • Safe debugging: enables focused changes without risking edits to other parts of the project.

Quick Start

Ask the user which directory to restrict edits to, then confirm the boundary and begin enforcing it.

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 scope edits to a single module by setting a designated folder boundary that blocks Edit and Write operations outside the allowed path. This persists through the session and prevents accidental modifications to unrelated code while debugging.

Can I lock writes to one folder without blocking read access to the rest of the project?

Yes, locking writes to a designated folder only blocks Edit and Write operations outside the boundary. Read access remains fully available across the entire project, allowing you to reference other modules while keeping your modifications scoped safely to one directory.

How does directory boundary enforcement work to prevent accidental file modifications?

Directory boundary enforcement works by storing a boundary file in the plugin state and using a PreToolUse hook to inspect file_path arguments. If a write operation targets a path outside the designated directory, the hook automatically denies the edit before it executes.

What's the best way to scope code changes to a single module during a focused update?

The best way to scope code changes is to establish a session-scoped directory boundary before you begin editing. This constrains all writes to your chosen module folder, preventing accidental modifications elsewhere in the project until you clear or update the boundary.

Do I need to manually configure hooks to block file writes outside a project folder?

No manual hook configuration is needed because the boundary mechanism automatically uses a PreToolUse hook stored in the plugin state. You simply designate the target directory, and the system enforces the edit restriction by inspecting file paths during your session.

When should I not use directory-based edit restrictions for my workflow?

You should avoid directory-based edit restrictions when your task requires modifying files across multiple project folders simultaneously. Because the boundary blocks all Edit and Write operations outside a single designated path, cross-directory refactoring or multi-module updates will be denied.