explain-code

A code-explanation skill that uses visual diagrams and comparisons with familiar ideas. It is meant to help people understand how code works.

In plain words
What is it for?
Use it to explain code, teach a codebase, or answer questions such as “how does this work?”
Why use it?
It makes unfamiliar code and codebase behavior easier to follow, especially when text alone is hard to understand.

Skill for Claude CodeCodex

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

Made for: Claude Code, Codex.

Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 144 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00037 $0.00144
Opus 5 $0.00018 $0.00072
Sonnet 5 $0.00007 $0.00029
Haiku 4.5 $0.00004 $0.00014

Measured yesterday against content hash d57f8ba49460, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

explain-code 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.

.claude/skills/explain-code/SKILL.md · 16 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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 · 16 lines · 37 tokens per session scan A d57f8ba49460

Subscribe to this mod's changes

explain-code is a skill published in the GitHub repository babushkai/claude-code-config (10 stars, last pushed 5mo ago), with no licence file. It adds 37 tokens to every session and 144 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-08-31.

Related

Other skills, from other repositories

loop-engineering

The engineering loop - select, advance, distill, deliver - for running a work session on a project. Invoke when STARTING a session or picking the next thing to work on; sizing a unit of work or matching it to your model tier; running long/autonomously and deciding pace or when to stop; deciding where a learning should…

telagod/code-abyss · 97 tokens

resume-builder

Use this skill whenever the user wants to create, improve, optimize, review, or rewrite a resume, CV, curriculum vitae, or hoja de vida. Triggers include: any mention of 'resume', 'CV', 'curriculum', 'hoja de vida', 'job application', 'ATS optimization', 'resume review', 'cover letter', or requests to prepare…

mamahoos/dot-files · 183 tokens

video-editor-full

全栈视频后期制作 Skill:Whisper 转录 → auto-editor 去静音 → ffmpeg 精剪(PIP放大镜/章节标题/加速/字幕烧录)→ Remotion 动画片段 → HyperFrames 品牌视频。 适用场景:教程视频后期、口播去死空气、宣传片生成、多平台导出。.

1596941391qq/ai-openclaw-skeletons · 83 tokens

diffscope

코드 변경을 학습용 브리핑으로 바꾼다. 변경 지도 시각화 + 동작 차이 추적 + Python 문법 해설을 한 번에 터미널에 출력한다. Stop hook이 "[diffscope] 이번 턴에 소스 파일 N개가 변경되었다"라는 지시와 함께 patch 경로를 넘기면 반드시 이 스킬을 사용할 것. 사용자가 "방금 뭐 바뀐 거야", "이번 변경 설명해줘", "변경사항 설명", "이 코드 이해 안 돼", "브리핑", "다시 설명해줘", "더 자세히", "쉽게 다시", "문법만 다시", "로직만 다시", "아까 그 변경 다시 보여줘", "자동 분석 꺼줘/켜줘"라고 할 때도 이…

SWHee/diffscope · 292 tokens

learn

Use at the end of T3 work, after an incident/rollback, or when the user asks for a retro — turns what happened into recorded learnings that live in the repo (CHANGELOG entry, typed LEARNINGS.md entries, follow-up tasks, and — only with explicit user approval — new RULES).

AbdurRafay2004/handoff · 66 tokens

rules-architect

Claude Code 自我改进规则架构——五层记忆模型(L0 Hook / L1 个人记忆 / L2 路径规则 / L3 CLAUDE.md / L5 团队经验)+ 五问归位流程 + 3 个核心 Hook + 路径规则入口 + 团队同步。用于用户要求管理规则、解决规则容易遗忘、优化 CLAUDE.md 或 memory、整理规则分布、自动判断规则归位时。L3 审计委托给 claude-md-management:claude-md-improver。.

langlanglanglanglang/rules-architect · 128 tokens