Agent skill
youtube
Query YouTube — search videos, get channel stats, list playlists, and manage comments via the Data API v3.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/youtube-thinkfleetai-thinkfleet-engine
Metadata
Additional technical details for this skill
- thinkfleetbot
-
{ "emoji": "\u25b6\ufe0f", "requires": { "env": [ "GOOGLE_ACCESS_TOKEN" ], "bins": [ "curl", "jq" ] } }
SKILL.md
YouTube
Search videos, get channel stats, and manage playlists via the YouTube Data API v3.
Environment Variables
GOOGLE_ACCESS_TOKEN- OAuth 2.0 access token with YouTube scope
Search videos
curl -s -H "Authorization: Bearer $GOOGLE_ACCESS_TOKEN" \
"https://www.googleapis.com/youtube/v3/search?part=snippet&type=video&q=SEARCH_QUERY&maxResults=5" | jq '.items[] | {videoId: .id.videoId, title: .snippet.title, channel: .snippet.channelTitle}'
Get video details
curl -s -H "Authorization: Bearer $GOOGLE_ACCESS_TOKEN" \
"https://www.googleapis.com/youtube/v3/videos?part=snippet,statistics&id=VIDEO_ID" | jq '.items[0] | {title: .snippet.title, views: .statistics.viewCount, likes: .statistics.likeCount}'
Get channel stats
curl -s -H "Authorization: Bearer $GOOGLE_ACCESS_TOKEN" \
"https://www.googleapis.com/youtube/v3/channels?part=statistics,snippet&id=CHANNEL_ID" | jq '.items[0] | {title: .snippet.title, subscribers: .statistics.subscriberCount, videos: .statistics.videoCount}'
List playlists
curl -s -H "Authorization: Bearer $GOOGLE_ACCESS_TOKEN" \
"https://www.googleapis.com/youtube/v3/playlists?part=snippet&mine=true&maxResults=10" | jq '.items[] | {id, title: .snippet.title}'
Notes
- Access token must have
https://www.googleapis.com/auth/youtube.readonlyscope.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?