技能圖譜SKILLSGROVE
技能圖譜/短影片與自媒體/Sompote/Tiger_bot/youtube-transcript

youtube-transcript

安裝

$npx skills add https://github.com/Sompote/Tiger_bot --skill youtube-transcript
$git clone --depth 1 https://github.com/Sompote/Tiger_bot.git /tmp/Tiger_bot && mkdir -p ~/.claude/skills && cp -r /tmp/Tiger_bot/skills/youtube-transcript ~/.claude/skills/youtube-transcript
請幫我安裝這個 Agent Skill:https://github.com/Sompote/Tiger_bot/tree/370409497ac11e8fc5dde5e4667068ed0aacf0ae/skills/youtube-transcript ,先閱讀它的 SKILL.md 和指令碼,確認安全後再安裝到我的技能目錄。

簡介

原文描述 · MITFetch and summarize YouTube video transcripts. Use when asked to summarize, transcribe, or extract content from YouTube videos. Handles transcript fetching via residential IP proxy to bypass YouTube's cloud IP blocks.
以下 SKILL.md 內容轉載自 Sompote/Tiger_bot(提交 3704094),依據 MIT 許可證轉載正文(文字未改動;僅省略檔案頭後設資料、將圖片顯示為連結,超長內容會截斷);版權歸 2025 AI Research Group, Department of Civil Engineering, 所有。許可證:LICENSE。僅展示說明檔案,附帶指令碼請在原倉庫檢視。

YouTube Transcript

Fetch transcripts from YouTube videos and optionally summarize them.

Quick Start

python3 scripts/fetch_transcript.py <video_id_or_url> [languages]

Examples:

python3 scripts/fetch_transcript.py dQw4w9WgXcQ
python3 scripts/fetch_transcript.py "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
python3 scripts/fetch_transcript.py dQw4w9WgXcQ "fr,en,de"

Output: JSON with video_id, title, author, full_text, and timestamped transcript array.

Workflow

  1. Run fetch_transcript.py with video ID or URL
  2. Script checks VPN, brings it up if needed
  3. Returns JSON with full transcript text
  4. Summarize the full_text field as needed

Language Codes

Default priority: en, fr, de, es, it, pt, nl

Override with second argument: python3 scripts/fetch_transcript.py VIDEO_ID "ja,ko,zh"

Setup & Configuration

See references/SETUP.md for:

  • Python dependencies installation
  • WireGuard VPN configuration (required for cloud VPS)
  • Troubleshooting common errors
  • Alternative proxy options
檢視許可證全文(MIT)
MIT License

Copyright (c) 2025 AI Research Group, Department of Civil Engineering,
King Mongkut's University of Technology Thonburi (KMUTT)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.