ytb-transcript-long
由 qingliu1617-art 提供
Coding Agents & IDEs简介
YouTube long video (>1 hour) full verbatim transcription and translation workflow.
描述
该技能的功能
Fetches subtitles from YouTube videos over 1 hour using the DownSub API, then translates the English transcript to Chinese verbatim. Handles context limits by processing in 500-line chunks via sub-agents, and outputs a markdown file with an executive summary and a key metrics table.
Splits work across sub-agents in 500-line chunks, so videos that exceed a single session's context limit can still be fully transcribed and translated.
何时使用
- Transcribing a 2-hour conference keynote for offline reading
- Translating an English YouTube lecture into Chinese study notes
- Extracting a full verbatim record of a long YouTube interview
- Summarizing a multi-hour documentary into key talking points
- Converting a lengthy coding tutorial into a searchable markdown document
示例工作流
User asks: Translate this 90-minute YouTube video to Chinese
- 1
Call DownSub API with the video URL to retrieve available subtitle tracks
- 2
Verify the returned language is 'en' or 'en-auto', stop if another language is detected
- 3
Spawn a sub-agent to translate the transcript in 500-line chunks, writing each chunk to a separate file
- 4
Sub-agent merges chunks into full_transcript.md and prepends a Chinese executive summary and key metrics table
- 5
Return the file path to the user, or upload via zhiyan MCP if the tool is available
full_transcript.md containing the complete Chinese translation, an executive summary, and a key metrics table
前置要求
- DownSub API key (Bearer token starting with 'AIza...')
安装
clawhub install qingliu1617-art/ytb-transcript-long运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。