freeze

Restrict file edit and write operations to a user-specified directory.

3|14|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/cegit27/moodle-proctor --skill freeze-cegit27
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: freeze
Source: https://github.com/cegit27/moodle-proctor/tree/main/.claude/skills/gstack/freeze
Command: npx skills add https://github.com/cegit27/moodle-proctor --skill freeze-cegit27

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python3.

What problem does it solve?

When working on a large codebase, it is common to accidentally edit files outside the module or component you are actively working on, leading to unintended changes that break unrelated parts of the project. This Skill eliminates that risk by locking all file edit and write operations to a single, user-specified directory for the duration of the session.

Core Features & Use Cases

  • Edit Boundary Enforcement: Blocks all Edit and Write tool operations targeting files outside the configured directory, while leaving Read, Bash, Glob, and Grep operations unaffected.
  • Scoped Development Workflows: Ideal for debugging, module-specific refactoring, or any task where you need to ensure changes are limited to a single part of the codebase, such as only modifying the backend API while leaving the frontend untouched.
  • Use Case: If you are fixing a bug in the exam module of the Moodle proctoring platform, you can freeze edits to the backend/exam directory to avoid accidentally modifying frontend dashboard components or AI proctoring code while troubleshooting.

Quick Start

Use the freeze skill to restrict all file edits to the backend/exam directory so I don't accidentally modify unrelated code while debugging the exam violation logic.

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 need directory locking mechanisms that enforce edit boundaries by validating file paths against a configured freeze directory and blocking out-of-bounds write operations.

Can I prevent accidental code modifications outside my active module scope?

Yes, you can prevent accidental code modifications outside your module scope by applying pre-tool use hooks that validate file paths and block all write and edit operations targeting files outside your configured project component directory.

Does directory locking affect read, bash, glob, and grep operations?

Directory locking does not affect read, bash, glob, and grep operations. Edit boundary enforcement specifically blocks Edit and Write tool operations targeting out-of-bounds files while leaving all other read and search operations unaffected.

What is the best way to lock file writes to a single project component?

The best way to lock file writes to a single project component is to configure scoped development workflows that use pre-tool use hooks to validate file paths against a user-specified freeze directory, preventing unintended modifications to unrelated code.

Do I need python3 to enforce edit boundaries in my development environment?

Yes, you need python3 installed in your environment to enforce edit boundaries, as the directory lock mechanism relies on python3 to validate file paths and block out-of-bounds edit and write operations during your development session.

When should I use directory lock for scope control in software engineering?

You should use directory lock for scope control during module-specific refactoring, debugging workflows, or component-scoped development tasks where you need to ensure all file modifications are strictly limited to a single directory to prevent breaking unrelated project parts.