demo

demo is a skill for Claude Code from yarikleto/claude-teacher-plugin. It costs 100 tokens per session (3,496 once invoked), scanned A, original, MIT.

A tool for making animated, interactive diagrams in a standalone HTML file. It is intended for ideas whose meaning depends on movement, timing, or step-by-step changes.

In plain words
What is it for?
Use it for algorithm traces, protocol flows, state-machine transitions, network packet journeys, race conditions, and event-loop behavior.
Why use it?
Animation can show a process unfolding when a static picture cannot clearly explain the order or changing state.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

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 claude-teacher plugin — 15 skills, 5 hooks shipped together

Good fit Use it for algorithm traces, protocol flows, state-machine transitions, network packet journeys, race conditions, and event-loop behavior.

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 yarikleto/claude-teacher-plugin
Claude Code
/plugin install claude-teacher

Made for: Claude Code.

Or install claude-teacher, the plugin that ships this one along with the rest of its 15 skills, 5 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 demo

README.md
[![agentmods](https://agentmods.dev/badge/skills/yarikleto/claude-teacher-plugin/demo/github.svg)](https://agentmods.dev/skills/yarikleto/claude-teacher-plugin/demo)
Your own site
<a href="https://agentmods.dev/skills/yarikleto/claude-teacher-plugin/demo"><img src="https://agentmods.dev/badge/skills/yarikleto/claude-teacher-plugin/demo/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 demo

Your own site · 80×15
<a href="https://agentmods.dev/skills/yarikleto/claude-teacher-plugin/demo"><img src="https://agentmods.dev/badge/skills/yarikleto/claude-teacher-plugin/demo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,496 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 original No closer match found 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.00100 $0.03496
Opus 5 $0.00050 $0.01748
Sonnet 5 $0.00020 $0.00699
Haiku 4.5 $0.00010 $0.00350

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

Security

Grade A, and why

demo 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.

skills/demo/SKILL.md · 291 lines

How it starts

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

Requested topic/task: $ARGUMENTS

Before accessing education data, read ${CLAUDE_PLUGIN_ROOT}/references/education-data.md. Resolve every <education-db> below using that contract. Current session ID: ${CLAUDE_SESSION_ID}.

Demo — Interactive Animated Diagrams

Generate .html files with animated, interactive visualizations. Uses a template with built-in engine, drawing library, and Preact UI — you only write the steps and draw functions.

Invocation

/claude-teacher:demo <concept description>

When to Use This

/claude-teacher:demo /claude-teacher:excalidraw /claude-teacher:ascii
Needs animation (packets moving, sort steps) Complex but static (architecture, data structures) Quick inline terminal visual
Step-by-step walkthrough with play/pause Student wants to edit/rearrange the diagram Simple sequence or flowchart
Timing matters (race conditions, event loops) Diagram will be exported as image Just needs a quick look

Template Architecture

The template at ${CLAUDE_SKILL_DIR}/template.html ships with:

Layer Technology What it provides
UI Preact + HTM (CDN) Reactive controls, step navigation, keyboard shortcuts
Styling Bootstrap 5 + Icons (CDN) + custom dark theme Pretty buttons, icons, responsive layout, utilities
Canvas Native Canvas 2D + drawing library Drawing helpers, animation math, color theming
Engine Built into template Animation loop, step progression, speed control

You only fill in the content section between __CONTENT_START__ and __CONTENT_END__.

Process

  1. Research the concept using WebSearch — verify accuracy
  2. Read the template at ${CLAUDE_SKILL_DIR}/template.html
  3. Copy the template to docs/<concept-name>.html
  4. Replace placeholders:
    • __TITLE__ → concept name (document title and visible heading)
    • __SUBTITLE__ → one-line description (visible subtitle)
    • __SOURCE_HTML__ → source link, e.g. Source: <a href="https://...">RFC 793</a>
    • __CUSTOM_CSS__ → any concept-specific CSS (usually empty — use Bootstrap utilities first) Escape replacements for their actual context: HTML text/attributes and JavaScript template literals require different escaping. Never paste raw topic text into JavaScript; serialize data and escape < as \u003c inside scripts. Only emit verified HTTP(S) source links.
  5. Replace the content section (__CONTENT_START__ to __CONTENT_END__) with your STEPS array and optional drawBackground/drawOverlay functions
  6. Validate the generated JavaScript and open the result in a browser when available. Check play/pause, navigation, theme, responsive sizing, and console errors. If browser verification is unavailable, disclose it.
  7. Save and tell the student how to open it

Read the full file on GitHub · 291 lines

Files

What ships with it

1 file 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 Changed · +6 lines · +10 tokens per session 2b76129495fb
  2. 10d ago First seen · 285 lines · 90 tokens per session scan A 7d209870a159

Subscribe to this mod's changes

demo is a skill published in the GitHub repository yarikleto/claude-teacher-plugin (8 stars, last pushed 4d ago), licensed MIT. It adds 100 tokens to every session and 3,496 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

comfyui-node-registry

Authoring & publishing ComfyUI custom nodes to the Comfy Registry, covering node structure, pyproject.toml spec, comfy-cli publishing, and CI.

artokun/comfyui-mcp · 38 tokens

learn-anything

A source-grounded adaptive tutor that tracks proof of mastery rather than content completion. Use it to learn a topic systematically, build a course from PDFs, webpages, transcripts or notes, practice retrieval and transfer, resume a long-running course, or verify whether the learner can recall and apply what they…

Nar101/learn-anything · 162 tokens

test-manim

Create teaching-quality STEM animations using ManimGL. Generates narrative-driven animations as 15-second chunks merged into a final video. Configurable topic, duration, and model name. Works with Claude Code and opencode across any model. Invoke: /test-manim "topic" [--duration 30|60|90|120] [--model name] Default…

shihabshahrier/manim-coding-skill · 92 tokens

word-deep-dive

An English vocabulary study aid that explains a word’s meanings, usage, differences from similar words, and exam relevance. It can also save selected words and schedule them for spaced review, meaning review at increasing intervals.

hwl668/Scientific-learning-skills- · 95 tokens

learn-by-ai

Run long-term, evidence-based adaptive learning and reconnect named study requests to local project records across sessions. Use when a learner says to start, continue, or resume learning a subject; for systematic study plans, source-grounded teaching, layered practice, review, or maintaining a knowledge graph and…

iyohesohoka646-dotcom/learn-by-ai · 77 tokens

coremedia-timing-samplebuffer-workflow

Guide Core Media timing and sample-buffer implementation and repair, including CMTime, CMTimeRange, CMClock, CMTimebase, CMFormatDescription, CMSampleBuffer, attachments, readiness, presentation and decode timestamps, dropped buffers, AVSampleBufferDisplayLayer, AVSampleBufferRenderSynchronizer, and synchronization…

gaelic-ghost/socket · 90 tokens