Skip to content
G

garrytan/freeze

Edit Lock: restrict file edits to one directory while debugging

Open source

Star
#12700in AI Skills
0In stores

Description

Freeze is an agent skill that limits Claude's Edit and Write tools to a single directory for the whole session. Any attempt to change a file…

Highlights

  • Restricts Edit and Write to one directory
  • Blocks writes outside the allowed path
  • Enforced at the tool level, not by review
  • Lasts for the whole session
  • Useful for debugging and targeted changes

Ratings & Reviews

No ratings yet

Be the first to rate garrytan/freeze.

People also visit

G

garrytan/guard

Full Safety: /careful + /freeze in one command for maximum safety

AI Skills
Get
G

gateguard

PreToolUse fact-forcing gate that denies the first Edit/Write/Bash

AI Skills
Get
S

safety-hooks

Provides safety guards to block or require confirmation

AI Skills
Get
G

git-guardrails-claude-code

Set up Claude Code hooks to block dangerous git commands

AI Skills
Get
G

git-guardrails-claude-code

设置 Claude Code hooks,在危险 git commands(push、reset --hard、clean、branch -D

AI Skills
Get
C

Claude Code Safety Net

by kenryu42 - A coding agent CLI hook

AI Skills
Get

garrytan/freeze FAQ

What does the freeze skill do?

It restricts Claude's Edit and Write operations to one directory for the length of a session, and blocks any change outside it.

How do I install it?

Run npx skills add https://github.com/garrytan/gstack --skill freeze from a terminal where the skills CLI is available.

Does it stop changes to other files?

Yes. The page says any attempt to modify files outside the allowed path is blocked outright.

When is it useful?

When debugging a specific package, scoping a refactor, or reviewing a directory without risking edits to unrelated code.

Is it open source?

The skill is published in the public gstack repository on GitHub.

What are the best garrytan/freeze alternatives?

Popular alternatives to garrytan/freeze include garrytan/guard, gateguard and safety-hooks. See all garrytan/freeze alternatives

Developer Stuff

Badges