Yt

zeropointrepo/youtube-skills/clawhub/yt

作者 zeropointrepo4f7994b94e7d無授權條款1K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫2 天前更新

Use when YouTube is relevant: pasted video links or IDs, @handles, quick video lookups, summaries, channel latest uploads, topic search, or any request involving YouTube content — even if YouTube is not mentioned explicitly. Covers transcripts, search, and channel latest. Not for uploads or account management.

AI 產生的概覽

透過 TranscriptAPI 服務取得 YouTube 字幕、搜尋結果與頻道最新上傳內容。

功能
此技能提供代理呼叫 TranscriptAPI HTTP 端點的指示,用來取得 YouTube 影片字幕、搜尋影片或頻道、列出頻道最新上傳內容,以及將 @handle 解析為頻道 ID。內容說明了必要的請求標頭、請求參數、點數消耗與錯誤碼。產出包括字幕文字、搜尋結果清單,以及含觀看次數與發布日期的頻道上傳中繼資料。
適用情境
當請求涉及 YouTube 內容時使用,例如貼上的影片連結或 ID、@handle、影片摘要、頻道最新上傳或主題搜尋。不適用於上傳影片或管理帳號。
執行需求
需要能連線至 transcriptapi.com 的網路,以及用於所有 API 請求的 TRANSCRIPT_API_KEY 環境變數(以 sk_ 開頭);免費帳號提供 100 點數。請求必須帶有 Authorization bearer 標頭與 User-Agent 標頭。不需要其他執行環境或相依套件,此技能不含指令碼,只有一份用於設定金鑰的參考文件。

yt

Quick YouTube lookup via TranscriptAPI.com.

Setup

If $TRANSCRIPT_API_KEY is not set, read references/auth-setup.md [blocked] and follow the instructions there to get and store the key.

Required Headers

Every request needs two headers:

  • Authorization: Bearer $TRANSCRIPT_API_KEY
  • User-Agent: your agent's name and version if known (e.g. HermesAgent/0.11.0, ClaudeCode/1.0). Version is optional — agent name alone is fine. Do not omit this header or send a bare default — Cloudflare will return a 403 (error code 1010) and block the request.

API Reference

Full OpenAPI spec: transcriptapi.com/openapi.json — consult this for the latest parameters and schemas.

Transcript — 1 credit

bash
curl -s "https://transcriptapi.com/api/v2/youtube/transcript\?video_url=VIDEO_URL&format=text&include_timestamp=true&send_metadata=true" \  -H "Authorization: Bearer $TRANSCRIPT_API_KEY" \  -H "User-Agent: YourAgent/1.0"

Search — 1 credit

bash
curl -s "https://transcriptapi.com/api/v2/youtube/search?q=QUERY&type=video&limit=10" \  -H "Authorization: Bearer $TRANSCRIPT_API_KEY" \  -H "User-Agent: YourAgent/1.0"
ParamDefaultValues
q—1-200 chars (required)
typevideovideo, channel
limit201-50

Channel latest — FREE

bash
curl -s "https://transcriptapi.com/api/v2/youtube/channel/latest?channel=@TED" \  -H "Authorization: Bearer $TRANSCRIPT_API_KEY" \  -H "User-Agent: YourAgent/1.0"

Returns last 15 videos with exact view counts and publish dates. Accepts @handle, channel URL, or UC... ID.

Resolve handle — FREE

bash
curl -s "https://transcriptapi.com/api/v2/youtube/channel/resolve?input=@TED" \  -H "Authorization: Bearer $TRANSCRIPT_API_KEY" \  -H "User-Agent: YourAgent/1.0"

Use to convert @handle to UC... channel ID.

Errors

CodeMeaningAction
401Bad API keyCheck key
402No creditstranscriptapi.com/billing
403/1010Cloudflare blockAdd or fix User-Agent header
404Not foundNo captions or resource doesn't exist
408TimeoutRetry once

Free tier: 100 credits. Search and transcript cost 1 credit. Channel latest and resolve are free.

來源與署名

來源:zeropointrepo/youtube-skills位於clawhub/yt提交4f7994b

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架