explain

explain is a command for Claude Code from koolamusic/claudefiles. It costs 29 tokens per session (400 once invoked), scanned A, original, MIT.

A command for explaining a topic, codebase, process, or document as plain technical prose, a diagram, an HTML page, or a video. It accepts a topic and options for the output format and level of strictness.

In plain words
What is it for?
Use it to explain code or processes in simple prose, create diagrams, make standalone web pages, or produce narrated video explainers.
Why use it?
It gives you a repeatable way to turn technical material into an explanation suited to the requested format.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to explain code or processes in simple prose, create diagrams, make standalone web pages, or produce narrated video explainers.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/koolamusic/claudefiles/explain
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.

Clone the repo
git clone --depth 1 https://github.com/koolamusic/claudefiles

Made for: Claude Code.

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 explain

README.md
[![agentmods](https://agentmods.dev/badge/commands/koolamusic/claudefiles/explain/github.svg)](https://agentmods.dev/commands/koolamusic/claudefiles/explain)
Your own site
<a href="https://agentmods.dev/commands/koolamusic/claudefiles/explain"><img src="https://agentmods.dev/badge/commands/koolamusic/claudefiles/explain/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 explain

Your own site · 80×15
<a href="https://agentmods.dev/commands/koolamusic/claudefiles/explain"><img src="https://agentmods.dev/badge/commands/koolamusic/claudefiles/explain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 400 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.00029 $0.00400
Opus 5.5 $0.00012 $0.00160
Sonnet 5.5 $0.00006 $0.00080
Haiku 4.5 $0.00003 $0.00040

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

Security

Grade A, and why

explain 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 9d 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.

commands/explain.md · 25 lines

What it actually says

Context

Front door for the explainer-formats skill. Usage:

/explain <topic> [--as <format>] [--level strict|80|light]
/explain <topic> as <format>
/explain formats

Defaults are --as ste and --level light. The topic can be a question, a pasted paragraph, a file path, or a symbol name. <format> is a rung (ste, diagram, html, video) or any visualizer diagram type (architecture, sequence, sankey, ...); the full list is references/formats.md in the skill.

Your task

  1. Load the explainer-formats skill and follow it.
  2. If $ARGUMENTS is exactly formats (or empty apart from that word), print the skill's references/formats.md and stop.
  3. Otherwise parse $ARGUMENTS: everything before the first --as or --level flag is <topic>; the flags set the format and the level. With no --as, a trailing as <format> (the last as followed by one word) sets the format and is removed from the topic. A missing flag takes the default. A format that is neither a rung nor a visualizer type, or an unknown level, is an error; say which values are valid and stop.
  4. Hand the skill <topic> --as <format> --level <level> and return its output, including the closing line that offers the next rung.
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. 9d ago Changed · +3 lines b632ae7ace2d
  2. 12d ago First seen · 22 lines · 29 tokens per session scan A 8fc5a2661de2

Subscribe to this mod's changes

explain is a command published in the GitHub repository koolamusic/claudefiles (130 stars, last pushed 3d ago), licensed MIT. It adds 29 tokens to every session and 400 once invoked, about $0.0001 per session on Opus 5.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-10-06.