/ork-extras:freeze <dir> | offfrom ork-extras
Confines file edits to one directory until lifted. Blocks Edit/Write/MultiEdit/NotebookEdit paths outside the frozen dir, following symlinks. Use when changes must stay inside one package, module, or worktree.
Ships in ork-extras. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
State for this session:
!node "${CLAUDE_SKILL_DIR}/scripts/freeze-guard.mjs" arm "${CLAUDE_PROJECT_DIR}" "${CLAUDE_SESSION_ID}" "$ARGUMENTS"
The line above ran when the skill was invoked: it resolved the argument against the
project dir, followed symlinks, and recorded the real path for this session in
.claude/state/freeze/<session-id>.json. The argument is double-quoted, so a name with
spaces or an apostrophe arrives as typed; a $, backtick or double quote in a dir
name would be interpreted by the shell and is not supported. Report that line to the operator as it reads. If it says NOT changed,
the freeze did not move; say so and stop.
Invoking this skill also registers a PreToolUse hook on Edit|Write|MultiEdit|NotebookEdit
(the hooks: block above). Claude Code keeps a skill's hooks registered for the rest
of the session, so the fence holds on every later turn. For each edit the hook
resolves where the write would actually land and denies it (exit 2) when that is
outside the frozen dir:
| Target | Verdict |
|---|---|
<frozen>/a.ts, or a new file in a new subdir of <frozen> | allowed |
<frozen>/../other/b.ts | denied |
<frozen>-evil/x.ts (a prefix sibling) | denied |
<frozen>/link/b.ts where link points outside | denied, symlinks are followed |
<frozen>/dangling.ts, a link to a missing file outside | denied, the link is chased |
| an edit call with no path | denied |
/ork-extras:freeze src/hooks # fence edits to src/hooks
/ork-extras:freeze # show the current fence
/ork-extras:freeze off # lift it
Invoking again with another dir moves the fence; a dir that does not exist is refused and the previous fence stays.
The deny reason names the target and the frozen dir. Stop and ask the operator to
widen or lift the freeze. Do not route the change through Bash (sed -i, cat >,
cp) instead: the fence covers the edit tools only, and using Bash to get around it
defeats the reason it was turned on.
.claude/state/freeze/.The fence is scripts/freeze-guard.mjs (Node, no dependencies); its cases live in
tests/unit/test-freeze-guard.mjs.
ork-extras:careful: block destructive shell commands; freeze covers the edit tools, careful covers Bash.ork:implement: parallel feature work in worktrees, the real isolation freeze points to.ork:fix-issue: a bug fix that should stay inside one package or module.What SKILL.md sets; muted values are Claude Code's defaults
Edit|Write|MultiEdit|NotebookEditnode "${CLAUDE_PLUGIN_ROOT}/skills/freeze/scripts/freeze-guard.mjs"Three short reads, in order
npx claudepluginhub yonatangross/orchestkit --plugin ork-extras33 skills in this plugin
/accessibilityWCAG 2.2 accessibility patterns: keyboard focus management, React Aria, cognitive inclusion, native HTML-first. Use when implementing screen reader support, keyboard navigation, ARIA patterns, focus traps, accessible components, or reduced motion./agent-orchestrationAgent orchestration patterns for agentic loops, multi-agent coordination, and alternative frameworks. Use when building autonomous agent loops, coordinating multiple agents, evaluating CrewAI/AutoGen/Swarm, or orchestrating multi-step scenarios./ai-ui-generationAI UI generation with json-render, v0.app, Stitch, Bolt, and Cursor: prompt engineering, review checklists, design system conformance, CI gates. Use when generating UI components with AI tools, reviewing AI-generated code, or rendering MCP visual output.Other plugins' skills for the same job