Logo de Freeze

Freeze

Comunidade
AlexZio00
freeze

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

Visão geral

Publicado porAlexZio00
Repositóriosovereign-skills
Nome da habilidadefreeze
Estrelas
149
Forks
23
Arquivos incluídos
3
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 3

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por AlexZio00 no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Freeze no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/AlexZio00/sovereign-skills/tree/master/freeze
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Freeze em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Freeze automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Freeze não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Freeze faz?

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

Por que usar Freeze no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Freeze é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Freeze no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/AlexZio00/sovereign-skills/tree/master/freeze. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Freeze?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Freeze?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Freeze com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Freeze é gratuita?

Sim. A habilidade é publicada no GitHub por AlexZio00 sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇