visual-explainer-diff

visual-explainer-diff is a skill for Claude Code, Codex from jircik/Visual-Explainer. It costs 87 tokens per session (1,827 once invoked), scanned A, original, MIT.

An interactive HTML report that explains how a codebase changed between two Git versions, such as a branch and the main branch. It groups changed files and describes affected architecture layers and data flows.

In plain words
What is it for?
Use it to prepare a visual change report, explain a pull request or commit range, document a release, or help a reviewer understand a feature branch before merging.
Why use it?
Large pull requests can be difficult to understand from a file-by-file diff alone. The report gives reviewers a visual overview of the change and its architectural impact.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is → Detect base branch → confirm range → generate ./visual-explainer/diff.html.

Good fit Use it to prepare a visual change report, explain a pull request or commit range, document a release, or help a reviewer understand a feature branch before merging.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/jircik/Visual-Explainer
agentmods
npx agentmods add skills/jircik/visual-explainer/visual-explainer-diff

Made for: Claude Code, Codex.

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 visual-explainer-diff

README.md
[![agentmods](https://agentmods.dev/badge/skills/jircik/visual-explainer/visual-explainer-diff/github.svg)](https://agentmods.dev/skills/jircik/visual-explainer/visual-explainer-diff)
Your own site
<a href="https://agentmods.dev/skills/jircik/visual-explainer/visual-explainer-diff"><img src="https://agentmods.dev/badge/skills/jircik/visual-explainer/visual-explainer-diff/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 visual-explainer-diff

Your own site · 80×15
<a href="https://agentmods.dev/skills/jircik/visual-explainer/visual-explainer-diff"><img src="https://agentmods.dev/badge/skills/jircik/visual-explainer/visual-explainer-diff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,827 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.00087 $0.01827
Opus 5.5 $0.00035 $0.00731
Sonnet 5.5 $0.00017 $0.00365
Haiku 4.5 $0.00009 $0.00183

Measured 1mo ago against content hash 3516fa23824b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

visual-explainer-diff 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 1mo 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/visual-explainer-diff/SKILL.md · 158 lines

How it starts

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

Visual Explainer — Diff

Generate an interactive HTML dashboard that visually explains what changed between two git refs — added, modified, and deleted files with annotated purpose, which architecture layers were touched, and how primary data flows shifted.

Companion skill to visual-explainer. That skill explains a codebase at rest; this one explains a codebase in motion.

When to Use

  • User asks to visualize, explain, or document a diff, PR, or commit range
  • User wants a change report for review or release notes
  • User needs to understand the architectural impact of a branch before merging
  • User wants to onboard a reviewer to a large PR

When NOT to Use

  • Single-line or single-file diffs (just show the diff inline)
  • Commits with no meaningful code change (formatting, lockfile bumps)
  • The user wants a textual changelog or PR description (use a different tool)

Input

Two git refs. Resolution order:

  1. Explicit args from the user (main..feature/x, HEAD~5 HEAD, <sha1> <sha2>)
  2. If on a feature branch: <default-branch>..HEAD (detect default via git symbolic-ref refs/remotes/origin/HEAD)
  3. Fallback: HEAD~1..HEAD

Confirm the chosen range with the user before running if it was inferred.

Output

A self-contained ./visual-explainer/diff.html file in the project root. Same CDN-only stack as visual-explainer (Mermaid.js, Tailwind CSS, Inter font). Does not overwrite an existing index.html.

Process

Phase 1: Collect

  1. Resolve the range. git merge-base <base> <head> → use the merge-base as BASE, the tip as HEAD.
  2. List changed files. git diff --name-status BASE..HEAD → bucket into Added / Modified / Deleted / Renamed.
  3. Get stats. git diff --numstat BASE..HEAD for per-file insertions/deletions.
  4. Get commit list. git log --oneline BASE..HEAD for the commit narrative.
  5. Skip noise. Lockfiles, generated code, snapshot files, dist/, build/, vendored deps. Same skip list as visual-explainer.

Read the full file on GitHub · 158 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. 1mo ago First seen · 158 lines · 87 tokens per session scan A 3516fa23824b

Subscribe to this mod's changes

visual-explainer-diff is a skill published in the GitHub repository jircik/Visual-Explainer (4 stars, last pushed 5mo ago), licensed MIT. It adds 87 tokens to every session and 1,827 once invoked, about $0.0003 per session on Opus 5.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

address-pr-feedback

Comprehensively addresses PR feedback by fetching all comments, deploying parallel agents for critical analysis of each suggestion, making implementation decisions, then systematically implementing fixes with incremental commits and browser validation. Use when you need to systematically process and implement all PR…

mostafa-drz/claude-skills · 61 tokens

address-pr-comments

Fetches unresolved PR comments, categorizes them (must-fix, suggestion, question, nit), proposes fixes or replies for each, and executes approved actions. Use when addressing PR review feedback or when someone requests changes on your PR.

mostafa-drz/claude-skills · 51 tokens

create-pr

Creates a well-structured pull request with product-focused summary, change highlights, and test steps. Auto-detects base branch, links Linear issues from branch name, and pushes if needed. Use when ready to open a PR or when asking to create a pull request.

mostafa-drz/claude-skills · 57 tokens

understand-diff

Use when you need to analyze git diffs or pull requests to understand what changed, affected components, and risks.

Egonex-AI/Understand-Anything · 27 tokens

skills-pr-handle

Use when explicitly asked to handle a pull request in the Scenario skills repository, including review comments and skill validation.

scenario-labs/skills · 27 tokens

pr-handle-comments

Handle review comments received on GitHub for the current branch's PR or a given PR number or URL, by triaging each unresolved thread, fixing what is warranted, pushing, and replying in each thread, when asked to address, fix or answer PR comments. Works in any Scenario repository.

scenario-labs/skills · 63 tokens