visual-explainer

A teaching skill for explaining programming ideas with small diagrams. It focuses on steps, state changes, branches, data flow, ownership, hierarchies, and interactions between components.

In plain words
What is it for?
Use it to explain request sequences, callbacks, state machines, module dependencies, directory structures, LangGraph flows, and concurrency with Mermaid diagrams and short code checks.
Why use it?
It makes relationships and execution order easier to understand before reading code.

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/yyz666ai/learning-agent/visual-explainer
Any agent
npx skills add yyz666ai/Learning-Agent --skill visual-explainer
Clone the repo
git clone --depth 1 https://github.com/yyz666ai/Learning-Agent

Made for: Claude Code, Codex.

Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 291 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00033 $0.00291
Opus 5 $0.00016 $0.00146
Sonnet 5 $0.00007 $0.00058
Haiku 4.5 $0.00003 $0.00029

Measured yesterday against content hash 93640c2f7d3e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

visual-explainer 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 yesterday.

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.

workspace/dev/.codex/skills/visual-explainer/SKILL.md · 24 lines

What it actually says

可视化讲解

图只服务一个关键判断。流程、状态变化、调用顺序、分支和组件关系优先用 Mermaid,让学习者先看到全貌,再进入代码。

选择图型

  • 执行步骤或条件分支:flowchart 流程图。
  • 请求、回调或消息先后:sequenceDiagram
  • 状态迁移:stateDiagram-v2
  • 模块依赖或目录:flowchartclassDiagram,保持节点少。

教学要求

  1. 图前先提出要观察的问题,图后只解释最关键的 2–4 个关系。
  2. 节点使用学习者能理解的中文,首次出现的代码名用括号补充。
  3. Mermaid 必须可以独立渲染;不把整份代码塞进图。
  4. LangGraph、请求链、状态机和并发顺序等主题,只要图能显著降低理解成本,就在代码之前安排图。
  5. 图后紧跟一个点击判断或最小代码映射,确认学习者能把图和代码对应起来。
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. yesterday First seen · 24 lines · 33 tokens per session scan A 93640c2f7d3e

Subscribe to this mod's changes

visual-explainer is a skill published in the GitHub repository yyz666ai/Learning-Agent (1 stars, last pushed yesterday), licensed MIT. It adds 33 tokens to every session and 291 once invoked, about $0.0002 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

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

CreminiAI/skillpack · 64 tokens

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

fullstack455/deer-flow · 64 tokens

teach-impeccable

One-time setup that gathers design context for your project and saves it to your AI config file. Run once to establish persistent design guidelines.

celanthe/clarion · 33 tokens

skillpack-creator

Create a reusable SkillPack from a successful completed task. Use when the user wants to convert a one-off research, coding, analysis, or content workflow into a distributable local SkillPack with skillpack.json, local skills under skills/, starter prompts, start scripts, and an optional zip package.

CreminiAI/skillpack · 67 tokens

distill-session-knowledge

Offline-mine this project's pi session JSONL logs into reusable, verified knowledge: extracts faults, decisions, corrections, procedures and docs, promotes only recurring patterns, and routes artifacts into skillmanage, memory and docs. Use on "mine my sessions", "distill session knowledge", "extract lessons from…

BlackBeltTechnology/pi-agent-dashboard · 78 tokens

commit

Atomic git commit with conventional message. Use when the user says "commit", "save my changes", "commit this", or wants to create a git commit. Stages specific files, writes a conventional commit message with body explaining non-obvious decisions. Never uses git add -A.

congchuanling-dot/Cohort · 59 tokens