explainer-design-system

explainer-design-system is a skill for Claude Code from josix/agent-flow. It costs 140 tokens per session (4,759 once invoked), scanned A, a copy of codebase-to-course, MIT.

A design guide for turning a codebase into an interactive HTML course for people without technical backgrounds. It defines teaching patterns and how the course fragment is assembled.

In plain words
What is it for?
Use it to create educational walkthroughs, tutorials, or single-page explanations of how a project works.
Why use it?
It provides a consistent way to explain unfamiliar code without requiring readers to understand the source first.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the agent-flow plugin — 11 skills, 5 commands, 6 agents, 7 hooks shipped together

Good fit Use it to create educational walkthroughs, tutorials, or single-page explanations of how a project works.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add josix/agent-flow
Claude Code
/plugin install agent-flow

Made for: Claude Code.

Or install agent-flow, the plugin that ships this one along with the rest of its 11 skills, 5 commands, 6 agents, 7 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for explainer-design-system

README.md
[![agentmods](https://agentmods.dev/badge/skills/josix/agent-flow/explainer-design-system/github.svg)](https://agentmods.dev/skills/josix/agent-flow/explainer-design-system)
Your own site
<a href="https://agentmods.dev/skills/josix/agent-flow/explainer-design-system"><img src="https://agentmods.dev/badge/skills/josix/agent-flow/explainer-design-system/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for explainer-design-system

Your own site · 80×15
<a href="https://agentmods.dev/skills/josix/agent-flow/explainer-design-system"><img src="https://agentmods.dev/badge/skills/josix/agent-flow/explainer-design-system.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 140 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,759 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00140 $0.04759
Opus 5.5 $0.00056 $0.01904
Sonnet 5.5 $0.00028 $0.00952
Haiku 4.5 $0.00014 $0.00476

Measured 20d ago against content hash f1bf80152ca5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

explainer-design-system scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 20d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

86% identical to codebase-to-course — 109 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/explainer-design-system/SKILL.md · 271 lines

How it starts

The opening of the file, as written. The whole thing — 271 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Provenance & Credits

This skill is vendored from zarazhangrui/codebase-to-course by Zara Zhang. The teaching primitives, content philosophy, design system tokens, and interactive-element HTML patterns documented here originate upstream — full credit for the pedagogical model goes to the original author. We renamed the local copy to explainer-design-system to better reflect its role as a design-system reference inside this plugin's single-module pipeline; the upstream URL is recorded in the YAML frontmatter for traceability. All upstream SKILL.md content below the adapter note is preserved verbatim.

Adapter note for agent-flow /explain

This skill is vendored from the upstream repo but wired into this plugin's single-module /explain pipeline, not its original multi-module directory output. Speedwagon (the authoring agent) treats this file as guidance, not as a generator. Concretely:

  • Output shape — Speedwagon writes one <section class="module"> HTML fragment to .claude/explain-briefs/<slug>.fragment.html. The assembler (scripts/compile-explain.sh) concatenates it into explain-out/index.html. Do not create a course directory, styles.css, main.js, build.sh, _base.html, or _footer.html — those assets live under templates/explain/ and are owned by the pipeline, not by this skill.
  • Code blocks inside <pre> get a class="language-*" so Prism (loaded by the assembler from CDN) highlights them; inline <code> outside <pre> stays bare. Diagrams come before prose — see references/content-philosophy.md 'Diagrams Before Prose'.
  • Module count — exactly 1 module per /explain invocation (Senku picks 3–5 screens). Ignore the "4–6 modules" rule from Phase 2 below; treat the single module as Module 1.
  • Phases that do not apply — Phase 1 (codebase analysis) is already done by Riko, Phase 2 (curriculum design) is already done by Senku, and Phase 2.5 (module briefs) collapses into the single brief Speedwagon writes. Speedwagon starts at Phase 3 "Build the module" with Riko's scope + Senku's curriculum as inputs.
  • Reference files that apply — read these from skills/explainer-design-system/references/ when authoring the fragment:
    • content-philosophy.md — metaphor rules, tone, visual density, quiz design
    • design-system.md — warm palette, typography, spacing tokens
    • interactive-elements.md — HTML patterns for translator blocks, chat animations, flow animations, quizzes, callouts, glossary tooltips
    • gotchas.md — failure-mode checklist to run before declaring done
  • Reference files that do NOT apply — module-brief-template.md is superseded by the brief shape illustrated in ${CLAUDE_PLUGIN_ROOT}/templates/explain/module-brief-example.md. Reader language and the plain-language restatement contract are defined in commands/explain.md (canonical source).
  • Mandatory interactive elements, adapted — the upstream skill requires all five element types across the whole course. For a single module, aim for at least: one code↔English translator (already required by /explain), one quiz or callout, glossary tooltips on technical terms, and one of {group chat animation, flow animation, architecture diagram} if the topic has any actor-to-actor communication. Skip elements that would feel forced.

Read the full file on GitHub · 271 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 20d ago Changed f1bf80152ca5
  2. 1mo ago First seen · 271 lines · 140 tokens per session scan A a6ed515dc1f7

Subscribe to this mod's changes

explainer-design-system is a skill published in the GitHub repository josix/agent-flow (8 stars, last pushed 2d ago), licensed MIT. It adds 140 tokens to every session and 4,759 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to codebase-to-course, differing in 109 lines, and is treated as a copy.