/explainer:explainfrom Explainer
Compiles explanations of concepts, systems, or algorithms into prose, diagrams, interactive HTML, or animated video, checking each rendering against a semantic model.
Ships in Explainer. 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 references/principles.md first. It holds the rules that apply to every explanation: model first, the four stages, STE-80 writing, epistemic labels, predict-first, and the understanding test. This skill is the procedure.
CLI. With the plugin installed, run explainer <command>. Inside the Explainer repo, run uv run explainer <command>. The first plugin run downloads the toolkit with uv. Video needs explainer setup once (Kokoro voice, about 350 MB).
Match the process to the stakes (principles §12). Choose the lowest tier that fits, and say which one in a word when you start.
| Tier | When | Steps |
|---|---|---|
| Answer | A question in chat. The default. | Build the model in your head (Step 1, no files), choose the stage, answer in STE-80. A Mermaid block or a table inline is fine. |
| Quick artifact | A diagram, page, or video for this person, now. | explainer new <slug> --stage <n> --quick; Step 1 items 1–4 and 9; Step 2; Step 3; explainer check <slug>. |
| Published | An example in a repo, course material, anything many people will read. | Every step below: probe, narrative, cold read, blind test. |
Every tier: a named reader (default: a technical reader new to this subject), the answer first, a why for each operation the reader does not already trust, and nothing this reader already knows.
explainer new <slug> --stage <stages>. This creates explainers/<slug>/model.md, model.yaml, narrative.md (not with --quick), and the chosen renderings from templates.model.md: entities, relationships, causal chain, quantities, alternative states, epistemic status, confusion points, representation decision.model.yaml: every number a rendering will show goes in values. Add require for values each rendering must show. Published tier: 2–3 quiz items (question, expected answer, likely misconception) for the blind test.model.md (references/completeness.md): Why this form, Concrete cases, Terms, Scope. One case per idea is enough.explainer probe <slug> --run (a fresh claude -p agent reads only model.md; or give the printed prompt, unchanged, to a fresh subagent). Recompute every number it suggests. Turn each finding into a claim, a Scope entry, or nothing: a question this audience would not ask is nothing. Record what you did: explainer decide <slug> <run> --adopt … --decline-rest.claims in model.yaml (why, guarantee, mechanism, definition, …) with their required fields. Add ask to the claims a learner most needs; they become blind-test questions.terms entry with the phrases renderings must not use. Give every quantity a reader will see its meaning, with a low and a high value.budget in model.yaml with the reason.Fill narrative.md (references/narrative.md) before any rendering:
explainer coldread <slug> --rendering narrative --run (or give the printed prompt, unchanged, to a fresh subagent). Fix every blocking finding. Cut what it marks as excess. Fix an edge finding when the fix is short. A finding can change the argument itself; change the model too when it does.Use the routing table and decision tests in references/principles.md §3. Tell the user the stage and the reason in one line. Example:
Stage 3 (interactive): the behavior depends on two parameters that interact, and a static diagram can show only one case.
If two stages fit, choose the lower stage and offer the higher one.
Load the playbook for the medium. Render only what is in the model.
| Stage | Playbook | Notes |
|---|---|---|
| 1 Prose | references/writing.md | explanation.md |
| 2 Diagram | references/diagrams.md + references/writing.md | diagram.md with Mermaid; load artifact-diagramming for SVG pages |
| 3 Interactive | references/html.md + references/diagrams.md | index.html from the template, on the web toolkit; load artifact-design |
| 4 Animation | references/video.md + references/diagrams.md | follow the video skill |
Follow the beats of narrative.md in order, when there is one. Use the exact entity names from the model in every label, caption, heading, and narration line. Present each claim with its case (the alternative failing, the counterexample, the worked numbers), and mark it: <!-- claim: id -->, data-claim="id", or self.claim("id"). Scenes read values with load_model(__file__). Pages read Explainer.model, filled by explainer sync <slug>.
Organize anything above Stage 1 into levels: L1 what it is, L2 how it works, L3 why it works, L4 how it is implemented. Show L1 first; reveal deeper levels on demand.
When the reader is learning, put a prediction before each important result (principles §8).
Quick artifact: explainer check <slug>, plus the review sheet for video and a browser check for pages. Published: the whole verify skill, including the cold read and the blind understanding test.
explanation.md.diagram.md.index.html. Publish it with the Artifact tool when the user wants a link, or serve it from the repo (GitHub Pages).explainers/<slug>/video/out.mp4 with captions.srt.End with two lines: the stage chosen, and what the reader can now do or predict.
references/completeness.md (opens in a new tab)references/diagrams.md (opens in a new tab)references/html.md (opens in a new tab)references/narrative.md (opens in a new tab)references/principles.md (opens in a new tab)references/video.md (opens in a new tab)references/writing.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
explanation, teaching, visualization, diagrams, semantic-model
npx claudepluginhub ifrit98/explainer --plugin explainer3 skills in this plugin
/verifyCheck an explainer before it ships — renderings against model.yaml, the video review sheet, the page in a browser, and a blind understanding test run by a fresh agent. Use after building an explainer, before publishing one, or when the user asks to check, review, or test an explainer (/verify <slug>)./videoMake a 3Blue1Brown-style animated explainer with synchronized local voiceover (Manim + Kokoro, no API keys). Use when the user asks for an explainer video, animation, 3b1b-style video, or narrated walkthrough of a concept, or invokes /video <topic>.Other plugins' skills for the same job