freeze

Restrict Edit and Write operations to a resolved directory for the current session.

15|1|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/howdeploy/NekoFree --skill freeze-howdeploy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: freeze
Source: https://github.com/howdeploy/NekoFree/tree/main/skills/freeze
Command: npx skills add https://github.com/howdeploy/NekoFree --skill freeze-howdeploy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Edits and writes can drift outside a defined directory during a session; Freeze prevents accidental changes outside an allowed path, helping debugging and scoped edits.

Core Features & Use Cases

  • Lock edits to a specific directory for the session.
  • Block Edit and Write operations targeting files outside the allowed path.
  • Use during debugging or when you want to scope changes to a module.

Quick Start

Ask the user for the directory to restrict edits to and run the setup to enforce the boundary for the current 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 a debugging session?

You can restrict edits to a specific directory by setting a freeze-dir in a state file, which a pretool hook reads to deny Edit and Write operations outside that boundary. This prevents accidental drift during debugging.

What is directory-boundary enforcement and how does it prevent code drift?

Directory-boundary enforcement prevents code drift by using a pretool hook to normalize and resolve file paths, denying any Edit or Write operations that target files outside the allowed directory boundary for the current session.

Can I lock writes to a single module without affecting other project files?

Yes, you can lock writes to a single module by enforcing a directory boundary for the current session. The system applies a pretool hook that blocks any Edit or Write operations targeting files outside that specific allowed path.

How do I set up a freeze boundary to scope edits to one folder?

To set up a freeze boundary, ask for the directory to restrict edits to and run the setup. The system then enforces the directory boundary for the current session by checking all file paths against the allowed directory.

What happens if an edit operation targets a file outside the allowed directory boundary?

If an edit operation targets a file outside the allowed directory boundary, the pretool hook denies the operation. This prevents accidental changes and ensures modifications remain strictly within the chosen freeze directory.