How to Use YouTube playlist videos in Gemini CLI
Lists the videos inside a public playlist. Use it to inspect a course, series, or event collection after identifying the playlist you want.
Prompts to try with YouTube playlist videos in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
Use YouTube playlist videos for https://www.youtube.com/playlist?list=PLUl4u3cNGP63WbdFxL8giv4yhgdMGaZNA and create a course viewing checklist in this project from the returned videos.
Use YouTube playlist videos to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from YouTube playlist videos and tell me what changed since last week.
Check YouTube playlist videos and summarize what you find in three bullet points.
Pull the newest data from YouTube playlist videos and give me the result as a table.
How to set up YouTube playlist videos in Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run YouTube playlist videos
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "youtube-com/videos/playlist_videos", "input": { "playlist": "<playlist>" } }'
Then paste one of the prompts above: Gemini CLI finds YouTube playlist videos on Spiral, shows the price and runs it.
YouTube playlist videos providers and prices
Spiral runs YouTube playlist videos through Alexandria. Open a card for today's price, with every fee included.
What can you do with YouTube playlist videos in Gemini CLI?
Build a YouTube research view that connects a publisher's channel identity with its videos, collections, and public discussions. Turn the retrieved records into a searchable catalog for comparing topics and planning coverage.
Audit an educational publisher's catalog
Identify an educational channel, inventory its uploads, Shorts, live streams, and public playlists, then inspect the videos in its course collections. Search for related lessons, check selected video details, and read comments with their replies to collect questions the material could address.
Prepare a product launch report
Identify the brand's channel and review launch uploads, short clips, broadcasts, and playlist collections. Search for additional launch coverage, check the selected videos, and examine public comments and reply threads for recurring product questions.
Build a conference viewing guide
Identify the organizer's channel and collect keynotes, Shorts, stream replays, and session playlists. Inspect playlist contents, search for topic-specific sessions, check video details, and use comment discussions and replies to flag questions for further reading.
Plan follow-up videos from public audience questions
Identify a publisher and review its uploads, Shorts, broadcasts, and playlist contents to see which subjects it covers. Search for related videos, inspect their details, and read comments with their replies to propose follow-up topics grounded in actual discussions.
Review a course playlist
Find a course collection on an educational channel, inspect its video list, and check selected lessons before assembling a viewing plan.
More on YouTube playlist videos and Gemini CLI
Overview
YouTube playlist videos in other agents
Questions about YouTube playlist videos in Gemini CLI
Can Gemini CLI use YouTube playlist videos?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run YouTube playlist videos like any built-in tool.
How much does YouTube playlist videos cost in Gemini CLI?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.
Do I need an Alexandria account to use YouTube playlist videos in Gemini CLI?
No. Spiral runs YouTube playlist videos on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up YouTube playlist videos in Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while YouTube playlist videos runs?
YouTube playlist videos runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.
Does a channel's uploads list include every video format?
YouTube separates long-form videos, Shorts, and live streams into different channel tabs. Review all three when you need a channel's publishing activity across formats.
Can search reveal every video a channel has published?
Unlisted videos normally do not appear in YouTube search or the channel's Videos tab. An unlisted video can appear in search if someone adds it to a public playlist.
How long can a YouTube Short be?
YouTube Shorts can be up to three minutes long. A review limited to videos under one minute can therefore miss Shorts.
Why might a channel have no Shorts or Live tab?
YouTube says the tabs shown depend on the types of videos the channel produces. Videos, Shorts, and Live are possible tabs, rather than a fixed layout for every channel.
Are all YouTube playlists public?
Playlist owners can choose public, private, or unlisted visibility. Public playlists are available for anyone to watch and share.
Start using YouTube playlist videos in Gemini CLI
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini CLI:
set up https://spiral.ai/SKILL.md


