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
- Run the line below. It pulls the whole folder into
~/.claude/skills/youtube-playlist. - Describe your job in plain words. Claude Code follows the skill from there.
npx degit ZeroPointRepo/youtube-skills/skills/youtube-playlist#main ~/.claude/skills/youtube-playlistFor one project only, change the path to .claude/skills/youtube-playlist.
Claude (web or desktop app)
- On this page open ⋯ → Download .md.
- Save it as SKILL.md in a folder, zip the folder, then Customize → Skills → + → Create skill → Upload a skill.
- Pick the file and Save. Claude shows the name and description and runs a security scan.
- Check the skill is switched on.
- Start a new chat and describe your job in plain words. The AI follows the skill from there.
ChatGPT or another app
- ChatGPT: make a Project and paste it into Instructions.
- 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.
Paste into Claude, ChatGPT or Cursor.
Source of Youtube playlist
Show the full text150 lines
| name | description | version | user-invocable | compatibility | required_environment_variables | metadata |
|---|---|---|---|---|---|---|
| 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. Also use when the user wants all videos from a series, course, or collection. Not for creating playlists or account management. | 1.6.0 | true | Requires 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 playlistsUU— channel uploads playlistLL— liked videosFL— favoritesOL— 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:
- First request:
?playlist=PLxxx— returns first 100 videos +continuation_token - Next request:
?continuation=TOKEN— returns next 100 + new token - Repeat until
has_more: falseorcontinuation_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 | |
| 2 | name youtube-playlist |
| 3 | description "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." |
| 4 | version "1.6.0" |
| 5 | user-invocable true |
| 6 | compatibility Requires internet access to reach transcriptapi.com. No additional runtimes or dependencies needed. |
| 7 | required_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 |
| 12 | metadata {"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 | |
| 17 | Browse playlists and fetch transcripts via [TranscriptAPI.com]. |
| 18 | |
| 19 | ## Setup |
| 20 | |
| 21 | If `$TRANSCRIPT_API_KEY` is not set, read [references/auth-setup.md] and follow the instructions there to get and store the key. |
| 22 | |
| 23 | ## Required Headers |
| 24 | |
| 25 | Every 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 | |
| 32 | Full OpenAPI spec: [transcriptapi.com/openapi.json] — consult this for the latest parameters and schemas. |
| 33 | |
| 34 | ## GET /api/v2/youtube/playlist/videos — 1 credit/page |
| 35 | |
| 36 | Paginated playlist video listing (100 per page). Accepts `playlist` — a YouTube playlist URL or playlist ID. |
| 37 | |
| 38 | |
| 39 | # First page |
| 40 | GET https://transcriptapi.com/api/v2/youtube/playlist/videos?playlist=PL_PLAYLIST_ID |
| 41 | Authorization: Bearer $TRANSCRIPT_API_KEY |
| 42 | User-Agent: YourAgent/1.0 |
| 43 | |
| 44 | # Next pages |
| 45 | GET https://transcriptapi.com/api/v2/youtube/playlist/videos?continuation=TOKEN |
| 46 | Authorization: Bearer $TRANSCRIPT_API_KEY |
| 47 | User-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 | |
| 55 | Provide 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 | |
| 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 | |
| 96 | First request: `?playlist=PLxxx` — returns first 100 videos + `continuation_token` |
| 97 | Next request: `?continuation=TOKEN` — returns next 100 + new token |
| 98 | Repeat until `has_more: false` or `continuation_token: null` |
| 99 | |
| 100 | ## Workflow: Playlist → Transcripts |
| 101 | |
| 102 | |
| 103 | # 1. List playlist videos |
| 104 | GET https://transcriptapi.com/api/v2/youtube/playlist/videos?playlist=PL_PLAYLIST_ID |
| 105 | Authorization: Bearer $TRANSCRIPT_API_KEY |
| 106 | User-Agent: YourAgent/1.0 |
| 107 | |
| 108 | # 2. Get transcript from a video in the playlist |
| 109 | GET https://transcriptapi.com/api/v2/youtube/transcript?video_url=VIDEO_ID&format=text&include_timestamp=true&send_metadata=true |
| 110 | Authorization: Bearer $TRANSCRIPT_API_KEY |
| 111 | User-Agent: YourAgent/1.0 |
| 112 | |
| 113 | |
| 114 | ## Don't know a playlist ID? Find it from the channel |
| 115 | |
| 116 | To browse a channel's playlists first (1 credit/page), then list videos in one of them: |
| 117 | |
| 118 | |
| 119 | # 1. List the channel's playlists |
| 120 | GET https://transcriptapi.com/api/v2/youtube/channel/playlists?channel=@TED |
| 121 | Authorization: Bearer $TRANSCRIPT_API_KEY |
| 122 | User-Agent: YourAgent/1.0 |
| 123 | |
| 124 | # 2. List videos in the chosen playlist (playlistId from step 1) |
| 125 | GET https://transcriptapi.com/api/v2/youtube/playlist/videos?playlist=PLAYLIST_ID |
| 126 | Authorization: Bearer $TRANSCRIPT_API_KEY |
| 127 | User-Agent: YourAgent/1.0 |
| 128 | |
| 129 | |
| 130 | ## Extract playlist ID from URL |
| 131 | |
| 132 | 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. |
| 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 | |
| 145 | 1 credit per page. Free tier: 100 credits, 300 req/min. |
| 146 | |
| 147 | ## Copy-paste examples |
| 148 | |
| 149 | Every request in this file as a ready-to-run one-liner: [references/curl-examples.md] |
| 150 |
Discussion
Browse more free Claude skills.