fabriqaai/fabriqaai-youtube-transcript/fabriqaai-youtube-transcript-2
Claude Code and agent skill by fabriqaai/fabriqaai-youtube-transcript
- community
Checking that the SKILL.md file is still in the repository.
Retrieve YouTube transcripts without MCP using a Python CLI tool. Use when a user asks for full transcript text or available transcript languages from a YouTube URL or video ID. For summaries, key points, or quotes, use AI summarization (prefer a sub-agent when available) to save main-context tokens.
Install
npx vskill@latest install fabriqaai/fabriqaai-youtube-transcript/fabriqaai-youtube-transcript-2SKILL.md
YouTube Transcript Skill
Use this skill to fetch transcripts and transcript languages with a standalone Python CLI tool (no MCP server).
Prerequisites
Install dependency:
Package Knowledge: youtube-transcript-api
Teach and apply these package facts when reasoning about failures or writing code:
- Package role:
- fetch transcript text for a YouTube video
- list available transcript languages
- detect generated vs manual captions
- Common API patterns across versions:
- static-style:
YouTubeTranscriptApi.get_transcript(video_id, languages=[...]) - class list:
YouTubeTranscriptApi.list_transcripts(video_id) - instance-style (newer variants):
api = YouTubeTranscriptApi(); api.list(video_id); api.fetch(video_id, languages=[...])
- Typical transcript item fields:
textstartduration
- Typical language fields:
language_codelanguageis_generated
- Common exception names you should expect and map:
InvalidVideoIdTranscriptsDisabledNoTranscriptFoundVideoUnavailableTooManyRequestsCouldNotRetrieveTranscript
- Reliability guidance:
- try requested language first, then fallback to first available language
- for AI summary workflows, prefer transcript retrieval with
--include-timestamps false - keep tool output structured JSON so downstream AI agents can parse reliably
Core Contract
This skill provides transcript retrieval. Summary and analysis must be done by AI.
- Use the CLI for data retrieval (
transcript,languages). - Do summary/key points/quotes using an AI agent.
- Prefer sub-agent summarization when available to preserve main-context space.
Workflow
- Extract a YouTube URL or 11-character video ID.
- Decide output type:
- Full transcript requested: fetch transcript and return it.
- Summary requested: fetch transcript first, then summarize with AI.
- Context-saving rule for summary:
- If sub-agents are available, run transcript retrieval + summarization in a sub-agent.
- If sub-agents are unavailable, summarize in the current agent after retrieval.
- For long videos, prefer transcript fetch with
--include-timestamps falseunless timestamps are explicitly requested.
Sub-Agent Guidance
When available, use this flow:
- Sub-agent runs transcript fetch command.
- Sub-agent summarizes transcript based on user intent.
- Sub-agent returns concise summary (and optional key quotes).
- Main agent returns the synthesized result without dumping full raw transcript unless the user asks.
Commands
Get transcript with timestamps:
Get transcript as plain text (recommended for summarization):
List available transcript languages:
Output Contract
Default output is JSON (--json true).
Success payload:
ok: true- includes
mode,video_id, and mode-specific payload
Error payload:
ok: falseerror.codeerror.messageerror.hint
Use --json false for readable text output.
Error Handling Guidance
When the tool fails, surface the hint directly and suggest one practical next step:
invalid_video_id: check URL format or use raw 11-char IDtranscripts_disabled: captions disabled by publisherno_transcript: try another language or auto-generated captionsvideo_unavailable: video is private/deleted/restrictedrate_limited: retry later or from a different networkdependency_missing: installyoutube-transcript-api
Defaults
--lang en--include-timestamps true--json true
Security
- Security scanPassed, 70 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingSKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 3
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 6 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/fabriqaai/fabriqaai-youtube-transcript/fabriqaai-youtube-transcript-2)