Youtube playlist

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.

How to use it

Claude Code
  1. Run the line below. It pulls the whole folder into ~/.claude/skills/youtube-playlist.
  2. Describe your job in plain words. Claude Code follows the skill from there.
Claude Code — installs the whole folder, not just SKILL.md
npx degit ZeroPointRepo/youtube-skills/skills/youtube-playlist#main ~/.claude/skills/youtube-playlist

For one project only, change the path to .claude/skills/youtube-playlist.

Claude (web or desktop app)
  1. On this page open ⋯ → Download .md.
  2. Save it as SKILL.md in a folder, zip the folder, then Customize → Skills → + → Create skill → Upload a skill.
  3. Pick the file and Save. Claude shows the name and description and runs a security scan.
  4. Check the skill is switched on.
  5. Start a new chat and describe your job in plain words. The AI follows the skill from there.
ChatGPT or another app
  1. ChatGPT: make a Project and paste it into Instructions.
  2. Neither? Paste it at the top of a new chat — it works for that chat.
Not working?
  • Check which app you pasted it into — the steps above name the right one.
  • Some skills need the paid tier of Claude or ChatGPT.
Step-by-step guide with screenshots · Ask in the forum

Paste into Claude, ChatGPT or Cursor.

Source of Youtube playlist

Show the full text150 lines
namedescriptionversionuser-invocablecompatibilityrequired_environment_variablesmetadata
youtube-playlistUse 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.1.6.0trueRequires internet access to reach transcriptapi.com. No additional runtimes or dependencies needed. - name: TRANSCRIPT_API_KEY prompt: Your TranscriptAPI key (starts with sk_) help: Free account at https://transcriptapi.com — 100 credits, no card required. Or let the agent create one for you. required_for: all API requests{"openclaw":{"emoji":"▶️","requires":{"env":["TRANSCRIPT_API_KEY"]},"primaryEnv":"TRANSCRIPT_API_KEY","homepage":"https://transcriptapi.com"},"hermes":{"tags":["youtube","playlists","video","transcripts","series"],"category":"media"}}

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
Param Required Validation
playlist conditional Playlist URL or ID (PL/UU/LL/FL/OL prefix)
continuation conditional non-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

Code Meaning Action
400 Both or neither params Provide exactly one of playlist or continuation
402 No credits transcriptapi.com/billing
403/1010 Cloudflare block Add or fix User-Agent header
404 Playlist not found Check if playlist is public
408 Timeout Retry once
422 Invalid playlist format Must 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

1---
2name: youtube-playlist
3description: "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."
4version: "1.6.0"
5user-invocable: true
6compatibility: Requires internet access to reach transcriptapi.com. No additional runtimes or dependencies needed.
7required_environment_variables:
8 - name: TRANSCRIPT_API_KEY
9 prompt: Your TranscriptAPI key (starts with sk_)
10 help: Free account at https://transcriptapi.com — 100 credits, no card required. Or let the agent create one for you.
11 required_for: all API requests
12metadata: {"openclaw":{"emoji":"▶️","requires":{"env":["TRANSCRIPT_API_KEY"]},"primaryEnv":"TRANSCRIPT_API_KEY","homepage":"https://transcriptapi.com"},"hermes":{"tags":["youtube","playlists","video","transcripts","series"],"category":"media"}}
13---
14 
15# YouTube Playlist
16 
17Browse playlists and fetch transcripts via [TranscriptAPI.com](https://transcriptapi.com).
18 
19## Setup
20 
21If `$TRANSCRIPT_API_KEY` is not set, read [references/auth-setup.md](references/auth-setup.md) and follow the instructions there to get and store the key.
22 
23## Required Headers
24 
25Every request needs two headers:
26 
27- **Authorization:** `Bearer $TRANSCRIPT_API_KEY`
28- **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.
29 
30## API Reference
31 
32Full OpenAPI spec: [transcriptapi.com/openapi.json](https://transcriptapi.com/openapi.json) — consult this for the latest parameters and schemas.
33 
34## GET /api/v2/youtube/playlist/videos — 1 credit/page
35 
36Paginated playlist video listing (100 per page). Accepts `playlist` — a YouTube playlist URL or playlist ID.
37 
38```http
39# First page
40GET https://transcriptapi.com/api/v2/youtube/playlist/videos?playlist=PL_PLAYLIST_ID
41Authorization: Bearer $TRANSCRIPT_API_KEY
42User-Agent: YourAgent/1.0
43 
44# Next pages
45GET https://transcriptapi.com/api/v2/youtube/playlist/videos?continuation=TOKEN
46Authorization: Bearer $TRANSCRIPT_API_KEY
47User-Agent: YourAgent/1.0
48```
49 
50| Param | Required | Validation |
51| -------------- | ----------- | ---------------------------------------------------- |
52| `playlist` | conditional | Playlist URL or ID (`PL`/`UU`/`LL`/`FL`/`OL` prefix) |
53| `continuation` | conditional | non-empty string |
54 
55Provide exactly one of `playlist` or `continuation`, not both.
56 
57**Accepted playlist ID prefixes:**
58 
59- `PL` — user-created playlists
60- `UU` — channel uploads playlist
61- `LL` — liked videos
62- `FL` — favorites
63- `OL` — other system playlists
64 
65**Response:**
66 
67```json
68{
69 "results": [
70 {
71 "videoId": "abc123xyz00",
72 "title": "Playlist Video Title",
73 "channelId": "UCuAXFkgsw1L7xaCfnd5JJOw",
74 "channelTitle": "Channel Name",
75 "channelHandle": "@handle",
76 "lengthText": "10:05",
77 "viewCountText": "1.5M views",
78 "thumbnails": [{ "url": "...", "width": 120, "height": 90 }],
79 "index": "0"
80 }
81 ],
82 "playlist_info": {
83 "title": "Best Science Talks",
84 "numVideos": "47",
85 "description": "Top science presentations",
86 "ownerName": "TED",
87 "viewCount": "5000000"
88 },
89 "continuation_token": "4qmFsgKlARIYVVV1...",
90 "has_more": true
91}
92```
93 
94**Pagination flow:**
95 
961. First request: `?playlist=PLxxx` — returns first 100 videos + `continuation_token`
972. Next request: `?continuation=TOKEN` — returns next 100 + new token
983. Repeat until `has_more: false` or `continuation_token: null`
99 
100## Workflow: Playlist → Transcripts
101 
102```http
103# 1. List playlist videos
104GET https://transcriptapi.com/api/v2/youtube/playlist/videos?playlist=PL_PLAYLIST_ID
105Authorization: Bearer $TRANSCRIPT_API_KEY
106User-Agent: YourAgent/1.0
107 
108# 2. Get transcript from a video in the playlist
109GET https://transcriptapi.com/api/v2/youtube/transcript?video_url=VIDEO_ID&format=text&include_timestamp=true&send_metadata=true
110Authorization: Bearer $TRANSCRIPT_API_KEY
111User-Agent: YourAgent/1.0
112```
113 
114## Don't know a playlist ID? Find it from the channel
115 
116To browse a channel's playlists first (1 credit/page), then list videos in one of them:
117 
118```http
119# 1. List the channel's playlists
120GET https://transcriptapi.com/api/v2/youtube/channel/playlists?channel=@TED
121Authorization: Bearer $TRANSCRIPT_API_KEY
122User-Agent: YourAgent/1.0
123 
124# 2. List videos in the chosen playlist (playlistId from step 1)
125GET https://transcriptapi.com/api/v2/youtube/playlist/videos?playlist=PLAYLIST_ID
126Authorization: Bearer $TRANSCRIPT_API_KEY
127User-Agent: YourAgent/1.0
128```
129 
130## Extract playlist ID from URL
131 
132From `https://www.youtube.com/playlist?list=PLrAXtmErZgOeiKm4sgNOknGvNjby9efdf`, the playlist ID is `PLrAXtmErZgOeiKm4sgNOknGvNjby9efdf`. You can also pass the full URL directly to the `playlist` parameter.
133 
134## Errors
135 
136| Code | Meaning | Action |
137| -------- | ----------------------- | ------------------------------------------------ |
138| 400 | Both or neither params | Provide exactly one of playlist or continuation |
139| 402 | No credits | transcriptapi.com/billing |
140| 403/1010 | Cloudflare block | Add or fix User-Agent header |
141| 404 | Playlist not found | Check if playlist is public |
142| 408 | Timeout | Retry once |
143| 422 | Invalid playlist format | Must be a valid playlist URL or ID |
144 
1451 credit per page. Free tier: 100 credits, 300 req/min.
146 
147## Copy-paste examples
148 
149Every request in this file as a ready-to-run one-liner: [references/curl-examples.md](references/curl-examples.md)
150 

Discussion