ase-code-explain

ase-code-explain is a skill for Claude Code from rse/ase. It costs 49 tokens per session (1,159 once invoked), scanned A, original, Apache-2.0.

A concise code-explanation format that describes what code does and why, using plain language and, when requested, analogies or diagrams.

In plain words
What is it for?
Use it to explain how code works, summarize its purpose, clarify difficult behavior with an everyday comparison, and identify important concerns or edge cases.
Why use it?
It gives readers a structured way to understand unfamiliar code without requiring them to study every implementation detail.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents.

Part of the ase plugin — 65 skills, 12 agents, 5 hooks shipped together

Good fit Use it to explain how code works, summarize its purpose, clarify difficult behavior with an everyday comparison, and identify important concerns or edge cases.

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

Made for: Claude Code.

Or install ase, the plugin that ships this one along with the rest of its 65 skills, 12 agents, 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 ase-code-explain

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rse/ase/ase-code-explain"><img src="https://agentmods.dev/badge/skills/rse/ase/ase-code-explain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,159 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00049 $0.01159
Opus 5.5 $0.00020 $0.00464
Sonnet 5.5 $0.00010 $0.00232
Haiku 4.5 $0.00005 $0.00116

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

Security

Grade A, and why

ase-code-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 8d 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.

plugin/skills/ase-code-explain/SKILL.md · 150 lines

What it actually says

@${CLAUDE_SKILL_DIR}/../../meta/ase-control.md @${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md @${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md

  1. First, explain WHAT the code does (functionality). Second, explain WHY the code does it (rationale).

    Keep your explanations brief and concise.

    The project source artifacts are classified as a black box, so the user wants only the minimal surface explanation. Output only the WHAT block (omit the WHY block) with the following :

    Output the result with the following :

    ⧉ ASE: WHY (You should know why):

    • [...]
    • [...]
    • [...]
  2. The project source artifacts are classified as a black box, so deeper elaboration is not wanted. Skip this STEP 3 and the following STEP 4 entirely: do not output any ANALOGY, DIAGRAM, CRUXES, or GOTCHAS, and do not dispatch any diagram rendering.

    Give insights with ANALOGY and DIAGRAM.

    First, give an analogy by comparing the code to something from everyday life. How can I understand this by something I already know? Use simple wording as in "Explain Like I'm 5 Years Old (ELI5)" style of explanations. For very complex concepts, use multiple analogies.

    Second, draw a diagram to show the control or data flow, code or data structure, or code or data relationships. What gives the best overall overview of the code? Build a Mermaid specification , choosing the Mermaid diagram type per intent: classDiagram for class/method structure, sequenceDiagram for actor/message flow, or flowchart TB for boxes-and-lines component layouts. Then render at the position of the diagram in the response according to the Diagrams rule of the skill conventions. Do not hand-draw.

    Keep your explanation brief and concise. Output the result with the following :

    ⧉ ASE: DIAGRAM (You should grasp): [...]

  3. First, tell what the cruxes of the code are. Is there something one should really notice?

    Second, tell what the gotchas of the code are. Is there something one could really stumble over?

    Keep your explanation brief and concise. Output the result with the following :

    ⧉ ASE: GOTCHAS (You should not stumble over):

    • [...]
    • [...]
    • [...]
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. 8d ago Changed ed10ba96ac6a
  2. 20d ago Changed · -3 lines 8bebabcaf9cc
  3. 3mo ago First seen · 153 lines · 49 tokens per session scan A f28f5aea8c28

Subscribe to this mod's changes

ase-code-explain is a skill published in the GitHub repository rse/ase (78 stars, last pushed today), licensed Apache-2.0. It adds 49 tokens to every session and 1,159 once invoked, about $0.0002 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-08-30.

Related

ase-code-explain compared with skills from other repositories

ase-code-explain next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ase-code-explainrse/aseSkill78todayApache-2.0A49Claude Code
moai-workflow-jit-docsmodu-ai/moai-adkSkill1.3ktodayApache-2.0A42Claude Code
explain-diffeugenelim/agent-ready-repoSkill35todayApache-2.0A89Claude Code
new-guideeugenelim/agent-ready-repoSkill35todayApache-2.0A144Claude Code
architecture-lenses-referenceeugenelim/agent-ready-repoSkill35todayApache-2.0A21Claude Code
agent-challengesruvnet/rufloSkill83ktodayMITA15Claude Code
moai-workflow-worktreemodu-ai/moai-adkSkill1.3ktodayApache-2.0A41Claude Code