Token导航 LogoToken导航

Agent Skill · 研究检索

youtube-clip-extractor(youtube 剪辑提取器)

youtube-clip-extractor 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

youtube-clip-extractor 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 56,831。

总安装 445周安装 18GitHub Stars 4下载 140核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:youtube-clip-extractor(youtube 剪辑提取器)
来源仓库:https://github.com/cdeistopened/opened-vault
仓库路径:skills/youtube-clip-extractor
安装命令:
npx skills add https://github.com/cdeistopened/opened-vault --skill youtube-clip-extractor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/cdeistopened/opened-vault --skill youtube-clip-extractor

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息。适合根据关键词或任务场景快速定位候选结果。可结合来源仓库和 README 核验具体用法。安装命令:npx skills add https://github.com/cdeistopened/opened-vault --skill youtube-clip-extractor。

安装前建议确认权限范围和维护状态。

来源仓库内路径:skills/youtube-clip-extractor

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/cdeistopened/opened-vault --skill youtube-clip…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

youtube-clip-extractor 怎么安装?

在终端执行 npx skills add https://github.com/cdeistopened/opened-vault --skill youtube-clip-extractor。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

youtube-clip-extractor 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

youtube-clip-extractor 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

youtube-clip-extractor 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

youtube-clip-extractor 用的人多吗?

公开数据是累计安装 445 次,近一周安装 18 次,下载 140 次,GitHub 4 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

youtube-clip-extractor 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
youtube-clip-extractor

youtube 剪辑提取器 · 本页

4454需要联网未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

YouTube Clip Extractor

Overview

This skill downloads YouTube videos, analyzes transcripts for compelling clip moments, extracts clips using ffmpeg, and generates platform-ready on-screen text and captions. It integrates with the existing caption and social content skills to deliver complete, publishable assets.

When to Use This Skill

  • You have a YouTube URL and want to extract the best clips
  • You want automated clip identification based on hook/coda criteria
  • You need clips cut and ready for Descript or other editors
  • You want on-screen text hooks and platform-specific captions for each clip

Do NOT use for:

  • Full podcast production workflow (use podcast-production skill instead)
  • Text-only social posts (use social-content-creation skill)
  • Already-downloaded videos (skip to Phase 2)

Prerequisites

Required Tools (install via Homebrew)

brew install yt-dlp ffmpeg

File Location

All downloads go to: Content/YouTube Transcripts/

Structure:

Content/YouTube Transcripts/
├── {video_id}.mp4              # Full video (H.264 encoded)
├── {video_id}.en.vtt           # Timestamped subtitles
└── clips/
    └── {video_id}/
        ├── clip_01_{name}.mp4  # Individual clips
        ├── clip_02_{name}.mp4
        └── {video_id}_Clip_Assets.md  # Captions & hooks

The 4-Phase Workflow

Phase 1: Download Video & Transcript

Goal: Get video and subtitles from YouTube URL

Step 1: Download with H.264 Encoding

Use H.264 format for Descript compatibility (NOT AV1):

# Download video in H.264 format (Descript-compatible)
yt-dlp -f "bestvideo[vcodec^=avc]+bestaudio[ext=m4a]/best[vcodec^=avc]" \
  --merge-output-format mp4 \
  -o "Content/YouTube Transcripts/{video_id}.mp4" \
  "YOUTUBE_URL"

# If H.264 unavailable, download best quality then re-encode:
yt-dlp -f "bestvideo+bestaudio" --merge-output-format mp4 \
  -o "Content/YouTube Transcripts/{video_id}_temp.mp4" \
  "YOUTUBE_URL"

# Re-encode to H.264 for Descript compatibility
ffmpeg -i "{video_id}_temp.mp4" -c:v libx264 -preset fast -crf 22 \
  -c:a aac -b:a 128k "{video_id}.mp4"
Step 2: Download Subtitles
yt-dlp --write-auto-sub --sub-lang en --skip-download \
  -o "Content/YouTube Transcripts/{video_id}.%(ext)s" \
  "YOUTUBE_URL"
Phase 1 Output:
  • {video_id}.mp4 — Full video (H.264)
  • {video_id}.en.vtt — Timestamped subtitles

Phase 2: Analyze Transcript for Clips

Goal: Identify 5-8 compelling clip moments with strong hooks and codas

Clip Selection Criteria

A good clip has:

  1. Strong Hook (First 3 Seconds)

- Polarizing statement ("Your kid's addiction is actually genius") - Counter-intuitive reveal ("My son's first job sucked. Perfect.") - Direct challenge ("Never give up on the weird kid") - Curiosity gap ("Then everything changed...")

  1. Complete Arc (30-90 seconds)

- Clear beginning, middle, end - Not just a "good quote" — a complete thought - Setup → Tension → Resolution OR Setup → Tension → Cliffhanger

  1. Stakes

- Why does this matter? - Who cares? - What's at risk?

  1. Strong Coda/Ending

- Insight or surprising conclusion - Cuts right before the answer (cliffhanger) - Quotable final line

Scan Transcript For:

Inflection Points:

  • "Then everything changed..."
  • "I realized..."
  • "That's when I knew..."
  • "The moment I..."

Vulnerability Moments:

  • Personal stakes, failures, struggles
  • "I was terrified..."
  • "I almost gave up..."
  • "Nobody believed..."

Contradiction Moments:

  • "We thought X but actually..."
  • "Everyone says... but the truth is..."
  • "The opposite happened..."

Surprising Insights:

  • Research, data, unexpected findings
  • Counter-intuitive conclusions
  • "What we found was..."

Character in Action:

  • Showing, not telling
  • Doing, not describing
  • Specific moments, not abstractions
Quality Tests (Pass 4/5):
  • Stranger Test: Would someone with zero context care?
  • Itch Test: Creates need to know more?
  • Stakes Test: Clear why it matters?
  • Tease Test: Hints without giving away?
  • Emotion Test: Feel something in first 5 seconds?
Phase 2 Output Format:

Create analysis document with clip recommendations:

# {Video Title} - Clip Analysis

## Video Details
- **URL:** [YouTube URL]
- **Duration:** [Total length]
- **Speaker(s):** [Names]
- **Topic:** [Primary subject]

---

## Recommended Clips

### CLIP 1: "{Descriptive Name}"
**Timestamp:** `MM:SS - MM:SS` (XX seconds)
**Hook:** [First line or opening moment]
**Arc:** [Setup → Middle → Ending summary]
**Coda:** [How it ends / final line]

**Key Quotes:**
- "[Verbatim quote 1]"
- "[Verbatim quote 2]"
- "[Verbatim quote 3]"

**Quality Tests:** Stranger ✅ | Itch ✅ | Stakes ✅ | Tease ✅ | Emotion ✅
**Why It Works:** [1-2 sentence rationale]
**Priority:** HIGH / MEDIUM / LOW

---

### CLIP 2: "{Descriptive Name}"
[Repeat structure...]

---

## Summary Table

| # | Clip Name | Timestamp | Length | Hook | Coda | Priority |
|---|-----------|-----------|--------|------|------|----------|
| 1 | [Name] | MM:SS-MM:SS | XXs | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | HIGH |
| 2 | [Name] | MM:SS-MM:SS | XXs | ⭐⭐⭐⭐ | ⭐⭐⭐⭐ | HIGH |
| 3 | [Name] | MM:SS-MM:SS | XXs | ⭐⭐⭐ | ⭐⭐⭐⭐ | MEDIUM |

Phase 3: Cut Clips with FFmpeg

Goal: Extract approved clips as separate video files

Cutting Commands

Basic clip extraction (fast, uses keyframes):

ffmpeg -i "{video_id}.mp4" -ss MM:SS -to MM:SS -c copy \
  "clips/{video_id}/clip_01_{name}.mp4"

Precise cutting with re-encoding (slower but frame-accurate):

ffmpeg -ss MM:SS -i "{video_id}.mp4" -t DURATION \
  -c:v libx264 -preset fast -crf 22 -c:a aac -b:a 128k \
  "clips/{video_id}/clip_01_{name}.mp4"

Notes:

  • -ss before -i = faster seeking (recommended)
  • -c copy = no re-encoding (fast but may have keyframe issues)
  • -c:v libx264 = re-encode to H.264 (slower but precise)
  • Use H.264 output for Descript compatibility
Batch Cutting Example
# Create clips directory
mkdir -p "Content/YouTube Transcripts/clips/{video_id}"

# Cut each clip
ffmpeg -i "{video_id}.mp4" -ss 06:59 -to 08:10 -c copy "clips/{video_id}/clip_01_covid_revelation.mp4"
ffmpeg -i "{video_id}.mp4" -ss 20:50 -to 21:54 -c copy "clips/{video_id}/clip_02_whiteboard_teen.mp4"
ffmpeg -i "{video_id}.mp4" -ss 25:00 -to 26:10 -c copy "clips/{video_id}/clip_03_college_loans.mp4"
Phase 3 Output:
  • Individual MP4 files for each clip
  • All files in clips/{video_id}/ directory
  • H.264 encoded for Descript compatibility

Phase 4: Generate On-Screen Text & Captions

Goal: Create platform-optimized hooks and captions for each clip

This phase uses the video-caption-creation skill methodology.

For Each Clip, Generate:

1. On-Screen Text Hook (3-5 options)

The text that appears in the first 3 seconds of the video. Must be:

  • 2-4 words maximum (mobile readable)
  • Stops the scroll
  • Passes McDonald's Test (accessible language)
  • Complements (not duplicates) audio

Hook Categories:

  • Polarizing: "Your kid's [negative] is actually genius"
  • Counter-Intuitive: "My son's first job sucked. Perfect."
  • Direct Challenge: "Never give up on the weird kid"
  • Curiosity Gap: "Then everything changed..."

2. Platform-Specific Captions

PlatformOn-Screen TextCaption StyleHashtags
InstagramSameShort, emoji OK, accessible5-10
TikTokSameShort, emoji OK, accessible3-5
YouTube ShortsSameShort, minimal emoji3-5 + #Shorts
FacebookSameSlightly longer, conversational, NO external links0-2

Facebook Difference: Caption can be longer and more conversational. NO hashtags or external links (kills reach).

3. Algorithm Optimization

Per the Triple Word Score system:

  • Audio: Topic words spoken in first 10 seconds
  • On-Screen Text: Reinforces (not competes with) audio
  • Caption: Topic-relevant keywords in first sentence
  • Hashtags: Broad → Mid → Specific → Niche (10-12 total)
Phase 4 Output Format:

Create file: clips/{video_id}/{video_id}_CLIP_PACKAGE.md

# {Video Title} - Clip Package

## Source Video
- **URL:** [YouTube URL]
- **Title:** [Video title]
- **Duration:** [Total length]
- **Downloaded File:** `{video_id}.mp4`

---

## Context

[2-3 sentences explaining the backstory needed to understand the clip. Who is the speaker? What's their situation? What happened before/after the moments in the clip? This context ensures on-screen text and captions are coherent with the actual story.]

---

## Editing Instructions

**SEQUENCE (Rearranged from original - NOT linear):**

| Order | Timestamp | Speaker | Line |
|-------|-----------|---------|------|
| 1 | MM:SS-MM:SS | [Name] | "[Verbatim quote]" |
| 2 | MM:SS-MM:SS | [Name] | "[Verbatim quote]" |
| 3 | MM:SS-MM:SS | [Name] | "[Verbatim quote]" |

**OPTIONAL EXTENSION:**

| Order | Timestamp | Speaker | Line |
|-------|-----------|---------|------|
| 4 | MM:SS-MM:SS | [Name] | "[Verbatim quote]" |

---

## On-Screen Text Hook Options

1. **[Hook text]** - [Category]
2. **[Hook text]** - [Category]
3. **[Hook text]** - [Category]
4. **[Hook text]** - [Category]
5. **[Hook text]** - [Category]
6. **[Hook text]** - [Category]
7. **[Hook text]** - [Category]
8. **[Hook text]** - [Category]
9. **[Hook text]** - [Category]
10. **[Hook text]** - [Category]

---

## Platform Captions

### TikTok / Instagram Reels / YouTube Shorts
[Caption text]

[Hashtags: 3-5]

---

### Facebook
[Longer caption, conversational, NO hashtags]

---

### LinkedIn
[Professional tone caption]

[Hashtags: 3-5]
On-Screen Text Hook Categories
  • Story Setup - Provides context that makes the clip make sense (e.g., "Homeschooler tries public school")
  • Polarizing - Bold statement that divides opinion (e.g., "Most schools are awful")
  • Contrast - Juxtaposition that creates tension (e.g., "First in class. Zero joy.")
  • Curiosity Gap - Teases without revealing (e.g., "#1 out of 1,200 students")
  • Story Tease - Hints at narrative arc (e.g., "She went back to homeschool after this")
  • Pattern Interrupt - Subverts expectations (e.g., "This isn't anti-public school")
Context-Caption Coherence

Critical: On-screen text and captions must be coherent with the actual story in the transcript. Before writing hooks:

  1. Understand the full context (who, what, when, why)
  2. Identify what viewers need to know for the clip to make sense
  3. Choose hooks that accurately represent the story
  4. Avoid hooks that would confuse viewers when they hear the audio

Example: If the clip shows someone criticizing public school, but they were actually a homeschooler who tried public school once, hooks like "Homeschooler tries public school" or "She tried public school for one year" provide necessary context that makes the story coherent.


Complete Workflow Example

# PHASE 1: Download
yt-dlp -f "bestvideo[vcodec^=avc]+bestaudio" --merge-output-format mp4 \
  -o "Content/YouTube Transcripts/cvGtVmI4jTQ.mp4" \
  "https://www.youtube.com/watch?v=cvGtVmI4jTQ"

yt-dlp --write-auto-sub --sub-lang en --skip-download \
  -o "Content/YouTube Transcripts/cvGtVmI4jTQ.%(ext)s" \
  "https://www.youtube.com/watch?v=cvGtVmI4jTQ"

# PHASE 2: Analyze transcript (manual review)
# Read VTT file, identify clips using criteria above

# PHASE 3: Cut clips
mkdir -p "Content/YouTube Transcripts/clips/cvGtVmI4jTQ"
ffmpeg -i "cvGtVmI4jTQ.mp4" -ss 06:59 -to 08:10 \
  -c:v libx264 -preset fast -crf 22 -c:a aac \
  "clips/cvGtVmI4jTQ/clip_01_covid_revelation.mp4"

# PHASE 4: Generate assets (create markdown file with hooks/captions)

Related Skills

This skill integrates with:

SkillWhen to UseWhat It Provides
video-caption-creationPhase 4On-screen text hook categories, Triple Word Score system, platform caption guidelines
youtube-downloaderPhase 1 (alternative)Detailed yt-dlp installation checks, error handling, transcript-only workflow
text-contentAfter clips readyFramework fitting for text posts about clips
podcast-productionFull episode workflowComplete 4-checkpoint production system

Skill Cross-References

From video-caption-creation:

  • Hook categories (Polarizing, Counter-Intuitive, Direct Challenge, Curiosity Gap)
  • Triple Word Score system (Audio + On-Screen + Caption + Hashtags)
  • Platform-specific hashtag counts
  • McDonald's Test for accessibility

From text-content:

  • Platform voice guidelines (LinkedIn vs Facebook vs Instagram)
  • Framework fitting method
  • 360+ templates in references/

Common Mistakes to Avoid

Download Issues

  • ❌ Downloading AV1 codec (Descript can't import)
  • ❌ Not re-encoding to H.264 when needed
  • ❌ Forgetting to download subtitles

Clip Selection Issues

  • ❌ Choosing "good quotes" instead of complete arcs
  • ❌ Clips too long (>90 seconds) or too short (<30 seconds)
  • ❌ No clear hook in first 3 seconds
  • ❌ Giving away the punchline in the hook

Cutting Issues

  • ❌ Cutting at non-keyframes (use re-encode for precision)
  • ❌ Starting mid-sentence
  • ❌ Ending before natural conclusion

Caption Issues

  • ❌ On-screen text too long (>4 words)
  • ❌ Same caption for Facebook as other platforms
  • ❌ External links in Facebook caption
  • ❌ Hashtags in Facebook caption

Quality Checklist

Before delivering clips:

Video Files:

  • All clips are H.264 encoded
  • Each clip is 30-90 seconds
  • Audio and video are synced
  • Clean start/end points (no mid-word cuts)

Clip Selection:

  • Each clip passes 4/5 quality tests
  • Strong hook in first 3 seconds
  • Complete arc (not just a quote)
  • Clear stakes (why it matters)

Captions & Hooks:

  • 3-5 on-screen text options per clip
  • On-screen text is 2-4 words max
  • Platform-specific captions created
  • Facebook caption is different (longer, no hashtags)
  • Hashtag strategy spans broad to niche

Version History

  • v1.1 (2025-12-20): Streamlined output format

- Removed "Target Length" and "Concept" sections from output - Removed "Why This Edit Works" section - Added "Context" section for backstory coherence - Simplified on-screen text hooks to numbered list with categories only - Added "Story Setup" hook category for context-providing hooks - Added "Context-Caption Coherence" guidance - Updated output template to match streamlined format

  • v1.0 (2025-12-02): Initial skill creation

- 4-phase workflow: Download → Analyze → Cut → Caption - Integration with video-caption-creation skill - H.264 encoding for Descript compatibility - Platform-specific caption guidelines - Quality tests from podcast-production skill

平台分布

Codex

36.14%
按下载量换算51

Claude

29.47%
按下载量换算41

Cursor

17.09%
按下载量换算24

Gemini CLI

8.72%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills