freeze

freeze is a skill for Claude Code from timurgaleev/vibestack. It costs 23 tokens per session (753 once invoked), scanned A, original, MIT.

A session restriction that limits file edits to one chosen directory. Files outside that directory are blocked from being edited or written during the session.

In plain words
What is it for?
Use it when edits must stay within one folder, such as during focused debugging or work on a single component.
Why use it?
It reduces the risk of changing unrelated parts of a project while debugging or working on a specific module.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; mentions Claude Code.

Good fit Use it when edits must stay within one folder, such as during focused debugging or work on a single component.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/timurgaleev/vibestack/freeze
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add timurgaleev/vibestack --skill freeze
Clone the repo
git clone --depth 1 https://github.com/timurgaleev/vibestack

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for freeze

README.md
[![agentmods](https://agentmods.dev/badge/skills/timurgaleev/vibestack/freeze.svg)](https://agentmods.dev/skills/timurgaleev/vibestack/freeze)
Your own site
<a href="https://agentmods.dev/skills/timurgaleev/vibestack/freeze"><img src="https://agentmods.dev/badge/skills/timurgaleev/vibestack/freeze.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 753 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00023 $0.00753
Opus 5 $0.00012 $0.00377
Sonnet 5 $0.00005 $0.00151
Haiku 4.5 $0.00002 $0.00075

Measured 4d ago against content hash 993988a75ba5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

freeze scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (bin/check-freeze.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/freeze/SKILL.md · 82 lines

How it starts

The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.

When to invoke

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).

Setup

Ask the user which directory to restrict edits to:

"Which directory should I restrict edits to? Files outside this path will be blocked from editing."

Once the user provides a path:

FREEZE_DIR=$(cd "<user-provided-path>" 2>/dev/null && pwd)
FREEZE_DIR="${FREEZE_DIR%/}/"
STATE_DIR="${VIBESTACK_HOME:-$HOME/.vibestack}"
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."

How it works

The hook parses file_path out of each Edit/Write payload, resolves the path fully — including a final component that is itself a symlink — and checks whether it starts with the frozen directory. If not, it returns a hookSpecificOutput envelope carrying permissionDecision: "deny". The nesting matters: Claude Code ignores a top-level permissionDecision, so a deny emitted at the top level lets the edit through.

Freeze is the deny tier, so it fails closed: a payload it cannot parse is blocked, not allowed. Its ask-tier sibling /careful makes the opposite call on the same input. Both share one extractor (careful/bin/hook-extract.sh).

The freeze boundary persists for the session via ~/.vibestack/freeze-dir.txt.

Notes

  • The trailing / prevents /src from matching /src-old
  • Applies to Edit and Write tools only — Read, Bash, Glob, Grep are unaffected
  • Bash commands like sed -i can still modify files outside the boundary
  • A symlink inside the boundary pointing outside it is resolved and blocked
  • A path with spaces in it works — only leading and trailing whitespace is trimmed from the saved boundary, and a leading ~ is expanded
  • To deactivate: run /unfreeze or end the conversation

Read the full file on GitHub · 82 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago Changed · +11 lines 993988a75ba5
  2. 7d ago First seen · 71 lines · 23 tokens per session scan A 5cfe34cb0a19

Subscribe to this mod's changes

freeze is a skill published in the GitHub repository timurgaleev/vibestack (6 stars, last pushed 5d ago), licensed MIT. It adds 23 tokens to every session and 753 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

grok-build-supervisor

Initialize the persistent local proxy, then immediately ensure a visible Grok Build TUI for the current workspace when /grokexecute on activates, and continuously supervise that coding-agent session through a user-level Supervisor daemon as the user sends work, waits for completion, reconnects from another host task…

Vanyangyang/cursor-bridge · 103 tokens

cursor-delegate

Delegate bounded light-to-medium implementation, investigation, documentation, configuration, testing, and tooling work to Cursor Bridge after the primary agent owns direction and risk boundaries. Also use when the user explicitly asks to create, keep, continue, inspect, or close the same Cursor execution session…

Vanyangyang/cursor-bridge · 151 tokens

grok-executor-mode

Explicit Grok executor on/off control and task-local execution policy. Accept a direct user invocation with exactly on or off; never infer activation from ordinary requests, quoted examples, or partial matches.

Vanyangyang/cursor-bridge · 44 tokens

cce-routing

Use Cursor Bridge's read-only cursorcontextengine for unfamiliar project understanding when the exact code location is unknown or the task requires tracing behavior, symbols, callers and callees, data flow, registrations, interface implementations, ownership boundaries, or cross-module relationships. Trigger for…

Vanyangyang/cursor-bridge · 168 tokens

agent-evaluation

Build evaluation harnesses for agents and chatbots — golden sets, deterministic tool-selection checks, LLM-as-a-Judge, Bedrock RAG evaluation jobs, CI gates, and online drift monitoring. Use when an agent needs a quality gate before merge or a quality alarm in production.

ihatesea69/kiro-kit · 61 tokens

agentcore-gateway-mcp

Turn Lambda functions, OpenAPI and Smithy APIs, and existing MCP servers into a unified MCP tool surface with Amazon Bedrock AgentCore Gateway. Use when giving an agent tools, configuring inbound or outbound Gateway auth, or enabling semantic tool discovery at scale.

ihatesea69/kiro-kit · 58 tokens