yt-shorts — Claude Code skill: what it does, how to install
yt-shorts — a Claude Code skill that scans long video transcripts to extract standalone segments and write Shorts scripts. It triggers on requests to clip or repurpose videos.
MIT 1,300 installs ★ 6,796 updated 2026-09-16
npx skills add Jakeschincariol/youtube-agent-skill --skill yt-shorts -a claude-codeWhat yt-shorts does
This skill identifies self-contained 20 to 55 second segments inside a video transcript. Instead of picking arbitrary highlights, it filters for moments that make sense without preceding context. Each candidate must open with a complete statement, include a claim backed by a twist or proof, and finish cleanly. The tool outputs the top five candidates with their exact timestamps.
For selected segments, it drafts an entirely new opening hook rather than keeping the video's original line. It writes on-screen overlay copy for the opening two seconds, plans a loop point so the final sentence feeds into the start, and provides notes on 16:9 vertical crop limits.
Auto-publishing is intentionally absent. The output arrives as a text block ready for manual copying, closing with a prompt to ship or edit. Scoring the opening line relies on ../yt-script/hookscore.py.
What it helps with
- find standalone segments inside a long transcript
- write new opening hooks tailored for short videos
- design clean loop points connecting the end to the start
- draft on-screen text overlays for the opening seconds
Example prompts for the agent
- Cut this transcript into shorts
- What should I clip from this video?
- Repurpose this video into short clips
How to install yt-shorts
1Skills CLI (Vercel)
npx skills add Jakeschincariol/youtube-agent-skill --skill yt-shorts -a claude-code2Manually: put the files in place
~/.claude/skills/yt-shorts/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/yt-shorts/
1Skills CLI (Vercel)
npx skills add Jakeschincariol/youtube-agent-skill --skill yt-shorts -a codex2Manually: put the files in place
.agents/skills/yt-shorts/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add Jakeschincariol/youtube-agent-skill --skill yt-shorts -a cursor2Manually: put the files in place
.cursor/skills/yt-shorts/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install Jakeschincariol/youtube-agent-skill skills/yt-shorts2Manually: put the files in place
.github/skills/yt-shorts/SKILL.md1Skills CLI (Vercel)
npx skills add Jakeschincariol/youtube-agent-skill --skill yt-shorts -a gemini-cli2Platform CLI
gemini skills install https://github.com/Jakeschincariol/youtube-agent-skill --path skills/yt-shortsManually: put the files in place
.devin/skills/yt-shorts/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add Jakeschincariol/youtube-agent-skill --skill yt-shorts -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about yt-shorts
How to install yt-shorts in Claude Code?
Run npx skills add Jakeschincariol/youtube-agent-skill --skill yt-shorts -a claude-code. The file will be placed in ~/.claude/skills/yt-shorts/SKILL.md.
What does yt-shorts do?
It scans video transcripts for self-contained segments between 20 and 55 seconds, then writes short-form scripts complete with hooks and loop points.
What is required for yt-shorts to work?
You need a text transcript of the video and the companion script at ../yt-script/hookscore.py to evaluate replacement opening lines.
Source text
SKILL.md · MIT
--- name: yt-shorts description: >- Find the Shorts hiding inside a long video and write them, using the transcript to pick self-contained moments. Use for "cut this into shorts", "clip this", "repurpose this video", "what should I clip". --- # yt-shorts A Short cut out of a long video is not a clip of the best moment. It is a moment that **survives without the video around it**, which is a much smaller set. ## Picking Read the transcript and find spans of 20-55 seconds where all three are true: 1. It opens on a complete thought. If the first sentence needs the previous minute, it is not a Short. 2. There is a turn in it - a claim, then something that complicates or proves it. 3. It ends on a line, not a trail-off. Rank the candidates and show the user the top five with their timecodes and first line, so they can reject one without reading the whole transcript. ## Writing each one - **A NEW first line.** The long video's line assumes context this viewer does not have. Write the replacement and run it through `../yt-script/hookscore.py`. - **On-screen text for the first two seconds**, different words from the spoken line. - **A loop point**: what the last line sets up so the first line answers it. - Vertical framing note - what gets cropped out of a 16:9 frame and whether that matters. ## The gate Nothing here publishes. This skill writes and you publish. Every output ends in a block the user copies, and the last line of every run is the question: **ship it, or change it?**
© Jakeschincariol · MIT · Jakeschincariol/youtube-agent-skill