freeze
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
About
- Publisher
- Garry Tan
- Tool
- File system
Install
The project doesn't document install steps that we could confirm. See the project's own instructions
What's inside
- SKILL.md.tmpl
- bin/check-freeze.sh
- bin/freeze-state.sh
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
This skill includes scripts that your agent may run.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | File system | |
| Publisher | Garry Tan | source |
| Official status | Not stated in its documentation | |
| Status | 0.1.0 | source |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | Yes | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | MIT | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 11, 2026141,174 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository |
Other copies of this skill (2)
These differ from this skill's text. They may be adapted copies or older versions.
More from Garry Tan
35 skills
All 35 from Garry Tan →Also listed under: File system
Sources
- Skill file (SKILL.md)github.com/garrytan/gstack · Backs: Includes scripts, StatusNov 10, 2026
- GitHub repositorygithub.com/garrytan/gstack · Backs: Licence, Publisher, ActivityNov 11, 2026
- Folder in the repository (freeze)github.com/garrytan/gstack · Backs: Includes scriptsNov 10, 2026