ape-explain

ape-explain is a skill for Claude Code, Codex from arpitbbhayani/ape-skills. It costs 231 tokens per session (6,031 once invoked), scanned A, original, MIT.

A tool that turns a science, maths, or computing concept into one self-contained HTML article. It explains the idea in plain language and can include interactive visuals placed within the explanation.

In plain words
What is it for?
It is for teaching topics such as algorithms, software design, system architecture, and language internals through readable text and interactive examples.
Why use it?
It gives learners a complete explanation in one page instead of requiring them to combine scattered notes, diagrams, and examples. It can research unfamiliar or changing details when needed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit It is for teaching topics such as algorithms, software design, system architecture, and language internals through readable text and interactive examples.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arpitbbhayani/ape-skills/ape-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 arpitbbhayani/ape-skills --skill ape-explain
Clone the repo
git clone --depth 1 https://github.com/arpitbbhayani/ape-skills

Made for: Claude Code, Codex.

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 ape-explain

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/arpitbbhayani/ape-skills/ape-explain"><img src="https://agentmods.dev/badge/skills/arpitbbhayani/ape-skills/ape-explain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 231 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,031 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00231 $0.06031
Opus 5.5 $0.00092 $0.02412
Sonnet 5.5 $0.00046 $0.01206
Haiku 4.5 $0.00023 $0.00603

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

Security

Grade A, and why

ape-explain scanned grade A 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 2d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (reference/build.py, reference/chart.py, reference/diagram.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **URL:** fetch the exact text, not a summary. WebFetch returns a model-written summary that loses wording and numbers, so use it only to find the right page. Then `curl -sL <url>` and strip tags, for example `python3 -
ape-explain/SKILL.md · 226 lines

How it starts

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

Explain

Produce one HTML file that a smart reader understands on a cold read. It works for documents that teach (explainers) and documents that ask for a decision (design docs).

Pseudocode only. If the ask is just pseudocode ("write pseudocode", "sketch this algorithm"), follow reference/pseudocode.md, answer in chat with a fenced code block, and skip the rest of this file.

Open with one line that starts "Ape is" and says what you are about to do for this source, for example "Ape is turning the retry PR into a review guide."

Principles

  1. Right medium for each point. A figure for what has shape, sequence, quantity or contrast. Paragraphs for reasoning, argument, rationale and nuance. A table for several things compared on the same dimensions. Code for anything exact. Neither figures nor prose is the default: an essay may have one figure or none, a mechanism-heavy post may have ten. A figure that restates the paragraph beside it is decoration; a mechanism told in three paragraphs where a stepper would do under-uses the page.
  2. Shape follows the source. There is no fixed section list. Choose the structure from what this source is, and never copy another page's headings or order. A short source gets a short page.
  3. Draw the mechanism, not the name. Show what moves, in what order, and what it triggers. Arrows carry verbs. One idea per figure. Carry one concrete example (one request, one key, one sentence) through every figure and code block, so each continues the last.
  4. State in shape, not colour alone. Solid, dashed, crossed, hollow. Colour backs it up.
  5. Honest. Facts trace to a source. Assumptions, proposals, toy models and estimates are said to be so, in plain words, where they are stated. Unknowns are left blank or called not decided. The page carries no label chips for any of this (no "TBD", "assumption", "drafter"); the gaps report in chat lists them. Nothing is invented to make a page look complete: no numbers, owners, dates or benchmarks.
  6. Never claim more than the source. Each heading, dek and caption is backed by a source sentence. Counts, scope ("every", "all"), completion and causes are the usual overreach. Derived numbers are said to be derived. Your own grouping, naming, counting and inference is not the source: say once that it is this page's.
  7. Prerequisites are first-class. What a newcomer needs and the source assumes is defined at the point of use: a term links to its glossary entry and shows the definition on hover, and a concept that needs a picture gets a concept card early.
  8. Readable without clicking. Printed or skimmed, the full story is there. Interaction adds depth; it never holds the only copy of a step or result. A hover card only repeats text that is on the page.
  9. One line of thought. The page reads in the order a person comes to understand the thing: why it matters, what it is in one concrete case, how it works, what follows from it, what is still open. Each section opens by picking up what the last one left, and anything defined or argued elsewhere on the page is one link away.
  10. Decision first, for documents that ask for one. A reviewer who reads only the top knows what is being asked. When you explain someone else's piece to a reader who has a decision to make, the author's argument still leads; what it means for the reader's decision comes last and is said to be your reading.
  11. Quiet labels. The top bar is the only eyebrow: one small-caps line with type, subject and context. No kicker above the title, no label or number above a heading, no tag above a card. Every other label is sentence case. Number only where order is real: steps, phases, a ranked list.

Read the full file on GitHub · 226 lines

Files

What ships with it

60 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 Changed · +14 lines 32ef5a4ac0a0
  2. 4d ago Changed · +45 lines · +139 tokens per session b230b9bb2d92
  3. 1mo ago First seen · 167 lines · 92 tokens per session scan A 6bff691196b6

Subscribe to this mod's changes

ape-explain is a skill published in the GitHub repository arpitbbhayani/ape-skills (58 stars, last pushed 2d ago), licensed MIT. It adds 231 tokens to every session and 6,031 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-09.

Related

ape-explain compared with skills from other repositories

ape-explain next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ape-explainarpitbbhayani/ape-skillsSkill582d agoMITA231Claude Code, Codex
offensive-vuln-classesSnailSploit/Claude-RedSkill12k18d agoMITA69Claude Code, Codex
explorer-interface-briefmohitagw15856/pm-claude-skillsSkill1.6ktodayMITA97Claude Code
model-prompt-packmohitagw15856/pm-claude-skillsSkill1.6ktodayMITA104Claude Code
explorer-pipelinemohitagw15856/pm-claude-skillsSkill1.6ktodayMITA97Claude Code
financial-statement-explainermohitagw15856/pm-claude-skillsSkill1.6ktodayMITA107Claude Code
get-more-from-aimohitagw15856/pm-claude-skillsSkill1.6ktodayMITA140Claude Code