freeze

Restrict file edits to a specified directory for the current session.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Restrict edits to a designated directory for the session, preventing accidental or scope bleed edits outside the allowed path and helping debug changes within a controlled area.

Core Features & Use Cases

  • Boundary-enforced editing: Edits are blocked outside the specified directory.
  • Session-scoped control: The boundary persists for the session and can be changed or cleared.
  • Debug-friendly: Ideal when debugging or when you want to scope fixes to a single module, while still allowing other tools to operate.

Quick Start

Ask me which directory to restrict edits to and confirm to 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 restrict file edits to a specific directory during debugging?

To restrict file edits to a specific directory during debugging, you can apply a session-scoped freeze boundary that blocks any modifications outside the allowed path. This prevents accidental scope bleed while you work.

Can I lock edits to a single folder to prevent accidental changes elsewhere?

Yes, you can lock edits to a single folder to prevent accidental changes elsewhere by setting a directory boundary. The restriction persists for the entire session and can be changed or cleared as needed.

How does a directory boundary block scope bleed when modifying code?

A directory boundary blocks scope bleed by using a pre-tool hook to intercept and prevent edit operations outside the specified path. The boundary is stored in a state file to persist the restriction throughout the session.

Can I still run other tools while edits are frozen to a specific module?

Yes, you can still run other tools while edits are frozen to a specific module. The restriction specifically blocks edit operations outside the boundary while allowing other debugging and analysis tools to operate normally.

What is the best way to scope code fixes to a single module without affecting other files?

The best way to scope code fixes to a single module without affecting other files is by applying a session-scoped freeze boundary. This enforces boundary-controlled editing by blocking any modifications outside your designated directory.

When should I not use a directory freeze boundary for editing code?

You should not use a directory freeze boundary when your task requires modifying files across multiple modules simultaneously. The boundary blocks all edits outside the specified directory, which will prevent cross-directory refactoring or updates during that session.