Agent skill · software engineering · sundial-org
yt-api-cli
Manage your YouTube account from the command line. Complete CLI for YouTube Data API v3 - list/search videos, upload, manage playlists, and more.
Why this skill is useful
Provides specific commands and configuration patterns for managing YouTube accounts via the YouTube Data API that the AI wouldn't reliably generate on its own.
What it needs
Requires go installed locally. Requires google-cloud account access. About 3k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.
What this skill does
yt-api-cli Manage your YouTube account from the terminal. A complete CLI for the YouTube Data API v3. Installation Setup 1. Google Cloud Console Setup 1. Go to Google Cloud Console 2. Create/enable YouTube Data API v3 3. Create OAuth 2.0 credentials (Desktop app) 4. Download client configuration 2. Configure yt-api 3. Authenticate Commands List Operations Search Upload Operations Playlist Management Channel Operations Output Formats Global Flags Flag Short Description ------ ------- ------------- --output -o Output format: json (default), yaml, csv, table --quiet -q Suppress stderr messages --config Path to config file --auth-type Auth method: oauth (default), service-account Environment Variables Variable Description ---------- ------------- YTAPIAUTHTYPE Auth method: oauth or service-account YTAPIOUTPUT Default output format YTAPICLIENTID OAuth client ID YTAPICLIENTSECRET OAuth client secret YTAPICREDENTIALS Path to service account JSON Authentication Methods OAuth 2.0 (Default) Best for interactive use and accessing your own YouTube account. Service Account Best for server-side automation. Quick Diagnostic Commands Error Handling Exit codes: 0 - Success 1 - General error 2 - Authentication error 3 - API error (quota, permissions) 4 - Input error For LLMs and Automation JSON output by default Structured errors as JSON objects --quiet mode for parsing --dry-run validates without executing Stdin support for piping data Notes Requires valid Google Cloud credentials with YouTube Data API v3 enabled OAuth tokens stored in ~/.yt-api/tokens.json (0600 permissions) Default output is JSON (LLM-optimized) Supports all YouTube Data API v3 resources Source GitHub: https://github.com/nerveband/youtube-api-cli
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills sundial-org/yt-api-cli