Live State First logo

Live State First

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

Overview

Publisherrandommonicle
Repositoryclaude-skills
Skill namelive-state-first
Stars
27
Forks
3
Bundled files
Instructions only
LicenseApache-2.0
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

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

Installation

Install the Live State First 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/randommonicle/claude-skills/tree/main/live-state-first
  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/randommonicle/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/live-state-first .claude/skills/live-state-first
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Live State First 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 Live State First 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 Live State First 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.

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

Frequently asked questions

What does the Live State First AI skill do?

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.

Why use Live State First on TypingMind?

Because you install it once and use it with any model. Live State First 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 Live State First in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/randommonicle/claude-skills/tree/main/live-state-first. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Live State First?

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

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

Is the Live State First AI skill free?

Yes. It is published on GitHub by randommonicle under the Apache-2.0 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 👇