freeze

Block Edit and Write operations outside a user-specified directory during a session.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/jonkiky/ccdi-federation-ai --skill freeze-jonkiky
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: freeze
Source: https://github.com/jonkiky/ccdi-federation-ai/tree/main/.agents/freeze
Command: npx skills add https://github.com/jonkiky/ccdi-federation-ai --skill freeze-jonkiky

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python3.

What problem does it solve?

This Skill locks edits to a specific directory for the session, blocking Edit and Write outside the allowed path to help keep work scoped and safe during debugging or module edits.

Core Features & Use Cases

  • Enforces an active edit boundary within a user-specified directory to keep work scoped to a module.
  • Prevents accidental changes during debugging, testing, or code reviews by restricting Edit and Write operations.
  • Provides a reversible boundary via end-of-session or an explicit unfreeze command.

Quick Start

Tell me which directory to restrict edits to, and I will apply the freeze boundary for your 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 interactive bash session?

To restrict file edits to a specific directory, you can lock an edit boundary using a PreToolUse hook that compares file_path against your configured directory, blocking any Write or Edit operations outside that path.

Can I prevent accidental code changes outside a specific folder while debugging?

Yes, you can prevent accidental code changes by applying a session-based edit boundary that blocks Write and Edit operations outside your specified directory, keeping debugging safely scoped to a single module.

How do I set up a prehook edit boundary to contain dev-workflow changes?

You set up a prehook edit boundary by specifying a target directory, which stores a per-session boundary in a state file and uses a PreToolUse hook to intercept and validate file modifications against the allowed path.

Is the edit freeze boundary reversible, and how do I remove it?

The edit freeze boundary is fully reversible; you can remove the restriction using an explicit unfreeze command or simply end your current interactive session to clear the contained edit boundary state.

Do I need python3 to enforce directory edit restrictions in my dev workflow?

Yes, you need python3 installed in your environment, as the underlying mechanism relies on it to execute the PreToolUse hook and manage the state file that tracks your active edit boundary.

What's the best way to lock edits to a folder for a testing session?

The best way to lock edits to a folder for testing is to apply a per-session edit boundary that utilizes a PreToolUse hook, preventing any file modifications outside the user-specified directory.