Logo de Live State First

Live State First

Comunidade
randommonicle
live-state-first

Playbook for the always-on norm "probe live state before building from any described state". Load when about to write code, SQL, config, or a fixture from a handover, memory note, README, audit tracker, or code comment, or when two documents disagree. Does not fire on repo/PR/branch state (parallel-work-recon owns repo probes) or on state you observed yourself this session.

Visão geral

Publicado porrandommonicle
Repositórioclaude-skills
Nome da habilidadelive-state-first
Estrelas
27
Forks
3
Arquivos incluídos
Somente instruções
LicençaApache-2.0
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.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

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

Instalação

Instale a habilidade de IA Live State First 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/randommonicle/claude-skills/tree/main/live-state-first
  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/randommonicle/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/live-state-first .claude/skills/live-state-first
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Live State First 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 Live State First 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, Live State First 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á.

Live state first

The single most-repeated lesson on this machine: twelve-plus recurrences of building against a world that no longer exists — invented columns from a stale handover, a "still open" item carried across four handovers a month after it was done, an audit finding two migrations stale, a reviewer's citation superseded by a later migration. Layer: norm + playbook — the one-line norm in the global CLAUDE.md is the everyday trigger; this file is the depth.

The rule

Every document claim — including the repo's own comments, skills, and FORWARD notes — is a claim, not a fact. Before it becomes an input to code, SQL, config, or a fixture, verify it with one cheap probe of the live source. The latest migration, policy, or config is the truth; when two documents disagree, the catalog settles it.

How to apply

  • One cheap probe before building: a catalog query for schema claims (information_schema, pg_policy, pg_get_functiondef), the deployed surface for behaviour claims, the actual config for settings claims.
  • The file is not the live object, in either direction. The live database routinely runs ahead of main (raw-applied unmerged migrations) and behind the repo (comments and fixes never applied). A migration file's text is evidence of intent, not of state.
  • Query the live distribution, not just the schema, before building on a data assumption — 254 residue rows once would have shipped a correct feature looking broken.
  • Structured data needs a parser, not a grep with context lines. Grep-with-context misled on JSON twice; scope schema greps to the block they describe.
  • Staleness ranks: "still open" items in handovers, path hints in a repo's own docs, and audit trackers are the most likely claims to be stale — they record status at a moment, not state.

What this skill does not do

It does not probe repo state — fetch, PR lists, and identifier ceilings are parallel-work-recon's territory. It does not define migration verification (that is db-migration-verification's post-apply half; this skill is the pre-compose half).

Why

Documents decay the moment parallel work exists, and composing from a stale description produces confident, wrong artifacts that pass review because the reviewer reads the same stale document. Evidence: PropOS LESSONS_LEARNED Sessions 9, 11, 12, 22, 41, 52, 54, 2026-07-06, 2026-07-08, 2026-07-09, 2026-07-19, 2026-07-20; ASH LESSONS_LEARNED 2026-05-25, 2026-07-10.

Additions from the misses-log sweep (2026-10-22)

  • A time, date or count written into a record is read from a command, never composed. The reading is substituted into the write by the shell, in the same command, so the write path carries it and no hand ever retypes it. On Windows use Get-Date in PowerShell, not Git Bash date, which has no time-zone database on this machine and printed GMT during BST. Where substitution is impossible, run the command in its own call and copy what it printed verbatim into the next, with no rounding and no arithmetic. A value no command can give is written as unknown. (ICC L-093, seven instances; library 34, two slips on one day, the second of them hours after a note saying to use Get-Date had been written into memory and into NOW.md's traps.)

    An earlier form of this bullet said to run the clock in its own call and forbade taking the reading in the same command as the write, the reverse of the rule above, on the ground that a same-command reading "was typed before it existed". That is true of a typed value and false of a substituted one, and docs/SKILL_PROPOSALS_2026-11-01.md flagged the contradiction with library 34 as needing Ben's decision. Resolved 2026-11-05 in favour of library 34, which is the empirically tested half: a separate call still leaves a human or a model carrying the value across the gap, and that is where both of the 2026-10-04 slips happened. Reversible by restoring the old wording.

  • "Nothing owed" on a threaded surface is read from every branch that touches us, never from the tail. A comment thread, forum or review is a tree: a reply to us can sit nested under our own comment while someone else holds the newest slot, and a tail read then says "settled" with a reply four days unanswered. To decide whether anything is owed, list the comments whose parent (at any depth) is one of ours and that are newer than our last write there; to decide whether a send is done, find our own landed id. Neither question is answered by who spoke last. (Commonhold L-054, 2026-09-12, and its recurrence L-163, 2026-11-11: a reply under our envoy's comment missed by four daily watch runs and one agent run, all of which read the tail.)

Perguntas frequentes

O que a habilidade de IA Live State First faz?

Playbook for the always-on norm "probe live state before building from any described state". Load when about to write code, SQL, config, or a fixture from a handover, memory note, README, audit tracker, or code comment, or when two documents disagree. Does not fire on repo/PR/branch state (parallel-work-recon owns repo probes) or on state you observed yourself this session.

Por que usar Live State First no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Live State First é 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 Live State First no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/randommonicle/claude-skills/tree/main/live-state-first. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Live State First?

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 Live State First?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Live State First 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 Live State First é gratuita?

Sim. A habilidade é publicada no GitHub por randommonicle sob a licença Apache-2.0. 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 👇