video-explainer
БесплатноЗапускает вложенные скриптыНе проверенTurn a video (YouTube or any yt-dlp URL, or a local file) into a self-contained HTML explainer page whose diagrams are built in pure CSS (flows, timelines…
от mhylle★ 20 звёзд на GitHubОб этом скилле
Video → visual explainer page
Contents
- 1. Prepare the video
- 2. Watch it properly
- 3. Find the explanation, not the transcript
- 4. Choose diagrams
- 5. Screenshots: only when they earn it
- 6. Build the page
- 7. Render, look, fix
- 8. Deliver
Reference files (open one when a step points to it):
references/diagrams.md: Diagram catalog
The 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.
1. Prepare the video
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.- It prints the frame paths (≈80 frames at 512 px for a 3–10 min video) with exact
times:
grab.py --times <that time>returns the same picture at full resolution. (report.mdis 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.
2. Watch it properly
Read
transcript.mdin 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.jsonand 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.
3. Find the explanation, not the transcript
Before writing HTML, decide:
- The thesis: what is this video about, in one sentence? That becomes the headline (a clear statement, not just the video's clickbait title) and the TL;DR.
- 3–6 key takeaways: what someone should remember a week later.
- Sections: follow the video's own structure (chapters, if it has them), merging tiny ones and dropping sponsor reads, intros and outros. Typically 4–7 sections.
- For each section, the shape of the idea: is it a process? a cause-and-effect chain? a change over tim
Установить video-explainer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл video-explainer?
Turn a video (YouTube or any yt-dlp URL, or a local file) into a self-contained HTML explainer page whose diagrams are built in pure CSS (flows, timelines, charts, comparisons, cycles, layers), adding screenshots only where the video's own visuals are the point. Uses the watch plugin to download the video, sample frames and pull the transcript, then genuinely looks at the frames. Use this whenever someone wants a video explained, summarized or broken down as a web page, visual notes, an explainer, a one-pager, study notes or a diagram-based summary, e.g. "make an HTML page explaining this YouTube video", "turn this talk into visual notes", "explain this video with diagrams", "I don't have time to watch this, give me a page I can skim", even if they don't say HTML or CSS. For a quick question about a video, use /watch directly instead.
Как установить скилл video-explainer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл video-explainer запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic