ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified media Safety 4/5

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 use this skill?

Use the yt-api-cli skill to manage your YouTube videos, playlists, and channel data directly from your terminal with OpenClaw.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/nerveband/yt-api-cli
Or

What This Skill Does

The yt-api-cli skill provides a comprehensive command-line interface for interacting with the YouTube Data API v3 directly from your terminal. It acts as an integration layer for OpenClaw to perform authenticated YouTube operations, including video management, playlist organization, channel updates, and advanced searching. By exposing these API functionalities through a CLI, it enables automated workflows for content creators, channel managers, and developers who need to interact with YouTube programmatically without relying on the web UI.

Installation

To install this skill, run the following command in your terminal: clawhub install openclaw/skills/skills/nerveband/yt-api-cli

Ensure you have completed the Google Cloud Console setup by creating an OAuth 2.0 credential and configuring the ~/.yt-api/config.yaml file with your specific client credentials. Authentication is handled via the yt-api auth login flow, which syncs your Google account with the CLI environment.

Use Cases

This skill is ideal for bulk managing YouTube content, such as updating metadata for hundreds of videos simultaneously or scheduling playlist additions. It is perfect for developers who need to integrate YouTube data into larger pipeline processes or data analysis tasks, as the CLI natively supports JSON, YAML, and CSV output formats. It also serves as a powerful utility for channel administrators who prefer terminal-based workflows over browser-based dashboards for routine operations like checking status, managing subscriptions, or uploading video assets.

Example Prompts

  1. "Use yt-api-cli to search for the latest tutorials on 'distributed systems' and save the top 5 results into a JSON file."
  2. "Update the description of my channel to include a new support link and set all private videos in my 'Drafts' playlist to public."
  3. "Upload the video located at ./marketing_promo.mp4 with the title 'New Launch', set the privacy to public, and use the provided thumbnail image."

Tips & Limitations

The tool requires an active Google Cloud project with the YouTube Data API v3 enabled. While the tool is powerful, users must be mindful of YouTube's API quota limits, which restrict the number of daily operations. For data-intensive tasks, always prefer the default JSON output format for easier parsing by the AI agent. Ensure your local configuration files are secured as they contain sensitive OAuth client secrets. Note that while this CLI handles most common tasks, it cannot bypass YouTube's internal verification or community guidelines enforcement processes.

Metadata

Author@nerveband
Stars1335
Views2
Updated2026-02-23
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-nerveband-yt-api-cli": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#youtube#api#automation#cli#video-management
Safety Score: 4/5

Flags: network-access, file-write, file-read, external-api