freeze

Block file edits outside a user-specified directory via hooks and a state file.

1|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/anishs1207/agentic-cli --skill freeze-anishs1207
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: freeze
Source: https://github.com/anishs1207/agentic-cli/tree/main/.agents/skills/gstack-freeze
Command: npx skills add https://github.com/anishs1207/agentic-cli --skill freeze-anishs1207

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Edit collisions and accidental changes during debugging are common issues. This skill constrains edits to a user-specified directory so you can work safely inside a defined scope without affecting other files.

Core Features & Use Cases

  • Directory-bound editing: Enforces a write/edit boundary to a chosen path.
  • Persistent scope: Boundary persists for the session and can be updated with a new path.
  • Safe debugging: Helps prevent accidental modification outside the targeted module during troubleshooting.

Quick Start

Ask me which directory to restrict edits to, and I will apply the freeze boundary.

Frequently Asked Questions about freeze

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent accidental edits to files outside a specific directory during a debugging session?

You can prevent accidental edits by applying a freeze boundary that restricts write and edit actions to a user-specified directory. This constraint persists for the session via hooks and a state file, blocking any modifications outside the allowed path.

Can I restrict write access to a single module to avoid edit collisions in my project?

Yes, you can restrict write access to a single module by setting a specified directory as the active boundary. The skill enforces this scope throughout the session, denying edit and write actions that target files outside that chosen folder.

What is directory-bound editing and how does it safeguard development workflows?

Directory-bound editing is a safeguard mechanism that quarantines changes to a single folder, preventing drift. It enforces a persisted boundary using hooks and a state file to deny edit and write actions outside the allowed path during development workflows.

How do I set up a persistent scope for allowed file edits in my development environment?

You set up a persistent scope by specifying a directory path to restrict edits to, which applies the freeze boundary. The boundary persists for the session via a state file and can be updated with a new path if your target directory changes.

How do I update the directory path for an active edit boundary if my work shifts to another folder?

You update the directory path for an active edit boundary by specifying a new target directory during the session. The skill applies the updated freeze boundary immediately, persisting the new path in the state file to allow edits in the newly chosen folder.

When should I use a folder-level write block instead of standard version control branches?

Use a folder-level write block when you need to quarantine changes to a single module during debugging and prevent accidental modifications outside that scope. It serves as a persisted safeguard against edit collisions, complementing standard version control practices.