--- name: yt-shorts description: >- Find the moments in a long video that work as Shorts on their own, and write each one a new opening. Use for "cut this into shorts", "clip this", "repurpose this video", "what should I clip". allowed-tools: Bash(python3 ${CLAUDE_SKILL_DIR}/shorts.py *) Bash(python3 ${CLAUDE_SKILL_DIR}/../yt-script/hookscore.py *) --- # yt-shorts A good Short from a long video is not its best moment. It is a moment that **makes sense with nothing around it**, and those are rarer. ```bash python3 ${CLAUDE_SKILL_DIR}/shorts.py transcript.srt # top 5, 20-55s each python3 ${CLAUDE_SKILL_DIR}/shorts.py transcript.srt --top 8 --max 90 --json ``` The tools live in this skill's folder. `${CLAUDE_SKILL_DIR}` is that folder in Claude Code; anywhere it does not expand (claude.ai, Codex), use the folder this SKILL.md was loaded from. It uses `../yt-edit/deadair.py` and `../yt-script/hookscore.py`, so install all three together. To fetch a video's own captions: ```bash yt-dlp --skip-download --write-auto-subs --sub-langs en --sub-format vtt -o transcript "