Freeze logo

Freeze

Community
AlexZio00
freeze

Scope lock for current task. Declares editable zone — everything outside is frozen (read-only). Call before starting implementation to prevent scope creep.

Overview

PublisherAlexZio00
Repositorysovereign-skills
Skill namefreeze
Stars
149
Forks
23
Bundled files
3
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by AlexZio00 on GitHub. Read the source before you install it.

Installation

Install the Freeze AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/AlexZio00/sovereign-skills/tree/master/freeze
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AlexZio00/sovereign-skills.git /tmp/sovereign-skills
mkdir -p .claude/skills
cp -r /tmp/sovereign-skills/freeze .claude/skills/freeze
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Freeze in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Freeze on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Freeze is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

/freeze — Scope Lock

Declare editable zone — everything outside is frozen.

Dominant Variable

In this task, is the editable scope explicitly declared? — If unclear, scope creep naturally develops during implementation. freeze = boundary lock for one task; it does not stop risky commands or limit what you may read.

Trigger

  • /freeze
  • "freeze this"
  • "scope lock"
  • "lock the scope" / "only touch X" / "don't touch anything else" (and equivalents in the user's language; see the frontmatter trigger list)

Discard If

  • Exploration / research only (no modifications expected)
  • Already a clear single-file edit (1 file, ≤10 lines)
  • Brainstorming phase (scope not yet finalized before design approval)

Key Assumptions

  1. User specifies ≥1 modification target — If broken: ask once for clarity; if still unclear, freeze broadly.
  2. Implementation work follows in the same session — If only declaring scope and ending, this skill is unnecessary.

Architecture

User input (file / module / concept scope)
    ↓
[PARSE]   → classify as editable / frozen / read-only
    ↓
[DECLARE] → generate FROZEN SCOPE block
    ↓
[OUTPUT]  → emit immediately, then exit

Stage 1: PARSE

Extract from user input. If the user passes the path of a saved BRIEF.md / spec.md from the scope skill, Read it and take editable from Scope IN (or the Tasks) and frozen from Scope OUT / Non-goals. If the file does not exist, say so and ask once for the targets.

  • editable: explicitly named files / modules / paths — modifications allowed (for a bug fix, include the regression test file too; if the user names only a function, use Grep/Glob to find the file that defines it and list that file)
  • frozen: everything else (default frozen if not mentioned)
  • read-only: mentioned but modification status unclear → conservatively treat as read-only

If scope is too vague ("everything", "roughly") → ask for clarity once only. Still unclear → freeze more broadly (Invariant 2).


Stage 2: DECLARE

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔒 FROZEN SCOPE — [One-line task description]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

✅ EDITABLE (modifications allowed)
  [list of files / modules]

❌ FROZEN (no modifications)
  [everything else — or "all except above"]

⚠️  READ-ONLY (reference only)
  [mentioned but no modifications allowed]

Rules:
- FROZEN files: Edit/Write forbidden. Read only.
- If modification necessity discovered → stop immediately, report to user
- Thaw: user must explicitly say "unfreeze [file]" or "expand scope"
- This declaration lives only in the conversation. After /compact or a new session, declare it again.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

The heading line 🔒 FROZEN SCOPE — ... is a fixed marker. Other skills (goal-lock, clean-room) look for it to find the active zone, so do not reword it.


Stage 3: OUTPUT

Emit FROZEN SCOPE block, then exit immediately. No code generation, no agent spawning, no implementation start.

All implementation work in this session follows this declared scope.


Output

The only artifact this skill produces is the FROZEN SCOPE block itself, emitted straight into the conversation — nothing is written to disk. The block is the state (see Design Note below): there is no external file to persist or reload, so "declared" means "visible in this reply," not "saved somewhere." The declaration exists only in this conversation's context: after /compact, or in a new session, the block may be gone, so declare it again (re-run /freeze or paste the block).


Hard Rules

  1. Emit immediately, exit immediately — no "I'll now start implementing" after declaration.
  2. No agent spawning — main context only.
  3. No code generation — scope declaration only.
  4. Ask for clarity at most once — if still unclear, freeze more broadly.
  5. Read-only skill — it uses only Read, Grep and Glob (the tools: line is descriptive metadata; this rule is the discipline). It never edits or writes files.

Scope Boundary

DoesDoes NOT
[READ] Parse user input → classify editable/frozen/read-onlyWrite code or modify files
Emit FROZEN SCOPE blockSpawn agents or start implementation
Ask for clarity once if scope is ambiguousMake direct judgment calls on out-of-scope modifications

Safety Layers

Risky ActionReversibilityApplied Layers
(none — read-only, block output only)—L1 (Invariant 1: no modifications to frozen files, ever)
  • L1 (Invariants): Frozen = intended instruction-level block on Edit/Write (a declarative constraint, not sandbox/hook-enforced). Exit immediately after declaration.

Error Recovery

On failure detection: Stop → Classify → Apply Recovery → Report & Resume.

Failure TypeDetection ConditionRecovery Path
input_errorUnclear which files / scope to freezeAsk once for target — never guess scope
logic_inconsistencyFreeze request conflicts with simultaneous modification request (e.g. a file is named as editable and as frozen)Ask once which is meant. If the user confirms that both are editable, put both in EDITABLE and declare it; if still unclear, freeze the contested file (Invariant 2). Never edit a contested file before the answer.
missing_dataSpecified file does not existState "file not found." Do not guess paths and freeze different files.

Invariants (never violate)

  1. Frozen = absolutely no modifications: Files declared frozen cannot be edited/written in this session. "Just a tiny tweak" is rationalization. Violation → scope creep and unexpected side effects.

  2. When unclear, freeze broader: If boundaries are ambiguous, choose the broader frozen range. Narrow scope fails to prevent creep. Violation → freeze declaration becomes meaningless.

  3. Exit immediately after declaration: No further action after emitting FROZEN SCOPE block. User initiates follow-up implementation requests normally. Violation → declaration and implementation blur, scope awareness fades.


Thaw Protocol

When a frozen file needs modification mid-work:

Trigger: "unfreeze [file]", "thaw", "expand scope" — said by the user, or proposed by the model/another skill (for example goal-lock when its SCOPE needs to grow). Only the user decides: a proposal changes nothing until the user agrees in their own words.

Steps:

  1. State reason — the model states why the frozen file must be touched, and the user decides. If the model cannot give a concrete reason, refuse the thaw
  2. Blast radius check — what else is affected if this file changes
  3. Re-emit FROZEN SCOPE block — add thawed file to editable, keep rest frozen
  4. Invalidate previous block — "Previous freeze replaced" 1 line

Limits:

  • 3+ thaws → ⚠️ Freeze is being repeatedly lifted — consider re-running /scope to redefine boundaries
  • Full thaw ("unfreeze everything") → freeze skill terminates (Discard)

Rationalization Table

RationalizationRebuttal
"It's frozen but I just need to change one line"Violates Invariant 1. Stop and report to user.
"Scope is unclear, let me narrow it for now"Violates Invariant 2. When unclear, freeze broader.
"Declaring and implementing immediately is faster"Violates Invariant 3. Exit after declaration.
"It's one file, why declare a freeze?"Discard If: ≤10 lines in 1 file excluded. Otherwise declare.
"No actual modifications needed, so it's fine"Scope creep often begins when we think nothing needs to change.

Example

User: "/freeze src/components/UserProfile.tsx"

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔒 FROZEN SCOPE — UserProfile component refactor
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

✅ EDITABLE
  - src/components/UserProfile.tsx

❌ FROZEN (no modifications)
  - everything outside the above

⚠️  READ-ONLY (reference only)
  - src/hooks/useAuth.ts (auth logic reference)

Rules:
- No Edit/Write outside UserProfile.tsx
- If modification needed elsewhere → stop and report
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Design Note

This skill adapts the freeze pattern from garrytan/gstack. The original uses session-global file lists; this version uses task-level declaration instead, because the declaration block itself serves as in-context state. That state is lost on /compact or in a new session and must be declared again.

See scenarios/case-1.md, scenarios/case-2.md for regression test scenarios.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Freeze AI skill do?

Scope lock for current task. Declares editable zone — everything outside is frozen (read-only). Call before starting implementation to prevent scope creep.

Why use Freeze on TypingMind?

Because you install it once and use it with any model. Freeze is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Freeze in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/AlexZio00/sovereign-skills/tree/master/freeze. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Freeze?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Freeze?

As many as you like. As long as a model supports skills, you can use Freeze with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Freeze AI skill free?

Yes. It is published on GitHub by AlexZio00 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇