mk:freeze

mk:freeze is a skill for Claude Code from ngocsangyem/MeowKit. It costs 22 tokens per session (999 once invoked), scanned A, original, MIT.

A session-level safety control that limits which directory the agent may edit. Files outside the chosen directory are blocked from changes.

In plain words
What is it for?
Use it when you want to restrict all edits to a specific folder or lock the agent to one part of a codebase.
Why use it?
It prevents accidental edits to unrelated parts of a project while debugging or working on one 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 you want to restrict all edits to a specific folder or lock the agent to one part of a codebase.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ngocsangyem/meowkit/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 ngocsangyem/MeowKit --skill freeze
Clone the repo
git clone --depth 1 https://github.com/ngocsangyem/MeowKit

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 mk:freeze

README.md
[![agentmods](https://agentmods.dev/badge/skills/ngocsangyem/meowkit/freeze/github.svg)](https://agentmods.dev/skills/ngocsangyem/meowkit/freeze)
Your own site
<a href="https://agentmods.dev/skills/ngocsangyem/meowkit/freeze"><img src="https://agentmods.dev/badge/skills/ngocsangyem/meowkit/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 mk:freeze

Your own site · 80×15
<a href="https://agentmods.dev/skills/ngocsangyem/meowkit/freeze"><img src="https://agentmods.dev/badge/skills/ngocsangyem/meowkit/freeze.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 999 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.00022 $0.00999
Opus 5.5 $0.00009 $0.00400
Sonnet 5.5 $0.00004 $0.00200
Haiku 4.5 $0.00002 $0.00100

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

Security

Grade A, and why

mk: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 3 executable files (bin/check-freeze.cjs, bin/check-freeze.test.cjs, scripts/set-freeze.cjs), 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.

.claude/skills/freeze/SKILL.md · 76 lines

How it starts

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

/freeze — Restrict Edits to a Directory

Goal: confine Edit, MultiEdit, NotebookEdit and Write to one directory, for example while debugging. For destructive shell commands use mk:careful.

Runtime support

Claude Code can register this skill's session-scoped hook when the skill is invoked. On Codex, Cursor, Grok, Pi, OMP and Antigravity, installation and invocation do not register it: setting a boundary alone does not block edits. Use host permissions or a sandbox to enforce the boundary; if enforcement is required and cannot be confirmed, stop and tell the user. Otherwise, treat the boundary as an instruction and manually check every write path, including shell writes, before acting. Do not claim automatic protection.

Setup

Ask the user which directory to restrict edits to (a typed path, not multiple choice), then set it:

node ${CLAUDE_SKILL_DIR}/scripts/set-freeze.cjs "<user-provided-path>"

The script resolves the path, requires it to be an existing directory, saves it with a trailing slash to the state file, reads it back and prints Freeze boundary set: <dir>. If it prints an error instead, the boundary did not change; tell the user and ask for a valid path. It refuses a missing path, a file and the filesystem root, because a boundary of / would allow every edit while looking active.

On Claude Code with the hook active, tell the user: "Edit, MultiEdit, NotebookEdit and Write calls outside <dir> are blocked while this skill is active. Run /mk:freeze again with a new path to move the boundary." On other hosts, explain the fallback above and do not claim the state file enforces the boundary.

Unfreezing

The boundary lives in a state file (${CLAUDE_PLUGIN_DATA:-.meowkit/state}/freeze-dir.txt) and persists until it is cleared, including across sessions. On Claude Code, a later session that loads this skill enforces the old boundary again. To remove it:

Read the full file on GitHub · 76 lines

Files

What ships with it

4 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. 4d ago Changed · +4 lines · +3 tokens per session 8fe8808fb0d2
  2. 10d ago Changed · -20 lines 138eaf1f24f0
  3. 12d ago Changed · -1 tokens per session c8fea024bbe0
  4. 15d ago Changed 63320d088374
  5. 17d ago Changed · -5 tokens per session 00592ace9ec2
  6. 24d ago Changed · -3 lines · -65 tokens per session 76ad7bd2f0dc
  7. 3mo ago First seen · 95 lines · 90 tokens per session scan A ad6eb302e115

Subscribe to this mod's changes

mk:freeze is a skill published in the GitHub repository ngocsangyem/MeowKit (18 stars, last pushed 2d ago), licensed MIT. It adds 22 tokens to every session and 999 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-09-03.

Related

mk:freeze compared with skills from other repositories

mk:freeze next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mk:freezengocsangyem/MeowKitSkill182d agoMITA22Claude Code
configure-formattinglaurigates/claude-pluginsSkill60yesterdayMITA49Claude Code
blueprint-work-orderlaurigates/claude-pluginsSkill60yesterdayMITA39Claude Code
document-detectionlaurigates/claude-pluginsSkill60yesterdayMITA37Claude Code
api-testinglaurigates/claude-pluginsSkill60yesterdayMITA45Claude Code
adr-relationshipslaurigates/claude-pluginsSkill60yesterdayMITA29Claude Code
blueprint-ruleslaurigates/claude-pluginsSkill60yesterdayMITA48Claude Code