freeze

freeze is a skill for Claude Code from timurgaleev/vibestack. It costs 21 tokens per session (1,372 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; mentions Codex.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for freeze

Your own site · 80×15
<a href="https://agentmods.dev/skills/timurgaleev/vibestack/freeze"><img src="https://agentmods.dev/badge/skills/timurgaleev/vibestack/freeze.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,372 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.00021 $0.01372
Opus 5.5 $0.00008 $0.00549
Sonnet 5.5 $0.00004 $0.00274
Haiku 4.5 $0.00002 $0.00137

Measured 22d ago against content hash ac9e39905cb6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 22d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (bin/check-freeze.sh, bin/freeze-state.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 · 122 lines

How it starts

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

If this session was compacted, the copy of this skill in context may be cut off. Read ${CLAUDE_SKILL_DIR}/SKILL.md from disk and resume at the step you are on.

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, Write or NotebookEdit operation targeting a file outside the allowed path will be blocked (not just warned).

Where this is enforced. The block is a Claude Code PreToolUse hook. Cursor, Kiro and Codex install the same skill, but the hook is not guaranteed to run there; outside Claude Code /freeze is instruction-only. On those hosts, tell the user the boundary is advisory: you will keep your own edits inside it, but nothing blocks an edit that lands outside.

Copilot CLI is the exception. When the configuration payload is installed (./install --with-config or --only=config), the user hook file ~/.copilot/hooks/vibestack.json (under $COPILOT_HOME when set) runs the same check on every edit, and it blocks only while a freeze directory is set: after /unfreeze, or before /freeze is ever run, every edit goes through. Without the configuration payload it is instruction-only there as well.

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, set it with the shared state writer. It resolves the physical absolute path, refuses a path that does not exist or resolves to /, and writes the state file atomically:

bash "${CLAUDE_SKILL_DIR:-$HOME/.claude/skills/freeze}/bin/freeze-state.sh" set "<user-provided-path>"

Report success only if the command exits 0 and prints FREEZE_DIR=. On FREEZE_ERROR (a mistyped or missing path, or /), tell the user no boundary was set and ask for the path again. On FREEZE_BUSY, another writer holds the lock — retry once it finishes, and never write or delete the state file directly.

Read the full file on GitHub · 122 lines

Files

What ships with it

2 files 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. 22d ago Changed · +3 lines ac9e39905cb6
  2. 23d ago Changed · +10 lines 9a1eb4cf38bf
  3. 1mo ago Changed · +7 lines 414ab6569444
  4. 1mo ago Changed · -6 tokens per session 500ffb6a5a69
  5. 1mo ago Changed · +20 lines · +4 tokens per session 1eb3b31bdd64
  6. 2mo ago Changed · +11 lines 993988a75ba5
  7. 3mo 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 (8 stars, last pushed 20d ago), licensed MIT. It adds 21 tokens to every session and 1,372 once invoked, about $0.0001 per session on Opus 5.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

freeze compared with skills from other repositories

freeze next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
freezetimurgaleev/vibestackSkill820d agoMITA21Claude Code
artifact-deploykirodotdev/KiroCrewSkill5.2ktodayApache-2.0A74Claude Code, Codex
security-conductorkirodotdev/KiroCrewSkill5.2ktodayApache-2.0A57Claude Code, Codex
explain-forkirodotdev/KiroCrewSkill5.2ktodayApache-2.0A71Claude Code, Codex
learn-from-sagekirodotdev/KiroCrewSkill5.2ktodayApache-2.0A56Claude Code, Codex
web-verifykirodotdev/KiroCrewSkill5.2ktodayApache-2.0A0Claude Code, Codex
mochi-remindkirodotdev/KiroCrewSkill5.2ktodayApache-2.0A20Claude Code, Codex