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.
What this skill does
# yt-api-cli Manage your YouTube account from the terminal. A complete CLI for the YouTube Data API v3. ## Installation ```bash # Using go install go install github.com/nerveband/youtube-api-cli/cmd/yt-api@latest # Or download from releases curl -L -o yt-api https://github.com/nerveband/youtube-api-cli/releases/latest/download/yt-api-darwin-arm64 chmod +x yt-api sudo mv yt-api /usr/local/bin/ ``` ## Setup ### 1. Google Cloud Console Setup 1. Go to [Google Cloud Console](https://console.cloud.google.com) 2. Create/enable YouTube Data API v3 3. Create OAuth 2.0 credentials (Desktop app) 4. Download client configuration ### 2. Configure yt-api ```bash mkdir -p ~/.yt-api cat > ~/.yt-api/config.yaml << EOF default_auth: oauth default_output: json oauth: client_id: "YOUR_CLIENT_ID" client_secret: "YOUR_CLIENT_SECRET" EOF ``` ### 3. Authenticate ```bash yt-api auth login # Opens browser for Google login yt-api auth status # Check auth state ``` ## Commands ### List Operations ```bash # List your videos yt-api list videos --mine # List channel videos yt-api list videos --channel-id UC_x5XG1OV2P6uZZ5FSM9Ttw # List playlists yt-api list playlists --mine # List subscriptions yt-api list subscriptions --mine ``` ### Search ```bash # Basic search yt-api search --query "golang tutorial" # With filters yt-api search --query "music" --type video --duration medium --order viewCount ``` ### Upload Operations ```bash # Upload video yt-api upload video ./video.mp4 \ --title "My Video" \ --description "Description here" \ --tags "tag1,tag2" \ --privacy public # Upload thumbnail yt-api upload thumbnail ./thumb.jpg --video-id VIDEO_ID ``` ### Playlist Management ```bash # Create playlist yt-api insert playlist --title "My Playlist" --privacy private # Add video to playlist yt-api insert playlist-item --playlist-id PLxxx --video-id VIDxxx ``` ### Channel Operations ```bash # Get channel info yt-api list channels --id UCxxx --part snippet,statistics # Update channel description yt-api update channel --id UCxxx --description "New description" ``` ## Output Formats ```bash # JSON (default - LLM-friendly) yt-api list videos --mine # Table (human-readable) yt-api list videos --mine -o table # YAML yt-api list videos --mine -o yaml # CSV yt-api list videos --mine -o csv > videos.csv ``` ## 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 | |----------|-------------| | `YT_API_AUTH_TYPE` | Auth method: oauth or service-account | | `YT_API_OUTPUT` | Default output format | | `YT_API_CLIENT_ID` | OAuth client ID | | `YT_API_CLIENT_SECRET` | OAuth client secret | | `YT_API_CREDENTIALS` | Path to service account JSON | ## Authentication Methods ### OAuth 2.0 (Default) Best for interactive use and accessing your own YouTube account. ```bash yt-api auth login # Opens browser ``` ### Service Account Best for server-side automation. ```bash yt-api --auth-type service-account --credentials ./key.json list videos ``` ## Quick Diagnostic Commands ```bash yt-api info # Full system state yt-api info --test-connectivity # Verify API access yt-api info --test-permissions # Check credential capabilities yt-api auth status # Authentication details yt-api version # Version info ``` ## 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
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.