MXplain
Verified, technical-minimalist interactive HTML explainers packaged as a Muro project (.mp), ready to install on Claude Code, Codex, Gemini CLI, Antigravity, and other Muro-supported hosts.
Turns any bug fix, code change, codebase mechanism, concept, paper, or technical process into a single, offline-ready, technical-minimalist interactive HTML explainer — with upfront feature/impact context, Feynman progressive depth, ADHD-friendly rhythm, operable inline SVG/Canvas visuals, X-vs-Y comparisons, natural de-AI prose, and a mandatory claim-by-claim anti-hallucination gate.
Install
Claude Code
claude plugin marketplace add acaprino/mxplain
claude plugin install mxplain@mxplain
(For a local checkout: claude plugin marketplace add <path-to-mxplain> + claude plugin install mxplain@mxplain, or one session via claude --plugin-dir <path-to-mxplain>/mxplain/adapters/claude-code.)
Codex
codex plugin marketplace add acaprino/mxplain
codex plugin add mxplain@mxplain
(For a local checkout: codex plugin marketplace add <path-to-mxplain> + codex plugin add mxplain@mxplain.)
Gemini CLI
Uses gemini-extension.json and root skills/ auto-discovery:
gemini extensions install https://github.com/acaprino/mxplain
(Or link a local clone: gemini extensions link <path-to-mxplain>.)
Antigravity (agy / ~/.gemini/config)
agy plugin install <path-to-mxplain>/mxplain/adapters/antigravity
Muro Desktop & Other Harnesses
- Muro desktop: Sync -> Add plugin ->
https://github.com/acaprino/mxplain (or choose mxplain.mp locally).
- OpenCode, Pi, Hermes, VS Code Copilot: follow
mxplain/adapters/<harness>/INSTALL.md or run muro project extract mxplain.mp --harness <harness> --out <dir>.
What Is Inside (0.0.1)
mxplain.mp is the single Muro source of truth (pinned to acaprino/[email protected] and acaprino/text-humanizer@c4d8276, MIT, zero always-on session text, zero active hooks). Pushing mxplain.mp to main runs .github/workflows/release.yml to validate, rebuild mxplain/, regenerate .claude-plugin/marketplace.json, .agents/plugins/marketplace.json, and releases/<tag>.md, and publish the GitHub Release (mxplain-v<version>).
| Capability | Discovery Entry | Purpose |
|---|
html-explainer | mxplain-explain | Turns concepts, papers, articles, PDFs, processes, or codebase traces into verified single-file interactive HTML + natural prose (prose-humanize.md + text-humanizer references) + validate_explainer.py check |
codebase-explainer | mxplain-codebase | Traces bug fixes, diffs, modules, and repositories hop by hop with verified file:line citations, verbatim snippets, and failure edges |
explainer-verify | mxplain-verify | Claim-by-claim anti-hallucination quality gate auditing facts, formulas, interactive JS math parity, analogies, and code references |
text-humanize | mxplain-humanize | Makes existing prose or files in any language read as written by a person without inventing content (25 local patterns, docs/business/personal registers, proofread/light/full levels, native Italian profile, confirmation-gated file write-back) |
Design Invariants
- Context First + 3-Layer Feynman Ladder:
01 Context, Impact & 2-Line Core -> 02 Concrete Example + Analogy (with breakdown limit) -> 03 Real Mechanism + Operable Visual + X-vs-Y Table.
- Editorial SVG Craft (Zero Mermaid Slop): Hand-crafted inline SVGs on a 4px grid (
<= 9 nodes, 1–2 focal accents, rounded orthogonal connectors, Architecture Delta Before · Changes · After, and <title>/<desc> Accessible SVG contract).
- ADHD-Friendly Rhythm: Concrete example before abstract theory, paragraphs capped at
<= 75 words, visible groups <= 5 items, collapsible <details> for prerequisites and deep math, sticky progress bar and jump links.
- Fixed Technical Minimalist UI: Full-width responsive shell with a sticky vertical sidebar on desktop (compact horizontal bar on mobile), light/dark toggle, WCAG AA contrast, zero external CDNs or fonts,
tabular-nums, :focus-visible, and prefers-reduced-motion.
- Zero Unverified Claims + Natural Prose: Mandatory
explainer-verify audit followed by the de-AI natural prose pass (prose-humanize.md) and validate_explainer.py.
- Output Language Matches the Prompt: Skill instructions stay in English; generated HTML pages match the user's language.