freeze

Restrict file edits to a user-specified directory during a session.

Updated Apr 15, 2026
One-click install
npx skills add https://github.com/256javy/safia --skill freeze-256javy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: freeze
Source: https://github.com/256javy/safia/tree/main/.claude/skills/gstack/freeze
Command: npx skills add https://github.com/256javy/safia --skill freeze-256javy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, python3.

What problem does it solve?

People often edit the wrong files while debugging or prototyping in a shared workspace. This skill restricts edits to a user-specified directory for the current session, preventing accidental changes outside the intended scope.

Core Features & Use Cases

  • Boundary enforcement: Locks edits to a chosen directory, blocking changes outside the boundary to keep work contained.
  • Safe debugging: Ideal when debugging or experimenting to avoid unintended modifications to unrelated code.
  • Workflow safety: Provides a simple, repeatable way to scope changes during interactive AI-guided sessions.

Quick Start

Ask the user for a directory, then run the /freeze command to enforce edits within that boundary for the session.

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 AI-guided workflow?

To restrict file edits to a specific directory, you can use a pre-tool hook to lock edits within a user-defined boundary, preventing unintended changes to files outside that scope during your session.

Why should I use an edit boundary when debugging code in a shared workspace?

Using an edit boundary when debugging code in a shared workspace prevents accidental modifications to unrelated files, ensuring that changes remain safely contained within your intended directory scope.

Can I use a shell-script hook to prevent unintended changes outside a project directory?

Yes, you can use a shell-script pre-tool hook to enforce workflow safety by storing a stateful boundary in your environment that blocks any edits attempted outside the specified directory.

Do I need git and python3 installed to enforce scoped edits in my session?

Yes, you need git and python3 installed in your environment to run the shell-script hooks that manage the stateful boundary and enforce scoped edits during your interactive session.

What is the best way to lock edits to a single folder while prototyping?

The best way to lock edits to a single folder while prototyping is to define a stateful boundary and apply a pre-tool hook that actively blocks any modifications attempted outside that chosen directory.

Are there limitations to using directory-scoped edit restrictions during interactive sessions?

Directory-scoped edit restrictions apply only to the current session and rely on a stateful environment boundary, meaning the lock is not persistent across new sessions and requires reconfiguration.