agentsclimarketplace

Youtube transcript

Skill dorik/youtube-transcript-skill/skills/youtube-transcript

Use when the user wants the transcript, captions, subtitles, or an AI summary of a YouTube video, channel, or playlist — fetches text, translates it, and summarizes it via the Transcript API.From its SKILL.md

Install
npx -y skills add dorik/youtube-transcript-skill --skill youtube-transcript

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.2 KB, as published. Nobody here has run it

YouTube Transcript API

This skill lets you fetch transcripts, translations, and AI summaries for YouTube videos, channels, and playlists through the Transcript API.

Authentication (bring your own key)

This API uses a personal API key.

  1. If you do not already have the user's key, ask them for it. Tell them they can create one in the dashboard under API Keys (https://<dashboard-url>/api-keys).
  2. Store the key in your secure config. Never print it back to the user or write it into logs or files.
  3. Send it on every request as a header: Authorization: Bearer yt_live_....

The base URL is https://yt-transcripts-api-1nwp.onrender.com.

When to use which endpoint

The user wants…Use
Transcript/captions of one videoPOST /v1/transcript
A summary (TL;DR + key points) of one videoPOST /v1/summarize
Transcript translated to another languagePOST /v1/transcript with translate_to
Transcripts for a whole playlist / channel / list of videosPOST /v1/transcripts/bulk
To find videos/channelsGET /v1/search
Recent videos from a channelGET /v1/channel/videos

Full parameter and credit details: see references/api.md.

The polling pattern (important)

Transcript and summarize calls are asynchronous. A successful create returns HTTP 202 with { "id": "..." } — this is success, not an error. Then:

  1. Call GET /v1/transcript/:id.
  2. If status is queued or processing, wait 10–20 seconds before polling again (e.g. sleep 15). Do not poll more often than once every 10 seconds.
  3. Stop when status is completed (use result) or failed (report error).
  4. A create call may instead return 200 with the full result already attached (cache hit) — in that case, skip polling.

Examples

1. Transcript of one video

# create
curl -s -X POST https://yt-transcripts-api-1nwp.onrender.com/v1/transcript \
  -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"url":"https://www.youtube.com/watch?v=VIDEO_ID"}'
# -> {"id":"abc123"}  (HTTP 202)

# poll until completed
curl -s https://yt-transcripts-api-1nwp.onrender.com/v1/transcript/abc123 \
  -H "Authorization: Bearer $KEY"
# -> {"id":"abc123","status":"completed","result":{...transcript...}}

2. AI summary of one video

curl -s -X POST https://yt-transcripts-api-1nwp.onrender.com/v1/summarize \
  -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"url":"https://youtu.be/VIDEO_ID"}'
# poll GET /v1/transcript/:id -> result.summary = {tldr, key_points, model, generated_at}

3. Whole playlist (bulk)

curl -s -X POST https://yt-transcripts-api-1nwp.onrender.com/v1/transcripts/bulk \
  -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"playlist":"https://www.youtube.com/playlist?list=PLAYLIST_ID"}'
# -> {"id":"batch_xyz"} ; poll GET /v1/transcripts/batches/batch_xyz

Handling errors

  • 401 — the key is missing, invalid, or revoked. Ask the user for a valid key.
  • 402 — the account is out of credits or needs a plan upgrade. Tell the user to top up or upgrade; do not retry automatically.
  • 429 — rate limited. Wait until the time in the X-RateLimit-Reset header, then retry.

Alternative: native MCP connection

If the user prefers a native MCP integration instead of REST calls, point them to the Transcript MCP server (it uses OAuth, not an API key). See the main project's MCP documentation. This skill's quickstart uses the REST + API-key path above.

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.