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-longCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.