Logo Search Youtube

Search Youtube

Cộng đồng
gupsammy
search-youtube

Nên dùng kỹ năng này khi người dùng yêu cầu “tìm trên YouTube”, “tìm video về”, “lấy bản chép lời”, “tải phụ đề”, “trích xuất âm thanh từ YouTube”, “quét một kênh”, “nghiên cứu chủ đề trên YouTube”, “lấy siêu dữ liệu video”, “có những video nào về”, “tải âm thanh YouTube”, “nghiên cứu YouTube”, “tóm tắt video này”, “video này nói về gì”, “lấy phụ đề từ”, “lấy âm thanh từ”, hoặc cung cấp URL YouTube/Vimeo/video và muốn trích xuất thông tin từ đó. Cũng kích hoạt khi người dùng yêu cầu “tải hàng loạt bản chép lời”, “phân tích một kênh” hoặc thực hiện quy trình nghiên cứu nhiều video.

Add to TypingMind

Tổng quan

Nhà phát hànhgupsammy
Kho mãClaudest
Tên kỹ năngsearch-youtube
Sao
275
Bản fork
16
Tệp đi kèm
4
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 4 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được gupsammy công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Search Youtube trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/gupsammy/Claudest/tree/main/plugins/claude-research/skills/search-youtube
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gupsammy/Claudest.git /tmp/Claudest
mkdir -p .claude/skills
cp -r /tmp/Claudest/plugins/claude-research/skills/search-youtube .claude/skills/search-youtube
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Search Youtube trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Search Youtube ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Search Youtube với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

YouTube Research

Multi-platform video research toolkit. Operates in two modes: toolkit (individual operations) and research (autonomous search-to-synthesis pipeline). All operations use a single CLI at ${CLAUDE_PLUGIN_ROOT}/skills/search-youtube/scripts/yt_research.py.

Run python3 ${CLAUDE_PLUGIN_ROOT}/skills/search-youtube/scripts/yt_research.py <subcommand> --help for full flag reference on any subcommand.

Toolkit Mode

Invoke individual subcommands for targeted operations. Default mode when the user requests a specific action (transcript, search, metadata, audio, channel scan).

Search

Find videos matching a query. Returns structured results with metadata.

bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/search-youtube/scripts/yt_research.py search "<query>" --count 10

Add filters to narrow results: --min-duration 600 (seconds), --after 20250101 (YYYYMMDD), --min-views 50000. Filters are applied client-side after fetching, so the tool over-fetches automatically to compensate. Output is JSON by default; add -f text for human-readable.

Transcript

Download and clean subtitles to LLM-ready text.

bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/search-youtube/scripts/yt_research.py transcript "<url>"

Outputs clean prose to stdout by default. Add --timestamps for SRT with timing cues. Add --save -t <topic> to persist to ~/youtube-research/<topic>/. Use --lang all to list available subtitle languages before downloading. Fallback chain: manual subs then auto-generated. Exit 4 if no subtitles exist in the requested language.

Metadata

Extract full video information without downloading.

bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/search-youtube/scripts/yt_research.py metadata "<url>"

Returns: title, description, channel, duration, chapters, view/like counts, tags, available subtitle languages, thumbnail URL. Add --playlist for playlist entry listings.

Audio

Download audio in the requested format.

bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/search-youtube/scripts/yt_research.py audio "<url>" --audio-format mp3 -t <topic>

Saves to ~/youtube-research/<topic>/audio/. Supported formats: mp3, m4a, opus, wav. Always saves to disk (audio cannot go to stdout). Prints the file path on success.

Channel

Scan a channel's content.

bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/search-youtube/scripts/yt_research.py channel "<url-or-@handle>" --limit 20

Supports tabs: --tab videos (default), shorts, streams, playlists. Filter with --after/--before (YYYYMMDD). Sort with --sort views for most-viewed-first.

Batch Processing

Any subcommand except search accepts --batch <file> (or --batch - for stdin) to process multiple URLs. One URL per line; lines starting with # or ; are skipped.

bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/search-youtube/scripts/yt_research.py transcript --batch urls.txt --save -t <topic>

Research Mode

Activate when the user asks to "research", "investigate", or "find out about" a topic using YouTube as a source. This is an adaptive multi-round discovery pipeline designed for niche and emerging topics where popular videos often under-serve.

Round 1: Divergent Search

Generate 4-6 query variants that cover different angles of the topic:

  • Exact tool/concept name (e.g., "openclaw")
  • Tool + ecosystem context (e.g., "openclaw claude code")
  • Problem the tool solves (e.g., "claude code documentation framework")
  • Workflow/demo framing (e.g., "openclaw walkthrough demo")
  • Alternative names, abbreviations, or common misspellings if applicable

Spawn one Task agent per query variant simultaneously, each running:

bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/search-youtube/scripts/yt_research.py search "<query-variant>" --count 15

Collect all results and deduplicate by video ID. Aim for 30-50 unique candidates across all threads.

Round 1 Evaluation: Niche-First Heuristics

For niche, emerging, or edge-of-tech topics, these signals predict quality:

Positive signals (use these):

  • Title specifically names the tool or concept (not "top AI tools 2025")
  • Small channel (< 50K subscribers) — for new tech, practitioners publish before educators discover the topic
  • Technical, specific description (mentions code, config, architecture, or commands)
  • Structured content: chapters, timestamps, or detailed description
  • Recent upload date

Negative signals (treat as red flags on niche topics):

  • View count > 100K — on a narrow topic this usually means beginner-level or clickbait
  • "Tutorial for beginners" / "complete guide" in the title for brand-new tools
  • Large generalist channel covering many unrelated topics

Select 6-10 candidates from the combined pool. Note which channels produced the strongest results — those are targets for Round 2.

Round 2: Channel Discovery and Refinement

For each channel that surfaced a strong Round 1 result, scan its recent videos:

bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/search-youtube/scripts/yt_research.py channel "<channel-url>" --limit 20

Also run 1-2 refined search queries using specific terminology that appeared in strong Round 1 titles or descriptions. Add any new candidates to the pool.

Quality gate: If Round 1 candidates are weak (generic titles, all high-view generalist content, nothing specifically about the topic), surface this to the user and run another search round with reformulated queries before proceeding to transcripts.

Round 3: Confirm and Transcribe

From the enriched candidate pool, select 4-7 videos using the Round 1 criteria. Extract metadata to confirm relevance before committing to downloads:

bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/search-youtube/scripts/yt_research.py metadata "<url>"

Download transcripts in parallel — always spawn one Task agent per video, even for 2:

bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/search-youtube/scripts/yt_research.py transcript "<url>" --save -t <topic>

Read each transcript and synthesize findings into a report. Use WebSearch or brave-cli to cross-reference claims or fill gaps when YouTube sources disagree or leave questions unanswered.

Research Report Format

Present the synthesis as a structured markdown report:

  • Title and one-paragraph summary of the research question
  • Key findings (3-7 bullet points of the most important takeaways across all sources)
  • Points of agreement between sources (what multiple videos confirm)
  • Points of disagreement (where sources contradict, with attribution)
  • Unique insights (notable points from individual videos not repeated elsewhere)
  • Gaps in coverage (what the sources collectively missed)
  • Sources table: video title, channel, duration, and URL for each video used

Attribute specific claims to their source video. Include timestamps when the transcript preserves them. Save all transcripts under the topic directory for future reference. See examples/research-report.md for a sample report structure.

Research Composability

See references/cli-reference.md for pipeline patterns that chain subcommands with standard Unix tools (search → jq → batch transcript).

Error Recovery

Exit CodeMeaningRecovery Action
0Success—
1Usage errorCheck --help for correct syntax
2yt-dlp not foundTell user to install: pip install yt-dlp
3Network/download errorCheck URL validity; try --cookies <browser> for private/restricted content
4No resultsFor transcripts: try --lang all to list available languages. For search: broaden query or remove filters

Platform Notes

Load references/platforms.md when processing a non-YouTube URL or when a yt-dlp command fails with exit code 3 on an unfamiliar platform. YouTube is the primary platform, but any yt-dlp-supported URL works (Vimeo, Twitter, Twitch, etc.).

After extracting a transcript, read the output and summarize key points for the user unless they asked for raw output only.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Search Youtube làm được gì?

Nên dùng kỹ năng này khi người dùng yêu cầu “tìm trên YouTube”, “tìm video về”, “lấy bản chép lời”, “tải phụ đề”, “trích xuất âm thanh từ YouTube”, “quét một kênh”, “nghiên cứu chủ đề trên YouTube”, “lấy siêu dữ liệu video”, “có những video nào về”, “tải âm thanh YouTube”, “nghiên cứu YouTube”, “tóm tắt video này”, “video này nói về gì”, “lấy phụ đề từ”, “lấy âm thanh từ”, hoặc cung cấp URL YouTube/Vimeo/video và muốn trích xuất thông tin từ đó. Cũng kích hoạt khi người dùng yêu cầu “tải hàng loạt bản chép lời”, “phân tích một kênh” hoặc thực hiện quy trình nghiên cứu nhiều video.

Vì sao nên dùng Search Youtube trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Search Youtube là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Search Youtube trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/gupsammy/Claudest/tree/main/plugins/claude-research/skills/search-youtube. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Search Youtube?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Search Youtube với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Search Youtube với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Search Youtube có miễn phí không?

Kỹ năng này được gupsammy phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇