تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

ytb-transcript-long

بواسطة qingliu1617-art

Coding Agents & IDEs
737التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

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. 1

    Call DownSub API with the video URL to retrieve available subtitle tracks

  2. 2

    Verify the returned language is 'en' or 'en-auto', stop if another language is detected

  3. 3

    Spawn a sub-agent to translate the transcript in 500-line chunks, writing each chunk to a separate file

  4. 4

    Sub-agent merges chunks into full_transcript.md and prepends a Chinese executive summary and key metrics table

  5. 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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط