code-walkthrough

code-walkthrough is a skill for Claude Code from imMamdouhaboammar/get-fable. It costs 20 tokens per session (587 once invoked), scanned A, original, MIT.

A guide for creating an interactive explanation of an unfamiliar codebase or selected part of it.

In plain words
What is it for?
Use it to explain a file, directory, or pull request through annotated code snippets and expandable sections.
Why use it?
It helps a newcomer understand what the code does, how pieces connect, and why the implementation is structured that way.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the get-fable plugin — 78 skills, 1 agent, 5 hooks shipped together

Good fit Use it to explain a file, directory, or pull request through annotated code snippets and expandable sections.

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

Made for: Claude Code.

Or install get-fable, the plugin that ships this one along with the rest of its 78 skills, 1 agent, 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 code-walkthrough

README.md
[![agentmods](https://agentmods.dev/badge/skills/immamdouhaboammar/get-fable/code-walkthrough.svg)](https://agentmods.dev/skills/immamdouhaboammar/get-fable/code-walkthrough)
Your own site
<a href="https://agentmods.dev/skills/immamdouhaboammar/get-fable/code-walkthrough"><img src="https://agentmods.dev/badge/skills/immamdouhaboammar/get-fable/code-walkthrough.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 587 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.00020 $0.00587
Opus 5 $0.00010 $0.00293
Sonnet 5 $0.00004 $0.00117
Haiku 4.5 $0.00002 $0.00059

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

Security

Grade A, and why

code-walkthrough 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 7d 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.

assets/skills/claude-code/code-walkthrough/SKILL.md · 61 lines

How it starts

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


name: code-walkthrough
description: Generate an interactive walkthrough artifact explaining code in this project — expandable sections, annotated snippets, and "why this matters" callouts, pitched at someone seeing the code for the first time.

No target was given. Ask the user which file, directory, or PR they want explained — one short question — and stop until they answer.

Goal

Produce an interactive explainer artifact for the target above — a
self-contained HTML page a newcomer can read top-to-bottom to understand what
this code does, how it fits together, and why it's built the way it is. Pitch
the writing at explain-like-I'm-new-here: assume the reader is a capable
engineer who has never seen this codebase.

Explore first

Read the target and whatever it immediately depends on (callers, callees,
types it mentions, tests that exercise it). Build a mental model before
writing a word of the artifact. The artifact is only as good as your
understanding.

Structure of the artifact

Write an HTML file and publish it with the Artifact tool. Load
the artifact-design skill first and give the page a
utilitarian treatment — this is a document, not a landing page.

The page should contain, in this order:

  1. One-paragraph summary — what the target is for, in plain language.
  2. Map — a short list or simple diagram of the main pieces and how they
    connect. For a single file this is the key functions/types; for a
    directory it's the files; for a PR it's the before→after.
  3. Walkthrough sections — one <details> block per piece from the map.
    Inside each:
    • A plain-language explanation of what this piece does.
    • An annotated code snippet: the real code (trimmed to the relevant
      lines) with inline explanations of the non-obvious parts.
    • A "why this matters" callout — what would break or be worse if this
      piece didn't exist or worked differently.
  4. Open questions — anything you couldn't determine from the code that a

Read the full file on GitHub · 61 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. 7d ago First seen · 61 lines · 20 tokens per session scan A e543002450e8

Subscribe to this mod's changes

code-walkthrough is a skill published in the GitHub repository imMamdouhaboammar/get-fable (3 stars, last pushed 2d ago), licensed MIT. It adds 20 tokens to every session and 587 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.