/host-aios:how-to-make-the-abstractionfrom host-aios
WHEN a second thing of a kind is about to be made, or a fix is about to be made by hand again — before it starts, abstract the kind into the project's own system (its compiler, its library, its generator), rebuild the first piece through it as the proof, and make the second piece through it; then lift it to a command once it is mechanical and needed across sessions, and trust it once it has an acceptance test and a test that must fail. Each fix lands in the abstraction once, so each piece costs less than the last. And when a pattern lacks the abstraction that would close it, say so first and close it before inferring anything else about it.
Ships in host-aios. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are about to make a second thing of a kind — a second asset, a second page, a second script doing what a first one did, a second table of the same shape — or to make a fix by hand that has been made before. This skill says what to do before you start it. A piece made by hand twice is a failure whose class is the missing abstraction, and the abstraction is its guard.
When a pattern lacks the abstraction that would close it, say that first and plainly — what is missing, and what it would close — before anything else is inferred about the pattern. Close it; then read what is left again, since closing it may settle it. A question asked, or a conclusion drawn, about a pattern whose abstraction is missing is secondary until the abstraction exists.
The project's compiler, library or generator refuses what its abstraction covers when it is typed by hand — a value it
computes, written in literally. That refusal is the project's check that the abstraction is used; build it with the
abstraction, and write into the project's DESIGN.md, in the section that states the kind, what the abstraction covers
and what its check refuses.
22-seq-<kind>.md, placed on
the project's architecture mapWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
63 skills in this plugin
/adding-a-skillWhen you make/add ANY skill (an AC, a CoR, a chain, a domain), do NOT just write the file — place it in the skilltree (coordinate-addressed), and because every directory is automatically an AIOS, give a new domain/role its own AIOS. Version it so the tree self-expands and search forwards to the newest. Use this whenever you create or improve a skill./adversarial-testingRun BEFORE writing or trusting any test. Turns tests from confirmations of the implementation into questions that could come out against it: claims named, competing explanations named, a must-admit and a must-refuse case for every check, failures settled by counterexamples, "better" decided on a population enriched on both sides, verdicts recorded with their reach. Use when writing tests, reading a green run, claiming "done/verified/stronger/better", or judging another check, search or procedure./aios-artifactsWHEN you are about to make a new folder of its own (a project, a tool, a program, any piece of work that will live in a folder of its own), open this skill before that folder's first file and walk its steps, so the folder is made an AIOS in this AIOS's form by you, not later by someone else; also WHEN a folder is found without its design, board or map. It decides whether the project is new or exists, then makes its DESIGN.md, its board and its architecture map through their skills, then wires it into every index above it./aios-artifactsbanditChain-of-reasoning (spoken, ends in a decision) — The four artifacts every AIOS project owes and the order they are made in./archi-diagramAuthor the architecture diagrams a project owes. A mermaid flowchart per altitude, subgraphs marking boundaries, arrows meaning dependency direction, every external dep ending AT ITS SEAM because a dep's internals are its own architecture, plus the three-column general-specific-code bijection, drawing the final architecture with no mark of what is built, which is its board's. THE LAW is rule 23/brave-searchSearch the web using the Brave Search API, when a search must go through Brave rather than Claude Code's own web search. Needs a Brave Search API key in the environment variable BRAVE_API_KEY.npx claudepluginhub sancovp/host-aios --plugin host-aios