explainer-design-system

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 CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/josix/agent-flow/explainer-design-system
Any agent
npx skills add josix/agent-flow --skill explainer-design-system
Clone the repo
git clone --depth 1 https://github.com/josix/agent-flow

Made for: Claude Code, Codex.

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,735 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00140 $0.04735
Opus 5 $0.00070 $0.02367
Sonnet 5 $0.00028 $0.00947
Haiku 4.5 $0.00014 $0.00473

Measured 2d ago against content hash a6ed515dc1f7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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 — 110 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 applymodule-brief-template.md is superseded by the brief shape illustrated in .claude/explain-design-examples/module-brief-example.md.
  • 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. 2d 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 (7 stars, last pushed 17d ago), licensed MIT. It adds 140 tokens to every session and 4,735 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to codebase-to-course, differing in 110 lines, and is treated as a copy.

Related

Other skills, from other repositories

pr-review-response

Teaches agents to reply to PR review comment threads after fixing issues, making resolutions traceable.

bradygaster/squad · 22 tokens

oma-explanation

Turn a code change (diff, PR, branch, commit range) into a rich, self-contained interactive HTML explainer with Background / Intuition / Code / Quiz sections. Use for explain, walkthrough, code-change explanation, diff/PR/branch explainer requests — 설명서, 해설, コード解説, 代码讲解. Produces a single offline-capable HTML file…

first-fluke/oh-my-agent · 94 tokens

creating-skills

Guide for creating Claude Code skills following Anthropic's official best practices. Use when user wants to create a new skill, build a skill, write SKILL.md, update an existing skill, or needs skill creation guidelines. Provides structure, frontmatter fields, naming conventions, and new features like dynamic context…

redai-infra/Relax · 70 tokens

llmtornado-tutorial-generator

Generates comprehensive code tutorials on LlmTornado API formatted for Medium publication with examples, explanations, and best practices.

lofcz/LLMTornado · 31 tokens

skill-creator

Generates Anthropic Skills with complete workflow including GitHub PR creation and local download verification.

lofcz/LLMTornado · 22 tokens

skill-sublation

技能扬弃 Sublation V5.0 完整版。把执行经验沉淀为观测、候选、验证、多 Agent 协作面板、默认关闭的受控唤醒意图、Skill 分类与 shadow 精准建议、用户批准、晋升和观察窗的可审计治理链路;仅在用户明确说出 sublation 或扬弃技能时触发。.

Sven-Mirana/sublation · 91 tokens