freeze

freeze is a skill for Claude Code from Kit4Some/Oh-my-ClaudeClaw. It costs 0 tokens per session (1,203 once invoked), scanned A, original, MIT.

A session rule that limits file changes to one chosen directory. Attempts to edit or create files elsewhere are blocked.

In plain words
What is it for?
Use it when you want an AI coding session confined to a specific folder, such as one feature or subproject.
Why use it?
It prevents accidental changes outside the part of the project you intend to work on.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_SKILL_DIR} variable. Also seen: names the AskUserQuestion tool; built for openclaw.

Part of the openclaw-cc plugin — 22 skills, 4 agents, 5 MCP servers shipped together

Good fit Use it when you want an AI coding session confined to a specific folder, such as one feature or subproject.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kit4some/oh-my-claudeclaw/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 Kit4Some/Oh-my-ClaudeClaw --skill freeze
Clone the repo
git clone --depth 1 https://github.com/Kit4Some/Oh-my-ClaudeClaw

Made for: Claude Code.

Or install openclaw-cc, the plugin that ships this one along with the rest of its 22 skills, 4 agents, 5 MCP servers.

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/kit4some/oh-my-claudeclaw/freeze/github.svg)](https://agentmods.dev/skills/kit4some/oh-my-claudeclaw/freeze)
Your own site
<a href="https://agentmods.dev/skills/kit4some/oh-my-claudeclaw/freeze"><img src="https://agentmods.dev/badge/skills/kit4some/oh-my-claudeclaw/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/kit4some/oh-my-claudeclaw/freeze"><img src="https://agentmods.dev/badge/skills/kit4some/oh-my-claudeclaw/freeze.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,203 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.00000 $0.01203
Opus 5 $0.00000 $0.00602
Sonnet 5 $0.00000 $0.00241
Haiku 4.5 $0.00000 $0.00120

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

How it starts

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


name: freeze description: > Restrict file edits to a specific directory for the session. Blocks Edit and Write outside the allowed path. Triggers on "freeze", "편집 제한", "이 폴더만", "restrict edits", "only edit this folder", "lock down edits", "범위 제한". allowed-tools:

  • Bash
  • Read
  • AskUserQuestion hooks: PreToolUse:
    • matcher: "Edit" hooks:
      • type: command command: "bash ${CLAUDE_SKILL_DIR}/bin/check-freeze.sh" statusMessage: "Checking freeze boundary..."
    • matcher: "Write" hooks:
      • type: command command: "bash ${CLAUDE_SKILL_DIR}/bin/check-freeze.sh" statusMessage: "Checking freeze boundary..."

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

Preamble

Before executing this skill:

  1. Load context from memory:

    memory_search(query: "{skill-relevant-query}", associative: true, limit: 5)
    memory_search(tag: "{skill-name}", limit: 3)
    

    Review returned memories for relevant past context, decisions, and patterns.

  2. Check OMC state for active work:

    state_get_status()
    

    If conflicting active tasks exist, warn the user before proceeding.

  3. Detect current branch (for git-related skills):

    git rev-parse --abbrev-ref HEAD 2>/dev/null || echo "not-a-git-repo"
    
  4. Check proactive mode:

    state_read("occ-proactive")
    

    If "false": do NOT proactively suggest other OpenClaw-CC skills during this session. Only run skills the user explicitly invokes.

  5. Log skill activation:

    memory_daily_log(type: "note", entry: "Skill activated: /{skill-name}")
    

Setup

Ask the user which directory to restrict edits to. Use AskUserQuestion:

Read the full file on GitHub · 146 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. 10d ago First seen · 146 lines · 0 tokens per session scan A bce77c600e2f

Subscribe to this mod's changes

freeze is a skill published in the GitHub repository Kit4Some/Oh-my-ClaudeClaw (4 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,203 tokens. 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

ready

From any input — a natural-language goal, existing docs (spec / plan / brain-dump), notes, or a mix — interactively elicit and validate intent and produce an execution-ready 3-doc (handoff, spec, plan) for go, replacing third-party brainstorming + planning in one skill. Input format is open; the input is material, not…

fn-opt/dryforge · 92 tokens

messaging

Set up a messaging channel (WhatsApp, Telegram, Discord, iMessage, Slack) to reach this agent from outside Claude Code. Triggers on /agent:messaging, "configurar whatsapp", "setup messaging", "conectar telegram", "agregar canal".

crisandrews/ClawCode · 58 tokens

voice

Voice — text-to-speech and transcription. Triggers on /agent:voice, /agent:voice status, /agent:voice setup, /agent:voice test, "configurar voz", "prueba voz", "voice setup", "speak this", "read this aloud", "transcribe audio".

crisandrews/ClawCode · 66 tokens

new

Start a new session — save summary to memory, then mark as reset so next message gets a fresh greeting. OpenClaw-compatible. Triggers on /new, /reset, /agent:new, "nueva sesión", "new session", "reset".

crisandrews/ClawCode · 54 tokens

compact

Flush important session context to daily log (manual memory flush). Does NOT invoke native /compact. Triggers on /compact, /agent:compact, /flush, "guarda memoria", "flush".

crisandrews/ClawCode · 43 tokens

status

Show agent runtime status — identity, model, context, memory, crons, voice. Works from CLI or messaging. Triggers on /status, /agent:status, "status del agente", "cómo estás técnicamente".

crisandrews/ClawCode · 48 tokens