Agent Skills
YouTube
YouTube Data API for video and channel data
YouTube Data API allows searching videos, retrieving video details, channel information, playlists, and comments.
Required Environment
| Name | Type | Description |
|---|---|---|
YOUTUBE_API_KEY | secret | API key from Google Cloud Console |
Configuration
version: "1.0"
agents:
my-agent:
framework: claude-code
skills:
- https://github.com/vm0-ai/vm0-skills/tree/main/youtubeRun
Store your secret on the platform (recommended, one-time setup):
vm0 secret set YOUTUBE_API_KEY your-youtube-api-keyThen run your agent - secret is automatically loaded:
vm0 run my-agent "search YouTube videos"For CI/CD or temporary overrides, pass secrets at runtime: --secrets YOUTUBE_API_KEY=value. See Environment Variables for details.
Example Instructions
# YouTube Search Agent
You search and analyze YouTube videos.
## Workflow
1. Search videos by keyword
2. Get video details
3. Extract statistics
4. Return formatted results
## Data Available
- Title, description, views, likes# Channel Analyzer Agent
You analyze YouTube channels.
## Workflow
1. Get channel information
2. List channel videos
3. Analyze engagement
4. Generate report
## Metrics
- Subscribers, video count, views