Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

video-chapters-youtube

БесплатноЗапускает вложенные скриптыНе проверен

MP4 chapters to YouTube description chapter lines (0:00 first, 3+ chapters, each 10 s+, short runs merged). Use when writing a video's YouTube description.

laurigatesот laurigates★ 61 звезда на GitHub

Об этом скилле

Chapters to YouTube Description Lines

Turn the chapters embedded in a video file into the m:ss Title lines YouTube reads from a description. The script does the fitting; this page says when to run it and how to read its output.

When to Use This Skill

Use this skill when... Use something else when...
A chaptered MP4 is going to YouTube and its description needs chapter lines Uploading the video or setting its metadata — the youtube plugin does that and links here
The file's chapters break YouTube's rules (a short title card, sub-10 s steps) The video has no chapters yet — write them first (video-timeline-bar shows them on screen)

YouTube's Rules

YouTube shows chapters only when the description lists at least three timestamps, the first at 0:00, and every chapter lasts at least 10 s. A description that breaks any rule gets no chapters at all, with no error.

Execution

python3 -I "${CLAUDE_SKILL_DIR}/scripts/chapters_youtube.py" video.mp4 --merged-label "processing steps"

Stdlib only; needs ffprobe. Lines go to stdout, ready to paste; what was merged goes to stderr.

Option Default Effect
--min 10 Shortest chapter kept as its own line, in seconds
--merged-label first–last labels Label for a merged run of short chapters
--sep " · " Separator between a title's group and its label

What the script does to fit the rules:

  1. Timestamps floor to whole seconds (what YouTube sees), and the first moves to 0:00.
  2. Consecutive chapters shorter than --min merge into one line, named <shared group><sep><merged label>. Without --merged-label the label is <first label>–<last label>.
  3. A chapter or merged run still under --min folds into the line before it (into the next line when it opens the video).
  4. Fewer than three lines left: exit 1 and no stdout, because YouTube would show no chapters.

Real case (shoreline-recon v1 demo, 21 chapters): a 3.5 s Title and six 7.5 s Laajasalo side · frames … Laajasalo side · raw splat chapters per side became

0:00 Laajasalo side · processing steps
0:48 Laajasalo side · splat · arc
...
1:58 Vartiosaari side · processing steps
2:43 Vartiosaari side · splat · arc

Ten lines in all; every chapter of 10 s or more passes through unchanged.

Tests

scripts/tests/test-chapters-youtube.sh runs the merge rules' unit tests (stdlib unittest, no media needed).

Полный SKILL.md на GitHub

Установить video-chapters-youtube в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash(python3 -I ${CLAUDE_SKILL_DIR}/scripts/chapters_youtube.py *)
Read

Вложенные файлы

scripts/chapters_youtube.py

FAQ

Что делает скилл video-chapters-youtube?

MP4 chapters to YouTube description chapter lines (0:00 first, 3+ chapters, each 10 s+, short runs merged). Use when writing a video's YouTube description.

Как установить скилл video-chapters-youtube?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл video-chapters-youtube запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить video-chapters-youtube с