Freeze

Restrict file edits to a designated directory for the session.

Updated Jun 4, 2026
One-click install
npx skills add https://github.com/aporto-tech/aporto-agent-skills --skill freeze-aporto-tech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Freeze
Source: https://github.com/aporto-tech/aporto-agent-skills/tree/main/skills/gstack/freeze
Command: npx skills add https://github.com/aporto-tech/aporto-agent-skills --skill freeze-aporto-tech

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill ensures file edits are confined to a designated directory during a session, preventing unintended modifications outside of it.

Core Features & Use Cases

  • Session-Specific Locking: Temporarily restricts all file edits to a specified directory, preventing accidental changes elsewhere.
  • Use Case: When debugging or during code reviews, use this Skill to prevent altering unrelated files or code outside of the targeted directory.

Quick Start

Use the Freeze Skill to lock down file edits to the current working directory: "Freeze to this directory only."

Frequently Asked Questions about Freeze

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I restrict file editing to a specific directory during an active coding session?

To restrict file editing to a specific directory, you can lock down the active session to block all attempts to edit or write files outside the allowed path. This prevents unintended modifications to unrelated files.

Can I lock down file edits to prevent accidental changes outside of a single module?

Yes, you can lock down file edits to confine changes to a single module or directory. This session-specific locking mechanism blocks accidental writes and edits to any files outside the designated path.

What is the best way to focus code changes within a targeted directory for code review?

The best way to focus code changes during a review is to restrict file edits to the targeted directory. This ensures that debugging and code modifications are confined, preventing alterations to unrelated files outside the module.

Does the Freeze Skill require any external dependencies to enforce directory restriction?

No external dependencies are required to enforce directory restriction. The Skill utilizes internal script hooks to enforce the rule, blocking all write attempts outside the allowed path without needing additional packages.

Why would I need session control to restrict file edits for debugging?

You need session control to restrict file edits during debugging to prevent altering unrelated code outside the targeted directory. By locking edits to a specific path, you ensure that debugging remains focused and isolated to the module.