/devflow:video-explainer <video-url-or-path> [what to focus on]from DevFlow Skills Collection
Downloads a video (YouTube, yt-dlp URL, or local file) and produces a self-contained HTML explainer page with pure-CSS diagrams, screenshots, and transcript-based prose. Use when someone wants a video summarized as visual notes or a skimmable one-pager.
Ships in DevFlow Skills Collection. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Reference files (open one when a step points to it):
references/diagrams.md: Diagram catalogThe goal: someone who has not watched the video reads the page in about five minutes and understands what the video said and showed: the argument, the mechanisms, the numbers, the results. Most of that understanding should come from diagrams built in HTML + CSS, with prose that explains rather than transcribes.
Scripts live in scripts/ next to this file. Run them with python on Windows
(python3 is the Microsoft Store stub there) and python3 elsewhere. On Windows,
any ad-hoc Python you write that prints video titles or descriptions needs
PYTHONIOENCODING=utf-8, or emoji crash the console.
python "<skill-dir>/scripts/prepare.py" "<url-or-path>" --work "<work-dir>"
Pick a work dir in your scratch/temp area (e.g. <tmp>/video-explainer-<id>); the
script creates it. It finds the installed watch plugin and runs its pipeline
(yt-dlp download, ffmpeg frames, captions), retrying the download with fallback
yt-dlp settings when YouTube answers 403. Then it writes:
transcript.md: the de-duplicated transcript in ~30 s paragraphs with [MM:SS]
stamps, under the video's own chapter headings when it has chapters. (Raw YouTube
auto-captions repeat every line; this file doesn't.) Read this one.captions.txt: the same words, one caption cue per line with [MM:SS.s]. Grep it
when you need the exact moment a phrase is said, for a timestamp link or a grab.meta.json: title, channel, upload date, duration, chapters, description, tags,
video_path, timestamp_url_template (YouTube deep links), and the frame list.grab.py --times <that time> returns the same picture at full resolution.
(report.md is the watch plugin's raw report; you don't need it.)Useful flags: --start/--end (focus on a section), --max-frames N.
If it fails: missing watch plugin → tell the user to install it
(/plugin marketplace add bradautomates/claude-video, then
/plugin install watch@claude-video). Persistent 403s → pip install -U yt-dlp,
and make sure node or deno is on PATH. No transcript (no captions, no Whisper
key) → carry on frames-only, and tell the user that adding a Groq key to
~/.config/watch/.env would give the page the narration too.
Read transcript.md in full. It's the backbone of what was said.
Read every frame the script listed, in parallel batches of ~20. The frames
show what the narration leaves out: chart values and axes, dates, labels,
on-screen text, diagrams, code, UI, and above all results (what the demo
actually produced). If on-screen text matters but is unreadable at 512 px, grab
that moment at full resolution (step 4's grab.py) and read it.
For a long video (>15 min) frames are sparse. Use the transcript to find the
visual moments ("as you can see", "look at this chart", "here's the result"),
then sample them densely: grab.py <video> --out <work>/look --start 12:00 --end 12:30 --every 3 --width 768.
Fix names. Auto-captions mangle proper nouns, so product, tool, people and
place names often come out wrong, sometimes spelled three different ways in one
video (think "Kubernetes" as "cooper netties"). Check every name against the description and
tags in meta.json and the on-screen text, and use the correct spelling on the
page.
Jot working notes in <work>/notes.md as you go: section boundaries with
timestamps, every claim and number with the timestamp it came from, and things
that are only visible on screen. This keeps facts tied to evidence when you write
the page, and you'll cite those timestamps.
Before writing HTML, decide:
Fidelity matters more than polish. Everything on the page should come from the
video. Attribute arguments ("the video argues…", "the narrator's claim is…") rather
than presenting them as settled fact. When you add your own context, such as a
definition the video assumes, put it in a clearly marked
<aside class="note context"> so readers can tell the video's content from yours.
Never invent numbers; if you read values off an on-screen chart, call them
approximate and cite the timestamp.
A diagram earns its place when it shows a relationship the reader would otherwise
have to hold in their head: sequence, causality, proportion, contrast, structure,
change. A single fact doesn't need a diagram; use a .stat or a sentence. Aim for
roughly one diagram per section (typically 5–10 for a 10-minute video; a request
about a process or workflow can justify more), each with a caption saying what to
notice.
references/diagrams.md is the component catalog: read it before building. It maps
idea shapes to ready-made components (flow, labeled cause-chain, timeline, bars,
compact bars, range/dumbbell, columns, area/line plot, threshold scale, seesaw,
versus, cycle, stack, tree, 2×2 matrix, stats, cards) with copy-ready markup. The CSS
for all of them is already in the template. For charts, get the numbers right with
python scripts/chart_math.py --values … --min … --max …; it prints --v, point
positions, ready-made clip-path polygons and gridline-aligned ticks, so lengths
stay proportional to the real data.
When the video shows a data table or chart on screen, rebuilding it as a CSS chart is usually better than a screenshot: it becomes readable on a phone, searchable, and consistent with the rest of the page. Read values from a full-resolution grab, and say in the caption that they were read off the screen (and are approximate, where they are).
All diagrams are HTML elements styled with CSS: flex/grid boxes, borders,
pseudo-element arrows, clip-path, gradients, color-mix(). No SVG, canvas,
JavaScript or chart libraries. The user wants CSS diagrams, and HTML elements stay
selectable, searchable and responsive. If no catalog component fits, compose a
custom one from the same building blocks and add its CSS at the "page-specific CSS"
marker.
Use colour consistently: one colour per actor or category across the whole page
(e.g. one company always .c1, its rival always .c2), red/green only for bad/good.
Default to zero screenshots, and add one only when the video's own image is the information and no diagram can stand in for it:
| Take a screenshot | Don't |
|---|---|
| The result of a demo: generated output, an animation, a model, a UI, a game | Talking heads, presenters, reaction shots |
| A specific real-world thing the narration points at ("look at this crack") | Title cards, logos, channel branding, subscribe prompts |
| A before/after or side-by-side comparison whose look is the point | Stock footage and b-roll |
| A dense chart whose exact shape matters and can't be rebuilt from stated numbers | Simple charts and slides you can rebuild as a CSS diagram or text (rebuild them; that's the point of the page) |
| Code, terminal or settings that are central and shown, not spoken | Sponsor segments |
Rough expectation: news/explainer videos with motion graphics → 0–2; demos, showcases and tutorials with visual results → 3–8. Each screenshot needs a caption that says what to look at, plus a timestamp link.
python "<skill-dir>/scripts/grab.py" "<video_path from meta.json>" --out "<work>/shots" --times 2:14 3:05
Grabs are full resolution. Add --width 960 if the source is larger, and
--crop W:H:X:Y (source pixels) to cut letterbox margins or isolate the panel that
matters. Read every grabbed image before using it: frames near cuts or fades
are often blurry or mid-transition; shift by ±0.5–1 s and re-grab. Pick the moment
that best shows the point, not just the first one.
Write the page content as <work>/body.html (everything inside <body>: one
<main class="page">…</main>), and any CSS for custom diagrams as
<work>/custom.css. Then assemble:
python "<skill-dir>/scripts/build_page.py" --body "<work>/body.html" --css "<work>/custom.css" -o "<work>/page.html"
It drops your body and CSS into assets/template.html, which holds the full
stylesheet (light and dark themes, responsive layout, all diagram components), sets
the <title> from your <h1>, and warns about unbalanced tags, leftover
placeholders and any SVG/canvas/script. Re-run it after every edit. Read the
template's skeleton <body> once for the expected structure:
.videomap segment per section with --len set to the
section's length in seconds (a proportional map of the video; parts you dropped,
such as sponsor reads, appear as hatched .skip segments), plus the numbered
list with start times..takeaways cards.h2 with number and timestamp link, 1–3 short paragraphs, the
diagram, and optional screenshot, .note or .quote.Reference screenshots relatively (shots/shot_02m14_0s.jpg) so the draft renders
from the work dir. Timestamp links come from timestamp_url_template in meta.json
(…&t=134s); for local files use <span class="ts">2:14</span>. Write in the
language of the user's request. Keep diagram labels short (≤ ~6 words per box):
the prose carries the nuance, the diagram carries the structure.
python "<skill-dir>/scripts/render_check.py" "<work>/page.html" --out "<work>/render" --dark --figures
This renders the page in headless Chrome/Edge at 1280 px and at a true 400 px phone
width (light and dark). It reports horizontal overflow, text overlapping other text
inside figures, clipped text and broken images. It saves page slices (cut between
figures, so a diagram is never split) plus, with --figures, one image per diagram
named after its title; add --scale 2 for a sharper close-up. index.txt in the
output folder maps every image to the diagrams it shows. On re-runs after a small
fix, render only what you need (e.g. --widths 400 --figures) rather than
re-reading every slice.
Read the images, the figure crops above all. The automatic checks catch only some failures, and CSS diagrams fail silently. Look for labels colliding with lines or dots, arrows pointing the wrong way, bars that don't match their numbers, cramped boxes on the phone width, and unreadable colours in dark mode. Fix and re-run until both the report and your eyes are happy. This step is what separates a page that looks right from one that is right.
Inline the screenshots so the result is one self-contained file, written to where the user asked (default: the current working directory, named after the video):
python "<skill-dir>/scripts/inline_assets.py" "<work>/page.html" -o "<output>/<slug>.html"
Then tell the user where the page is, and in a few lines: the sections, how many diagrams, and which screenshots you included and why (or that none were needed and why). The work dir holds the downloaded video and frames (tens of MB). Mention it, and delete it once the user is done with the video.
assets/template.html (opens in a new tab)evals/evals.json (opens in a new tab)references/diagrams.md (opens in a new tab)scripts/build_page.py (opens in a new tab)scripts/chart_math.py (opens in a new tab)scripts/grab.py (opens in a new tab)scripts/inline_assets.py (opens in a new tab)scripts/prepare.py (opens in a new tab)scripts/render_check.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
video-summary, explainer-page, visual-notes, diagram-generation, yt-dlp
npx claudepluginhub mhylle/claude-skills-collection --plugin devflow35 skills in this plugin
/adrDocument architectural decisions in standardized ADR format. This skill should be used when making significant technical decisions, choosing between approaches, establishing patterns, or when other skills (create-plan, implement-plan, brainstorm) identify decisions that need documentation. Triggers on "document decision", "create ADR", "architectural decision", or automatically when invoked by other skills during planning and implementation./adversarial-reviewerAdversarial code review by three independent subagent personas (Saboteur, New Hire, Security Auditor) running in parallel, isolated contexts that know nothing of the author's intent or Claude's earlier conclusions. Reviews a diff by default (staged/unstaged, a ref or a file); --codebase reviews a whole repo or subtree for tech debt, attack surface and knowledge silos. Use before merging a PR; when the user asks for a hostile, harsh, critical, skeptical or second-opinion review; when a /devflow:code-review came back suspiciously clean; when the user is tired after a long session or has a gut feeling something is off; or for a quick audit of an inherited repo ("what am I inheriting"). Differs from /devflow:code-review (routine per-phase review, no isolation) and /devflow:security-review (single-lens OWASP depth)./agent-creatorCreate composable AI agent systems in NestJS projects following the "tools all the way down" architecture. Use this skill when users want to: (1) Create new AI agents with orchestrator/planner/executor/evaluator components, (2) Build agentic systems that can call other agents as tools, (3) Implement DAG-based planning with parallel execution, (4) Add database-backed state persistence for agent runs, (5) Create custom evaluators for quality assurance. Triggers on "create agent", "build agent", "agent system", "agentic", "orchestrator", "planner/executor pattern", or NestJS AI agent requests.
/brainstormRefine a rough idea into a well-structured concept through Socratic questioning, targeted research and one or two fitting analysis frameworks (Six Thinking Hats, SCAMPER, Premortem), then write it to docs/brainstorms/ as the input for planning. Use when the user wants to brainstorm, explore or think through an idea, find holes in a proposal, asks "what am I missing", or wants to shape a concept before planning, whether or not the work is tracked in TaskTracker. The output feeds /create-plan, /tt-create-plan and /user-story./codebase-auditLong-running, resumable adversarial audit of a whole codebase. Splits the repo into partitions, runs /adversarial-reviewer --codebase on each, then synthesizes a cross-partition risk register and a written remediation report. Use for onboarding audits of an inherited codebase, pre-acquisition due diligence, periodic tech-debt health checks, or when the user asks for a comprehensive, thorough, exhaustive or deep review of the whole codebase ("full codebase audit", "code due diligence", "tech debt audit", "what am I inheriting"). Differs from /adversarial-reviewer --codebase, which samples the repo in one pass, and from /code-quality-audit, which measures coverage, complexity, cycles and mutation scores./codebase-researchOrchestrates comprehensive codebase research by decomposing user queries into parallel sub-agent tasks and synthesizing findings. This skill should be used when users ask questions about how code works, where functionality exists, how components interact, or need comprehensive documentation of existing implementations. It focuses exclusively on documenting and explaining the codebase as it exists today.Other plugins' skills for the same job