explain-back

explain-back is a skill for Claude Code from mikestangdevs/craft-skills. It costs 103 tokens per session (1,504 once invoked), scanned A, original, MIT.

A review step in which the coding agent explains recently written or planned code in plain language. It covers what the code does, why it exists, and what could break if it is wrong, then waits for confirmation before continuing.

In plain words
What is it for?
Use it after a non-trivial change, when reviewing agent-written code, or before modifying an unfamiliar file. It is meant for logic-heavy work rather than simple renames or typo fixes.
Why use it?
Code can look correct while nobody understands its behavior or purpose. Requiring a shared explanation exposes misunderstandings before the code is trusted or built upon.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the craft-skills plugin — 17 skills shipped together

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/mikestangdevs/craft-skills/explain-back
Any agent
npx skills add mikestangdevs/craft-skills --skill explain-back
Clone the repo
git clone --depth 1 https://github.com/mikestangdevs/craft-skills

Made for: Claude Code.

Or install craft-skills, the plugin that ships this one along with the rest of its 17 skills.

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-back

README.md
[![agentmods](https://agentmods.dev/badge/skills/mikestangdevs/craft-skills/explain-back.svg)](https://agentmods.dev/skills/mikestangdevs/craft-skills/explain-back)
Your own site
<a href="https://agentmods.dev/skills/mikestangdevs/craft-skills/explain-back"><img src="https://agentmods.dev/badge/skills/mikestangdevs/craft-skills/explain-back.svg" alt="Measured on agentmods" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,504 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.1 $0.00103 $0.01504
Opus 5 $0.00051 $0.00752
Sonnet 5 $0.00021 $0.00301
Haiku 4.5 $0.00010 $0.00150

Measured 5d ago against content hash 79e1ed0fa456, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

explain-back 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 5d 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.

skills/craft/explain-back/SKILL.md · 108 lines

How it starts

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

Explain Back

The failure mode this fixes

The most expensive bug in AI-assisted development isn't wrong code — it's code that looks right that nobody understands. The agent writes 80 lines, the human skims, says "looks good," and merges. Six weeks later it breaks and no one — human or agent — can say why it existed.

explain-back inverts review. Before code is trusted, the agent must explain it back in plain language until the human confirms the model is correct. If the agent can't explain a line, that line is suspect. If the human can't follow the explanation, the code is too clever. Either way, you find out now, not at 3am.

When to Use This Skill

  • Right after you (the agent) generate a non-trivial change, before declaring it done
  • When reviewing code an agent wrote and the diff "looks fine" but no one built a model of it
  • When onboarding to an unfamiliar file before changing it
  • When the human catches themselves about to approve something they can't explain
  • Before building new logic on top of existing code whose behavior is assumed, not known

Don't use when: the change is a trivial rename, a config value, or a one-line typo fix. Reserve it for logic that someone will later have to reason about.

Instructions

Work through these phases in order. Do not skip to a fix or a "looks good" — the whole point is to surface the gap between what the code says and what everyone thinks it says.

1. Restate the intent (before reading the code closely)

State, in one sentence, what this code is supposed to do — from the requirement, the PR title, or the conversation. Do not look at the implementation yet. This is the contract you'll check the code against.

"This function is supposed to deduplicate incoming webhook events so we never process the same payment twice."

2. Explain it back, line group by line group

Walk the code in small chunks. For each chunk, say in plain language:

  • What it does (the mechanic)
  • Why it's there (the intent it serves)
  • What breaks if it's wrong or removed

Read the full file on GitHub · 108 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. 5d ago First seen · 108 lines · 103 tokens per session scan A 79e1ed0fa456

Subscribe to this mod's changes

explain-back is a skill published in the GitHub repository mikestangdevs/craft-skills (4 stars, last pushed 2mo ago), licensed MIT. It adds 103 tokens to every session and 1,504 once invoked, about $0.0005 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

absolute-simplify

Use when the user wants to simplify, clean up, refactor, tidy, or refine code — their staged/unstaged git changes or a target file/path. Reduces complexity, flattens nesting, removes redundancy and dead code, scores each change by value (holding low-value churn), then runs tests to prove nothing broke. Invoke on…

maddhruv/absolute · 178 tokens

plumb-line-audit

Use when auditing a diff or repository against the plumb-line principles — finds laundered uncertainty, boundary leaks, hardcoded priors, overstated maturity, outputs lacking recorded lineage, and baseline drift with no explanation. Read-only: it reports, never auto-fixes.

slopstopper/plumb-line · 0 tokens

plumb-line-bootstrap

Use when setting up a project with the plumb-line discipline — interviews the builder to find their source-truth layer and layering, generates a domain-neutral ruleset, and installs parameterized enforcement (boundary check, test gate, pre-commit gate, branch guard) for the project's language. Ships no default layers…

slopstopper/plumb-line · 73 tokens

plumb-line-adopt

Use when a builder wonders what plumb-line would do for their codebase or which part to adopt — or when, mid-task, their work shows a fit signal (adding a mock or fallback near a production path, mixing fixture, cached, or LLM/agent-produced data with real data) and visible uncertainty would help. Inspects the repo…

slopstopper/plumb-line · 0 tokens

Tech Debt Auditor

Identifies and prioritizes technical debt in a codebase with an effort/impact matrix.

Notysoty/openagentskills · 22 tokens

Refactor Planner

Creates a safe, step-by-step plan to refactor messy code without breaking existing behavior.

Notysoty/openagentskills · 22 tokens