One-click install
npx skills add https://github.com/viraatdas/vstack --skill freeze-viraatdas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: freeze
Source: https://github.com/viraatdas/vstack/tree/main/freeze
Command: npx skills add https://github.com/viraatdas/vstack --skill freeze-viraatdas

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python3.

What problem does it solve?

Restrict edits to a specific directory for the session and block Edit and Write outside the allowed path to prevent accidental or scope creep.

Core Features & Use Cases

  • Enforces a live freeze boundary so edits are confined to the target directory.
  • Integrates with the AskUserQuestion workflow to capture the desired path and persist it for the session.
  • Provides a PreToolUse hook that checks Edit/Write operations and blocks them outside the boundary with a clear message.

Quick Start

Ask the user which directory to restrict edits to and save the absolute path as 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 restrict file edits to a specific directory during an interactive coding session?

Restricting file edits to a directory during a session involves setting a live freeze boundary that persists for the duration of the interactive workflow. A PreToolUse hook intercepts Edit and Write operations, blocking any attempts to modify files outside the designated absolute path.

What is a PreToolUse hook for directory boundary restriction and how does it work?

A PreToolUse hook for directory boundary restriction intercepts Edit and Write operations before execution, running a shell script to validate the target path against the saved boundary. If the path falls outside the designated area, the operation is blocked with a clear message.

Do I need python3 to set up a session freeze boundary for write operations?

Yes, python3 is required as a dependency to set up a session freeze boundary for write operations. The environment uses python3 alongside a PreToolUse hook and a shell script to persist the designated directory path and enforce the edit restriction.

How do I prevent accidental edits outside a project directory during automated development workflows?

To prevent accidental edits outside a project directory, enforce a live freeze boundary that confines file modifications to a single target path. This boundary is captured at the start of the session and persists across all subsequent interactive coding operations.

Can I change the allowed directory path after the session freeze boundary is already set?

The freeze boundary is designed to persist for the duration of a single interactive coding session once captured. To change the allowed directory path, you must start a new session and capture a different absolute path to establish a fresh boundary.