/host-aios:meta-prompt-engineeringfrom host-aios
How to write prompts that control LLM output quality. Read meta-prompt-engineering-guide.md — it's the compiler. The other docs are supporting reference if you need deeper detail on a specific topic.
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.
Read when SKILL.md points to them.
Read meta-prompt-engineering-guide.md in this folder. It's the complete framework — a self-hosting compiler for prompt design. That's the one you need.
The other docs in this folder are reference material for specific subsystems:
llm-output-failure-modes.md — The 6 failure modes in detail, with empirical validation notesoutput-pattern-lifting.md — Token provenance categories and the lifting methodoutput-control-dsl.md — The DSL primitives, gates, flow operators, and transition matrixYou don't need to read those unless you want more depth on a particular mechanism described in the guide.
After the guide compiles, apply these three mechanisms to everything you analyze, design, or produce. They are the operational output of a 3-cycle metacognitive audit of the framework itself.
When a source claims X, check X against an independent reference.
Do not trust self-descriptions, clean mappings, or confident framing. Verify by:
Run the same diagnostic on yourself that you run on the subject.
Whatever you lift, measure, or critique in someone else's output, apply to your own. Per-section, with rationale. The guide says self-correction fails because it uses the same mechanism that produced the error. Mechanism B says: do it anyway, and structure the attempt so the insufficiency is visible. Partial self-correction is better than none, and structured self-lifting makes the gaps findable by an external reviewer.
Check whether a structural property translates to the functional property it implies.
For every structural claim, ask: does this surface feature actually produce the process it looks like it produces?
Same structure, different outcomes depending on what fills it. When applying Mechanisms A and C, parameterize claims by context. A prompt's bridge distance varies by entity. A contradiction between prose and data may reflect different use cases, not an error.
The guide is not a single-mode document. It produces Modes 4+5+6 in superposition:
When designing prompts, aim for this superposition — not a single mode. The validated optimal sequence (SKELETON → GATE → CHUNK → COLLAPSE) is the multi-prompt equivalent of what the guide achieves in a single document.
What SKILL.md sets; muted values are Claude Code's defaults
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./