/host-aios:understand-user-rulesfrom host-aios
WHAT: the procedures and relations that sit behind the user-level rules — the neo4j backup and restore procedure, how the maximized-version operator pairs with the feature-close CoR, and how per-dir state relates to DESIGN.md. WHEN: backing up or restoring the precious store, running the maximized-version operator, or deciding whether a fact belongs in DESIGN.md or a `_states.md`.
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.
A rule says WHAT must hold. This skill carries the HOW a rule points at when the how is too long to sit in the rule. Each section is named for the rule it serves.
The precious store is the container an installation binds in user_info.md (THE PRECIOUS STORE).
Back up — online, no stop, no touch. Run a throwaway helper that shares the store's network namespace and writes to the HOST disk, never into the Docker VM:
mkdir -p <world dir>/backups/neo4j
docker run --rm --network container:<precious container> \
-v <world dir>/backups/neo4j:/backup neo4j:5-enterprise \
neo4j-admin database backup --from=localhost:6362 --to-path=/backup --type=full <every database>
SHOW DATABASES first, and back up EVERY database it lists — the store holds more than neo4j and system.SHA256SUMS, and a README.md with the node and relationship counts,
the checksums and the restore command.Restore — into a FRESH container, never onto the precious one.
neo4j-admin database restore --from-path=/backup/<artifact> --overwrite-destination=true <database>
/data on a HOST bind mount, never inside the Docker VM: the VM's free space is smaller than
the inflated store, and filling it endangers the precious container itself.README.md.Not built: a recurring backup as a cave CronAutomation, with restore-verify into a scratch container.
Run the maximized-version operator at DESIGN time; it catches a target anchored to the current setup's shape. Close with the feature-close CoR, which catches forgotten alignment at CLOSURE time. Repeating the same iteration a third time is the lagging signal that the operator was skipped; run the operator before that.
_states.md togetherDESIGN.md states the STRUCTURAL truth of the whole project, central and stable. Each dir's _states.md states
the OPERATIONAL truth — which deliverables sit at which phase, here. They never compete. Both ride progressive
disclosure: entering a dir loads its .claude/rules/, so its state and architecture are seen on arrival.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub sancovp/host-aios --plugin host-aios63 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.