Directory freeze guardrail that restricts file edits to a specific directory for the current session. Activate when debugging or investigating to prevent accidental changes to unrelated code. Triggers on: "freeze mode", "lock directory", "restrict edits", "only edit in". Blocks Edit/Write operations outside the specified directory. Deactivate by ending the session.
From super-devnpx claudepluginhub jenningsloy318/claude-skill-artifacts --plugin super-devThis skill uses the workspace's default tool permissions.
Session-scoped directory restriction that blocks file edits outside a specified directory. Activate when debugging to prevent accidentally "fixing" unrelated code.
Announce at start: "Freeze mode ACTIVATED. File edits restricted to: [directory]. Changes outside this directory will be blocked."
When invoked, ask the user which directory to restrict to:
Any Edit, Write, or NotebookEdit tool call where the target file path is NOT under the frozen directory.
| Tool | Blocked When |
|---|---|
Edit | file_path is outside freeze directory |
Write | file_path is outside freeze directory |
NotebookEdit | notebook_path is outside freeze directory |
Bash with redirect | Command contains > or >> to a path outside freeze directory |
When a blocked edit is detected:
tests/ directory. Consider freezing at a higher level or overriding for test files.Freeze mode lasts for the entire session. To deactivate:
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.