explain

explain is a skill for Claude Code from gkaria/vibe-learn. It costs 33 tokens per session (851 once invoked), scanned A, original, MIT.

A guided code-tour helper that explains a file or subsystem touched during the current coding session. It covers the entry point, important parts, boundaries, and connections to other code.

In plain words
What is it for?
Use it to tour a named file or to identify and explain the most significant file or subsystem from the session.
Why use it?
It reduces the time needed to understand unfamiliar code and shows how a changed file fits into the wider system.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the vibe-learn plugin — 5 skills, 4 commands shipped together

Good fit Use it to tour a named file or to identify and explain the most significant file or subsystem from the session.

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

Made for: Claude Code.

Or install vibe-learn, the plugin that ships this one along with the rest of its 5 skills, 4 commands.

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/gkaria/vibe-learn/explain/github.svg)](https://agentmods.dev/skills/gkaria/vibe-learn/explain)
Your own site
<a href="https://agentmods.dev/skills/gkaria/vibe-learn/explain"><img src="https://agentmods.dev/badge/skills/gkaria/vibe-learn/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/gkaria/vibe-learn/explain"><img src="https://agentmods.dev/badge/skills/gkaria/vibe-learn/explain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 851 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.00033 $0.00851
Opus 5 $0.00016 $0.00426
Sonnet 5 $0.00007 $0.00170
Haiku 4.5 $0.00003 $0.00085

Measured yesterday against content hash 69714562f9b3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 yesterday.

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.

adapters/cursor/skills/explain/SKILL.md · 50 lines

How it starts

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

/explain

Read .vibe-learn/session-log.jsonl to see what this session touched and why (the user_prompt events carry the intent). Read .vibe-learn/knowledge.json if it exists (the cross-session knowledge ledger).

Knowledge helper: to mark concepts as seen, use the knowledge.sh helper via your shell tool — never hand-edit the JSON. Locate it in this order: ~/.vibe-learn/scripts/knowledge.sh; the scripts/knowledge.sh under the VIBE_LEARN_DIR baked into .cursor/hooks/vibe-learn.sh or ~/.cursor/hooks/vibe-learn.sh; scripts/knowledge.sh when working in the vibe-learn repo itself. If none of these exist, skip the ledger step silently — the tour itself still works.

Treat the rest of the user's message after /explain as the target:

Target: none

If nothing follows /explain: tour the most significant file or subsystem this session touched. Prefer, in order: a newly created file that other touched files import; the file edited most often; the file behind the goal stated in the last user_prompt. Say which one you picked and why in one line.

Target: <file>

If the argument names a path that exists: tour that file.

Target: <topic>

Otherwise treat the argument as a topic (e.g. auth flow, the retry logic): find the files behind it — start from the session log, then grep the codebase — and tour them as one subsystem. If nothing matches, say so and list what the session did touch.

Tour structure (all targets)

Read the target file(s) and their immediate callers and callees before writing anything. Walk the code top-down as a colleague would at a whiteboard:

  1. Entry point — where execution starts and what triggers it (a request, a hook event, a CLI call, an import).
  2. The spine — the 3–5 load-bearing pieces, in execution order. For each, say why it is there, not just what it does. Quote the real line with a path:line reference.
  3. The edges — error paths, ordering constraints, defaults, and anything that would break if rearranged or removed.
  4. Connections — what calls this, what this calls, and where a change here would ripple.

Read the full file on GitHub · 50 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. yesterday First seen · 50 lines · 33 tokens per session scan A 69714562f9b3

Subscribe to this mod's changes

explain is a skill published in the GitHub repository gkaria/vibe-learn (54 stars, last pushed yesterday), licensed MIT. It adds 33 tokens to every session and 851 once invoked, about $0.0002 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-09-07.

Related

Other skills, from other repositories

procoder

Work like a senior developer in a repository governed by procoder: run the commit gate before calling anything done, format and lint through the binary, and drive the spec, plan, todo, backlog, and sprint chain in .procoder/. Use this skill when the repository contains a .procoder/ directory or an AGENTS.md naming…

azrtydxb/procoder · 101 tokens

x-spec

A system-planning guide that turns a vague idea into a set of linked design documents. It defines goals, modules, interfaces, data, workflows, and ways to check the result.

KtKID/x-dev-pipeline · 191 tokens

x-audit-arch

A project-wide architecture review skill that checks whether code is placed in the right modules and whether important definitions have one reliable source.

KtKID/x-dev-pipeline · 222 tokens

x-multi-llm-align

A review process in which two sub-agents examine an API, data format, event schema, or workflow from their separate implementation perspectives. The user passes documents and feedback between them over multiple rounds.

KtKID/x-dev-pipeline · 293 tokens

x-cr

A software-correctness investigation skill for finding why code behaves differently from what was expected. It uses evidence from code paths, specifications, tests, logs, and changes to assess possible causes.

KtKID/x-dev-pipeline · 183 tokens

x-spec2

A compact system-design guide for turning vague or cross-module requests into a small, structured specification package. It defines requirements, acceptance scenarios, module boundaries, and—when needed—data flow, state, timing, resources, or recovery design.

KtKID/x-dev-pipeline · 397 tokens