explain

explain is a skill for Claude Code from MinhThang1009/dotclaude. It costs 47 tokens per session (940 once invoked), scanned B, original, MIT.

A guide for explaining code, algorithms, or system architecture to someone who does not already know the subject.

In plain words
What is it for?
Use it to explain a file, function, algorithm, or architecture by examining its callers, related types, tests, and relevant history.
Why use it?
It builds understanding from the overall purpose to the important details, using surrounding code and tests to avoid incomplete explanations.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the feature-dev plugin — 2 skills, 3 agents shipped together

Good fit Use it to explain a file, function, algorithm, or architecture by examining its callers, related types, tests, and relevant history.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/minhthang1009/dotclaude/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.

Any agent
npx skills add MinhThang1009/dotclaude --skill explain
Clone the repo
git clone --depth 1 https://github.com/MinhThang1009/dotclaude

Made for: Claude Code.

Or install feature-dev, the plugin that ships this one along with the rest of its 2 skills, 3 agents.

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/skills/minhthang1009/dotclaude/explain/github.svg)](https://agentmods.dev/skills/minhthang1009/dotclaude/explain)
Your own site
<a href="https://agentmods.dev/skills/minhthang1009/dotclaude/explain"><img src="https://agentmods.dev/badge/skills/minhthang1009/dotclaude/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/skills/minhthang1009/dotclaude/explain"><img src="https://agentmods.dev/badge/skills/minhthang1009/dotclaude/explain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 940 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00047 $0.00940
Opus 5.5 $0.00019 $0.00376
Sonnet 5.5 $0.00009 $0.00188
Haiku 4.5 $0.00005 $0.00094

Measured 3mo ago against content hash 04b59fffb00a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

explain scanned grade B with 1 finding 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 3mo 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.

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

- **Do not lecture**. Explain only what was asked, do not narrate the history of the language.
plugins/feature-dev/skills/explain/SKILL.md · 111 lines

How it starts

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

Skill: Explain code

You are called to explain code/algorithms/concepts to the user. Goal: the user understands why the code works the way it does, not just what it does.

Step 1: Identify the subject

Depending on $ARGUMENTS:

  • File path → explain that file
  • Function/class/symbol name → find with Grep, explain it
  • Open-ended question ("how does the auth system work") → explore the codebase, synthesize

Step 2: Read enough context

Do NOT read 1 file and then explain. Minimum:

  • The main file
  • Callers of this file/function (Grep the function name in the codebase)
  • Related types/interfaces
  • Corresponding tests (tests are often the best living documentation)
  • Git log for the file → is there any important historical context?

Step 3: Structure the explanation

Follow the inverted pyramid model (top-down):

1. One-sentence summary

"This code does X by doing Y."

2. The big picture (3-5 sentences)

  • Where does it live in the system?
  • Who calls it? What does it call?
  • When does it run? How often?

3. Go into the details

  • Walk through each important part
  • Each code block gets a short note on WHY, not repeating WHAT
  • Flag anything confusing or counter-intuitive

4. Concrete examples

  • For a specific input, trace through the code — what is the output?
  • Edge cases: empty input, large input, invalid input → behavior?

5. Pitfalls & gotchas

  • Are there any places that are easy to misunderstand?
  • Are there any implicit assumptions?
  • Are there any related TODO/FIXME items?

Step 4: Format

Depending on explanation length:

Short (< 5 sentences): write plain prose, no headings needed.

Medium (5-15 sentences): use bullets or 2-3 clear paragraphs.

Long (> 15 sentences or architectural explanation): use headings, for example:

## TL;DR
[1-2 sentences]

## Big picture
[Diagram if possible — use ASCII art or Mermaid]

## Details
### Part A: [name]
...

### Part B: [name]
...

## Trace example
Input: ...
Output: ...
[step-by-step]

## Notes
- ...

Read the full file on GitHub · 111 lines

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. 3mo ago First seen · 111 lines · 47 tokens per session scan B 04b59fffb00a

Subscribe to this mod's changes

explain is a skill published in the GitHub repository MinhThang1009/dotclaude (19 stars, last pushed 4mo ago), licensed MIT. It adds 47 tokens to every session and 940 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

explain compared with skills from other repositories

explain next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
explainMinhThang1009/dotclaudeSkill194mo agoMITB47Claude Code
hr-onboardingnexu-io/open-designSkill111ktodayApache-2.0A62Claude Code, Codex
book-mirrorgarrytan/gbrainSkill34ktodayMITA139Claude Code
lean-formalizewanshuiyin/Auto-claude-code-research-in-sleepSkill20ktodayMITA81Claude Code
deck-course-modulenexu-io/html-anythingSkill17k4d agoApache-2.0A25Claude Code, Codex
eli5companion-inc/feynmanSkill10k4d agoMITA63Claude Code, Codex
explore-unknownsdzhng/skillsSkill1.5k19d agoMITA162Claude Code, Codex