Youtube Playlist skill for Claude

Use when a YouTube playlist is involved: pasted playlist links or IDs, requests to list playlist videos, browse playlist contents, or work through a playlist for transcripts or research. Also use when the user wants all videos from a series, course, or collection. Not for creating playlists or account management.

Youtube Playlist SKILL.md

The full skill file from ZeroPointRepo/youtube-skills (MIT).

YouTube Playlist

Browse playlists and fetch transcripts via TranscriptAPI.com.

Setup

If $TRANSCRIPT_API_KEY is not set, read references/auth-setup.md 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.

GET /api/v2/youtube/playlist/videos — 1 credit/page

Paginated playlist video listing (100 per page). Accepts playlist — a YouTube playlist URL or playlist ID.

# First page
GET https://transcriptapi.com/api/v2/youtube/playlist/videos?playlist=PL_PLAYLIST_ID
Authorization: Bearer $TRANSCRIPT_API_KEY
User-Agent: YourAgent/1.0

# Next pages
GET https://transcriptapi.com/api/v2/youtube/playlist/videos?continuation=TOKEN
Authorization: Bearer $TRANSCRIPT_API_KEY
User-Agent: YourAgent/1.0
ParamRequiredValidation
playlistconditionalPlaylist URL or ID (PL/UU/LL/FL/OL prefix)
continuationconditionalnon-empty string

Provide exactly one of playlist or continuation, not both.

Accepted playlist ID prefixes:

  • PL — user-created playlists
  • UU — channel uploads playlist
  • LL — liked videos
  • FL — favorites
  • OL — other system playlists

Response:

{
  "results": [
    {
      "videoId": "abc123xyz00",
      "title": "Playlist Video Title",
      "channelId": "UCuAXFkgsw1L7xaCfnd5JJOw",
      "channelTitle": "Channel Name",
      "channelHandle": "@handle",
      "lengthText": "10:05",
      "viewCountText": "1.5M views",
      "thumbnails": [{ "url": "...", "width": 120, "height": 90 }],
      "index": "0"
    }
  ],
  "playlist_info": {
    "title": "Best Science Talks",
    "numVideos": "47",
    "description": "Top science presentations",
    "ownerName": "TED",
    "viewCount": "5000000"
  },
  "continuation_token": "4qmFsgKlARIYVVV1...",
  "has_more": true
}

Pagination flow:

  1. First request: ?playlist=PLxxx — returns first 100 videos + continuation_token
  2. Next request: ?continuation=TOKEN — returns next 100 + new token
  3. Repeat until has_more: false or continuation_token: null

Workflow: Playlist → Transcripts

# 1. List playlist videos
GET https://transcriptapi.com/api/v2/youtube/playlist/videos?playlist=PL_PLAYLIST_ID
Authorization: Bearer $TRANSCRIPT_API_KEY
User-Agent: YourAgent/1.0

# 2. Get transcript from a video in the playlist
GET https://transcriptapi.com/api/v2/youtube/transcript?video_url=VIDEO_ID&format=text&include_timestamp=true&send_metadata=true
Authorization: Bearer $TRANSCRIPT_API_KEY
User-Agent: YourAgent/1.0

Don't know a playlist ID? Find it from the channel

To browse a channel's playlists first (1 credit/page), then list videos in one of them:

# 1. List the channel's playlists
GET https://transcriptapi.com/api/v2/youtube/channel/playlists?channel=@TED
Authorization: Bearer $TRANSCRIPT_API_KEY
User-Agent: YourAgent/1.0

# 2. List videos in the chosen playlist (playlistId from step 1)
GET https://transcriptapi.com/api/v2/youtube/playlist/videos?playlist=PLAYLIST_ID
Authorization: Bearer $TRANSCRIPT_API_KEY
User-Agent: YourAgent/1.0

Extract playlist ID from URL

From https://www.youtube.com/playlist?list=PLrAXtmErZgOeiKm4sgNOknGvNjby9efdf, the playlist ID is PLrAXtmErZgOeiKm4sgNOknGvNjby9efdf. You can also pass the full URL directly to the playlist parameter.

Errors

CodeMeaningAction
400Both or neither paramsProvide exactly one of playlist or continuation
402No creditstranscriptapi.com/billing
403/1010Cloudflare blockAdd or fix User-Agent header
404Playlist not foundCheck if playlist is public
408TimeoutRetry once
422Invalid playlist formatMust be a valid playlist URL or ID

1 credit per page. Free tier: 100 credits, 300 req/min.

Copy-paste examples

Every request in this file as a ready-to-run one-liner: references/curl-examples.md

How to install Youtube Playlist

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit ZeroPointRepo/youtube-skills/skills/youtube-playlist#main ~/.claude/skills/youtube-playlist

Codex

npx degit ZeroPointRepo/youtube-skills/skills/youtube-playlist#main ~/.codex/skills/youtube-playlist

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Youtube Playlist skill do?

Use when a YouTube playlist is involved: pasted playlist links or IDs, requests to list playlist videos, browse playlist contents, or work through a playlist for transcripts or research. Also use when the user wants all videos from a series, course, or collection. Not for creating playlists or account management.

+How do I install Youtube Playlist in Claude Code?

Copy the skill folder into ~/.claude/skills/youtube-playlist, for example with "npx degit ZeroPointRepo/youtube-skills/skills/youtube-playlist#main ~/.claude/skills/youtube-playlist". Claude Code loads it automatically and uses it when a task matches.

+Does Youtube Playlist work with ChatGPT or Codex?

Yes. Youtube Playlist uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/youtube-playlist. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Youtube Playlist free?

Youtube Playlist is published on GitHub by ZeroPointRepo under the MIT license, which allows free use.

Related media & video skills

  1. Remotion

    Official

    Generate walkthrough videos from Stitch projects using Remotion with smooth transitions, zooming, and text overlays

    google-labs-code/stitch-skills★ 10k
  2. Banana

    Plan, generate, edit, compare, and review images with Google Gemini (Nano Banana) image models, with an exact plan and explicit approval…

    AgriciDaniel/banana-claude★ 1.2k
  3. Video

    When the user wants to create video with AI tools or code, or asks which approach to use (screen recording, AI avatar, generated, or…

    coreyhaines31/marketingskills★ 61k
  4. Yt

    Use when YouTube is relevant: pasted video links or IDs, @handles, quick video lookups, summaries, channel latest uploads, topic search, or…

    ZeroPointRepo/youtube-skills★ 1.2k
  5. Captions

    Reach for this when caption text from a YouTube video is wanted: reading a video instead of watching it, quoting or translating speech,…

    artemchuikin/youtube-skills★ 275
  6. Subtitles

    Reach for this when subtitles are wanted from a YouTube video: following foreign-language content, reading along, translating speech,…

    artemchuikin/youtube-skills★ 275
  7. Transcript

    Reach for this whenever what was SAID in a YouTube video matters: a pasted link or bare video ID, a summary, quote, translation or…

    artemchuikin/youtube-skills★ 275
  8. Transcriptout

    Reach for this whenever a task touches YouTube, said or unsaid: pasted video/channel/playlist links, IDs and @handles, summaries, quotes,…

    artemchuikin/youtube-skills★ 275
  9. Video Transcript

    Reach for this when a video needs to become text: a pasted YouTube link or ID, a transcribe/summarize/translate request, mining a video for…

    artemchuikin/youtube-skills★ 275

See all media & video skills →

More skills from ZeroPointRepo

  1. Transcript

    Use when the spoken content of a YouTube video is needed — even if not explicitly requested: pasted video links or IDs, requests to…

    ZeroPointRepo/youtube-skills★ 1.2k
  2. Youtube Search

    Use when the user wants to find YouTube content on any topic: searching for videos or channels, finding creators who cover a subject,…

    ZeroPointRepo/youtube-skills★ 1.2k

All skills by ZeroPointRepo →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.