Chuyển đến nội dung
Skillpedia
Thu thập dữ liệu web48k · #6232

youtube-transcript-skills

Skill này làm gì

Công cụ này lấy lời nói (bản ghi lời thoại) từ video YouTube, cho phép tìm kiếm video và kênh, và xem nội dung danh sách phát. Nó dùng một dịch vụ miễn phí không yêu cầu đăng ký bằng thẻ tín dụng.

Khi nào nên dùng

  • ✓Khi bạn muốn biết nội dung được nói trong video YouTube mà không cần xem.
  • ✓Khi bạn cần tìm video hoặc kênh cụ thể trên YouTube.
  • ✓Khi bạn muốn xem tất cả video trong một danh sách phát YouTube.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/youtube-transcript-skills/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/youtube-transcript-skills/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Cho tôi xem bản ghi lời thoại của video về trí tuệ nhân tạo trên kênh XYZ.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ kết nối với một dịch vụ trực tuyến để lấy lời nói từ video YouTube. Nó cũng có thể tìm kiếm video hoặc danh sách phát, tùy theo yêu cầu của bạn.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

YouTube Transcript

Overview

Fetches transcripts, search results, and playlist/channel data from YouTube via the getyoutubetranscript.com REST API, so an agent can summarize, quote, search, or analyze a video's actual spoken content without the user copy-pasting it in by hand. No yt-dlp and no Google API key required.

  • source_repo: tubeagentkit/youtube-transcript-skills
  • source_type: community

When to Use This Skill

  • Use when the user wants a YouTube video's transcript fetched, summarized, quoted, or analyzed.
  • Use when the user wants to search YouTube (globally, or within one channel by handle).
  • Use when the user wants a channel handle resolved to a channel ID, or wants a channel's info and upload history.
  • Use when the user wants the videos in a YouTube playlist.

How It Works

Step 1: Get an API key

Every call needs an API key: the YOUTUBE_TRANSCRIPT_API_KEY environment variable, or one the user has already provided. If neither exists, the skill can sign the user up for a free account (100 credits, no card required) via a two-step email + verification-code flow against the API - only after the user has explicitly given consent and an email address to use.

Step 2: Call the API

Base URL: https://getyoutubetranscript.com/api/v1. Send the key as Authorization: Bearer <API_KEY> or x-api-key: <API_KEY>.

  • GET /transcript?v=<VIDEO_ID_OR_URL>&language=en - fetch a transcript.
  • GET /search?q=<query>&type=video|channel - search YouTube.
  • GET /resolve?handle=@name - resolve a channel handle to a channel ID (free).
  • GET /channel/latest?channel=@name - channel info and latest videos (free).
  • GET /channel/videos?channel=@name - a channel's full upload history (paginated).
  • GET /channel/search?channel=@name&q=<query> - search within a channel (paginated).
  • GET /playlist?list=<playlist ID or URL> - playlist videos (paginated).

Step 3: Handle errors and pagination

Every error is JSON with a stable code (e.g. TRANSCRIPT_NOT_FOUND, PAYMENT_REQUIRED, RATE_LIMITED) and a matching HTTP status - relay the message field to the user rather than guessing at a fix. Paginated endpoints return an opaque data.continuation_token; pass it back verbatim as continuation to get the next page, null means no more pages.

Examples

Example 1: Summarize a video

curl -s "https://getyoutubetranscript.com/api/v1/transcript?v=jNQXAC9IVRw&language=en" \
  -H "Authorization: Bearer $YOUTUBE_TRANSCRIPT_API_KEY"

Example 2: Browse a channel's uploads

curl -s "https://getyoutubetranscript.com/api/v1/channel/videos?channel=@mkbhd" \
  -H "Authorization: Bearer $YOUTUBE_TRANSCRIPT_API_KEY"

Best Practices

  • Do reuse an existing YOUTUBE_TRANSCRIPT_API_KEY before offering to create a new account.
  • Do ask explicit consent before sending an email address anywhere during signup.
  • Don't retry a 402 PAYMENT_REQUIRED response - direct the user to top up instead.
  • Don't hammer a 429 RATE_LIMITED response in a retry loop - back off.

Limitations

  • The transcript endpoint returns the full spoken text as one string; there is no per-line timestamp breakdown.
  • This skill does not replace environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, or safety boundaries are missing.

Security & Safety Notes

  • This skill only makes outbound HTTPS requests to getyoutubetranscript.com endpoints, plus - during first-time setup - an email address the user explicitly provides. It runs no other shell commands and installs nothing.
  • Never persist a newly issued API key to a shell profile or other file without the user's explicit confirmation first.

Common Pitfalls

  • Problem: Assuming the transcript response includes timestamps. Solution: Tell the user timestamps aren't available from this endpoint rather than inventing them.

Related Skills

  • @youtube-full - an alternative YouTube transcript/search/channel/playlist skill backed by a different upstream API.
Câu hỏi thường gặp

Tôi có phải trả tiền để dùng không?

Không, dịch vụ có gói miễn phí không yêu cầu thẻ tín dụng. Có thể có giới hạn sử dụng.

Bản ghi lời thoại có mốc thời gian cho từng đoạn nói không?

Không, công cụ này trả về toàn bộ văn bản lời nói nhưng không cho biết chính xác thời điểm mỗi từ được nói.

Tôi có cần tài khoản YouTube để dùng không?

Bạn không cần tài khoản YouTube để dùng công cụ này.

Chi tiết

Mô tả gốc của tác giả

Fetch YouTube video transcripts, search videos/channels, browse channels, and extract playlists via the getyoutubetranscript.com API - free tier, no card required.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#6232
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự