Agent skill · Media & Video

youtube-transcribe-skill

Extract subtitles/transcripts from YouTube videos. Triggers: "youtube transcript", "extract subtitles", "video captions", "视频字幕", "字幕提取", "YouTube转文字", "提取字幕".

feiskyergithub.com/feiskyerGitHub ↗
claude-codecodexcopilotMIT
Install
npx skills add feiskyer/claude-code-settings --skill youtube-transcribe-skill --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 4 KB
Bundled scripts: none
Path: skills/youtube-transcribe-skill/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,619
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# YouTube Transcript Extraction Extract subtitles/transcripts from a YouTube video URL and save them as a local file. Input YouTube URL: $ARGUMENTS ## Step 1: Verify URL Confirm the input is a valid YouTube URL (supports `youtube.com/watch?v=`, `youtu.be/`, and `youtube.com/shorts/` formats). If no URL is provided via arguments, check the conversation context for a YouTube link. ## Step 2: CLI Quick Extraction (Priority Attempt) Use command-line tools to quickly extract subtitles. ### 2.1 Check Tool Availability Execute `which yt-dlp`. - If `yt-dlp` is **found**, proceed to 2.2. - If `yt-dlp` is **not found**, skip to **Step 3**. ### 2.2 Get Video Title ```bash yt-dlp --cookies-from-browser=chrome --get-title "[VIDEO_URL]" ``` - **Tip**: Always add `--cookies-from-browser` to avoid sign-in restrictions. Default to `chrome`. - If it fails with a browser error (e.g., "Could not open Chrome"), ask the user to specify their available browser (e.g., `firefox`, `safari`, `edge`) and retry. ### 2.3 Download Subtitles ```bash yt-dlp --cookies-from-browser=chrome --write-auto-sub --write-sub --sub-lang zh-Hans,zh-Hant,en --skip-download --output "<Video Title>.%(ext)s" "[VIDEO_URL]" ``` ###

What's inside
Steps it walks through
  1. Step 1: Verify URL
  2. Step 2: CLI Quick Extraction (Priority Attempt)
  3. 2.1 Check Tool Availability
  4. 2.2 Get Video Title
  5. 2.3 Download Subtitles
  6. 2.4 Convert to Plain Text
  7. 2.5 Verify Results
  8. Step 3: Browser Automation (Fallback)
  9. 3.1 Check Tool Availability
  10. 3.2 Open Video Page
  11. 3.3 Analyze Page State
  12. 3.4 Expand Video Description
  13. 3.5 Open Transcript Panel
  14. 3.6 Extract Content via DOM
Commands it runs
yt-dlp --cookies-from-browser=chrome --get-title "[VIDEO_URL]"
yt-dlp --cookies-from-browser=chrome --write-auto-sub --write-sub --sub-lang zh-Hans,zh-Hant,en --skip-download --output "<Video Title>.%(ext)s" "[VIDEO_URL]"
More from claude-code-settings
All skills →
About this skill
What does the youtube-transcribe-skill skill do?

Extract subtitles/transcripts from YouTube videos. Triggers: "youtube transcript", "extract subtitles", "video captions", "视频字幕", "字幕提取", "YouTube转文字", "提取字幕".

How do I install it?

Run `npx skills add feiskyer/claude-code-settings --skill youtube-transcribe-skill --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From feiskyer/claude-code-settings, a repository with 1,619 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going