Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/coder100001-freeze
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
freeze- Description
- Restrict file edits to a specific directory for the session. (gstack)
- License
- MIT
- Instructions
- 67 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- allowed-tools: must be a space-separated string
Files (3)
- SKILL.md
- SKILL.md.tmpl
- check-freeze.sh · bin/
SKILL.md (first lines)
<!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly -->
<!-- Regenerate: bun run gen:skill-docs -->
## When to invoke this skill
Blocks Edit and
Write outside the allowed path. Use when debugging to prevent accidentally
"fixing" unrelated code, or when you want to scope changes to one module.
Use when asked to "freeze", "restrict edits", "only edit this folder",
or "lock down edits".
# /freeze — Restrict Edits to a Directory
Lock file edits to a specific directory. Any Edit or Write operation targeting
a file outside the allowed path will be **blocked** (not just warned).
```bash
mkdir -p ~/.gstack/analytics
echo '{"skill":"freeze","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(basename "$(git rev-parse --show-toplevel 2>/dev/null)" 2>/dev/null || echo "unknown")'"}' >> ~/.gstack/analytics/skill-usage.jsonl 2>/dev/null || true
```
## Setup
Ask the user which directory to restrict edits to. Use AskUserQuestion:
- Question: "Which directory should I restrict edits to? Files outside this path will be blocked from editing."
- Text input (not multiple choice) — the user types a path.
Once the user provides a directory path:
1. Resolve it to an absolute path:
```bash
FREEZE_DIR=$(cd "<user-provided-path>" 2>/dev/null && pwd)
echo "$FREEZE_DIR"
```
2. Ensure trailing slash and save to the freeze state file:
```bash
FREEZE_DIR="${FREEZE_DIR%/}/"
eval "$(~/.claude/skills/gstack/bin/gstack-paths)"
STATE_DIR="$GSTACK_STATE_ROOT"
mkdir -p "$STATE_DIR"
echo "$FREEZE_DIR" > "$STATE_DIR/freeze-dir.txt"
echo "Freeze boundary set: $FREEZE_DIR"
```
Tell the user: "Edits are now restricted to `<path>/`. Any Edit or Write
outside this directory will be blocked. To change the boundary, run `/freeze`
again. To remove it, run `/unfreeze` or end the session."
## How it works
The hook reads `file_path` from the Edit/Write tool input JSON, then checks
whether the path starts with the freeze directory. If not, it returns
`permissionDecision: "deny"` to block the operation.
The freeze boundary persists for the session via the state file. The hook
script reads it on every Edit/Write invocation.
## Notes
- The trailing `/` on the freeze directory prevents `/src` from matching `/src-old`
- Freeze applies to Edit and Write tools only — Read, Bash, Glob, Grep are unaffected
- This prevents accidental edits, not a security boundary — Bash commands like `sed` can still modify files outside the boundary
- To deactivate, run `/unfreeze` or end the conversationFrom coder100001/gstack-superpowers-hybrid-skill, MIT.
More from coder100001/gstack-superpowers-hybrid-skill
- 0.514score
gs-hybrid-v3
coder100001
AI Engineering Governance System — 5-state workflow (DEFINE→PLAN→IMPLEMENT→VALIDATE→SHIP).
SkillBFreshness: BClaude Code +9 - 0.469score
design
coder100001
Use when in ARCH_REVIEW to produce a concrete design doc with tradeoffs, constraints, and decision rationale.
SkillCFreshness: CClaude Code +9 - 0.457score
qa
coder100001
Systematically QA test a web application and fix bugs found.
SkillCFreshness: CClaude Code +9 - 0.456score
benchmark
coder100001
Performance regression detection using the browse daemon.
SkillCFreshness: CClaude Code +9 - 0.449score
context-save
coder100001
Save working context.
SkillCFreshness: CClaude Code +9 - 0.449score
cso
coder100001
Chief Security Officer mode.
SkillCFreshness: CClaude Code +9 - 0.449score
plan-eng-review
coder100001
Eng manager-mode plan review.
SkillCFreshness: CClaude Code +9 - 0.449score
retro
coder100001
Weekly engineering retrospective.
SkillCFreshness: CClaude Code +9 - 0.446score
learn
coder100001
Manage project learnings.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 26, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from coder100001
- 0.514score
gs-hybrid-v3
coder100001
AI Engineering Governance System — 5-state workflow (DEFINE→PLAN→IMPLEMENT→VALIDATE→SHIP).
SkillBFreshness: BClaude Code +9 - 0.469score
design
coder100001
Use when in ARCH_REVIEW to produce a concrete design doc with tradeoffs, constraints, and decision rationale.
SkillCFreshness: CClaude Code +9 - 0.457score
qa
coder100001
Systematically QA test a web application and fix bugs found.
SkillCFreshness: CClaude Code +9 - 0.456score
benchmark
coder100001
Performance regression detection using the browse daemon.
SkillCFreshness: CClaude Code +9 - 0.449score
context-save
coder100001
Save working context.
SkillCFreshness: CClaude Code +9 - 0.449score
cso
coder100001
Chief Security Officer mode.
SkillCFreshness: CClaude Code +9
Cite this page
freeze skill. Agent Mart. https://agentmart.dev/skills/coder100001-freeze (last updated 2026-10-24)