Skip to content
Kitbay
Skill0.1.0

freeze

MITUpdated on Nov 11, 2026141,174GitHub starsIncludes scripts

A skill from Garry Tan's gstack suite that limits file edits to one folder for the session.

What the skill teaches

A skill from Garry Tan's gstack suite that limits file edits to one folder for the session. The agent asks the user for the folder and saves it with a helper script, then a hook runs before every Edit, Write and NotebookEdit call and denies any path outside that folder after resolving home shortcuts, parent references, relative paths and symlinks. Unreadable input and paths it cannot place are denied too. The limit stays in place across sessions until the user runs /unfreeze, and running /freeze again changes the folder. The skill says it guards against accidental edits only: reads and shell commands are not covered, so a command such as sed can still change files elsewhere.

Capabilities

  • Set a folder that file edits must stay inside
  • Deny Edit, Write and NotebookEdit calls outside it
  • Resolve symlinks and relative paths before checking
  • Remove the limit with /unfreeze