unfreeze
- 作者仓库星标 0
- 作者更新于 2026年8月24日 23:55
- 作者仓库 gstack
When to invoke this skill
Use when you want to widen edit scope without ending the session. Use when asked to "unfreeze", "unlock edits", "remove freeze", or "allow all edits".
/unfreeze — Clear Freeze Boundary
Remove the edit restriction set by /freeze, allowing edits to all directories.
mkdir -p ~/.gstack/analytics
echo '{"skill":"unfreeze","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
Clear the boundary
eval "$(~/.claude/skills/gstack/bin/gstack-paths)"
STATE_DIR="$GSTACK_STATE_ROOT"
if [ -f "$STATE_DIR/freeze-dir.txt" ]; then
PREV=$(cat "$STATE_DIR/freeze-dir.txt")
rm -f "$STATE_DIR/freeze-dir.txt"
echo "Freeze boundary cleared (was: $PREV). Edits are now allowed everywhere."
else
echo "No freeze boundary was set."
fi
Tell the user the result. Note that /freeze hooks are still registered for the
session — they will just allow everything since no state file exists. To re-freeze,
run /freeze again.
- 流狐分类
- 通用
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 92 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @garrytan · v0.1.0 · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- macOS · Linux · Windows
- 底层运行要求
- Bun
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Use when you want to widen edit scope without ending the session. Use when asked to "unfreeze", "unlock edits", "remove freeze", or "allow all edits".
Tell the user the result. Note that /freeze hooks are still registered for the session — they will just allow everything since no state file exists. To re-freeze, run /freeze again.
<!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly -->
<!-- Regenerate: bun run gen:skill-docs -->
## When to invoke this skill
Use when you want to widen edit scope without ending the session.
Use when asked to "unfreeze", "unlock edits", "remove freeze", or
"allow all edits".
# /unfreeze — Clear Freeze Boundary
Remove the edit restriction set by `/freeze`, allowing edits to all directories.
```bash
mkdir -p ~/.gstack/analytics
echo '{"skill":"unfreeze","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
```
## Clear the boundary
```bash
eval "$(~/.claude/skills/gstack/bin/gstack-paths)"
STATE_DIR="$GSTACK_STATE_ROOT"
if [ -f "$STATE_DIR/freeze-dir.txt" ]; then
PREV=$(cat "$STATE_DIR/freeze-dir.txt")
rm -f "$STATE_DIR/freeze-dir.txt"
echo "Freeze boundary cleared (was: $PREV). Edits are now allowed everywhere."
else
echo "No freeze boundary was set."
fi
```
Tell the user the result. Note that `/freeze` hooks are still registered for the
session — they will just allow everything since no state file exists. To re-freeze,
run `/freeze` again. 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> When to invoke this skill → Clear the boundary
要点 -> Use when you want to widen edit scope without ending the session. · Remove the edit restriction set by /freeze, allowing edits to all directories. · Tell the user the result.
文件/命令 -> /freeze · .gstack/analytics · dev/null · .gstack/analytics/skill-usage.jsonl · .claude/skills/gstack/bin/gstack-paths · STATEDIR/freeze-dir.txt
内容 SHA-256 -> ef8396bc8788
unfreeze 是
/freeze的对偶:把上一次/freeze设置的「只允许编辑某目录」边界清掉,让 edit 在所有目录恢复自由。设计思路
作者把「冻结 / 解冻」当成一对临时锁,用来在执行某个高风险任务时约束 agent 的写范围。
/freeze把允许的目录写到$STATE_DIR/freeze-dir.txt;/unfreeze删掉这个文件即解锁——hook 仍注册在 session 里,但因为没 state 文件,hook 默认放行一切。要再次冻结,再跑一次/freeze。工作流
① 跑
eval "$(~/.claude/skills/gstack/bin/gstack-paths)"拿GSTACK_STATE_ROOT;② 检查$STATE_DIR/freeze-dir.txt是否存在;存在就读出PREV,删除文件,告诉用户 "Freeze boundary cleared (was: $PREV). Edits are now allowed everywhere.";不存在则告知 "No freeze boundary was set.";③ 全程顺手 append 一条 telemetry 到~/.gstack/analytics/skill-usage.jsonl。与 freeze 的关系
/freeze <dir>写 state 文件,把允许写的范围限定在<dir>/unfreeze删 state 文件解锁适合的场景
/freeze任务跑完,把边界主动撤掉/freeze想立即解锁不适合
/freeze:跑了也只是 echo "No freeze boundary was set."/freeze设新目录覆盖即可配套
freeze(建立写边界)、continuous-checkpoint(冻结期间常配套自动 commit)、ship(合并前先 unfreeze 让/ship可改各处)、autoplan(在计划模式下也常配套使用 freeze / unfreeze)。