explain

explain is a skill for Claude Code from hereinthehive/gotrino-assistant. It costs 22 tokens per session (933 once invoked), scanned A, original, MIT.

A tool for writing markdown decision records that explain why an implementation or architecture choice was made.

In plain words
What is it for?
Use it after significant implementations, architectural choices, trade-offs between valid approaches, or other decisions that may need explanation later.
Why use it?
It preserves context that code alone cannot show, so future developers do not have to guess why an approach was chosen.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the gotrino-assistant plugin — 18 skills, 1 agent shipped together

Good fit Use it after significant implementations, architectural choices, trade-offs between valid approaches, or…

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

Made for: Claude Code.

Or install gotrino-assistant, the plugin that ships this one along with the rest of its 18 skills, 1 agent.

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/hereinthehive/gotrino-assistant/explain.svg)](https://agentmods.dev/skills/hereinthehive/gotrino-assistant/explain)
Your own site
<a href="https://agentmods.dev/skills/hereinthehive/gotrino-assistant/explain"><img src="https://agentmods.dev/badge/skills/hereinthehive/gotrino-assistant/explain.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 933 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.00022 $0.00933
Opus 5 $0.00011 $0.00466
Sonnet 5 $0.00004 $0.00187
Haiku 4.5 $0.00002 $0.00093

Measured 6d ago against content hash 9c1f251b8086, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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/explain/SKILL.md · 160 lines

How it starts

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

Explain (Decision Documentation)

Create decision records that document the reasoning behind implementation choices.

Philosophy

Good code is self-documenting for what it does. But why it does it that way? That's lost to time unless we capture it.

"Six months from now, when someone asks 'Why did we do it this way?', will there be an answer?"

The value of this skill isn't compliance—it's preserving context that makes the codebase maintainable.

Config Integration

Follow the migration preflight in references/config-migration.md, then check for .assistant-config.md in the project root.

Decisions location (in order of precedence):

  1. Decisions location setting in config
  2. Existing decisions/ directory
  3. Existing docs/decisions/ or docs/adr/ directory
  4. Default: create decisions/

If no config exists, ask the user where to store decisions or use the default.

When to Use

Run /explain after:

  • Completing a significant implementation
  • Making an architectural decision
  • Choosing between multiple valid approaches
  • Implementing something counterintuitive
  • When future developers might ask "why was it done this way?"

Input

The user will provide:

  • File path(s) to explain, OR
  • Feature/change description, OR
  • Specific question ("Why did we use X instead of Y?")

If nothing provided, explain recent uncommitted changes.

Process

1. Understand the Decisions

For the code being explained, identify:

  • Key architectural choices
  • Algorithm or pattern selections
  • Library/dependency choices
  • Trade-offs that were made
  • Constraints that influenced the approach

2. Research Context

Gather context before writing:

  • What patterns exist elsewhere in the codebase?
  • Were there constraints from existing code?
  • What does the task file or PR description say?
  • What alternatives could have been used?

3. Generate File Name

Use the pattern: NNNN-short-description.md

  • Check existing files in decisions directory
  • Use next available number (0001, 0002, etc.)
  • Keep description short (2-4 words, kebab-case)

Read the full file on GitHub · 160 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. 6d ago First seen · 160 lines · 22 tokens per session scan A 9c1f251b8086

Subscribe to this mod's changes

explain is a skill published in the GitHub repository hereinthehive/gotrino-assistant (5 stars, last pushed 4mo ago), licensed MIT. It adds 22 tokens to every session and 933 once invoked, about $0.0001 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

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens