youtube-cli

Search YouTube videos, channels, and trending content via CLI with JSON output.

208|42|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/ItamarZand88/CLI-Anything-WEB --skill youtube-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: youtube-cli
Source: https://github.com/ItamarZand88/CLI-Anything-WEB/tree/main/.claude/skills/youtube-cli
Command: npx skills add https://github.com/ItamarZand88/CLI-Anything-WEB --skill youtube-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

YouTube data is often buried behind a web interface; this skill provides a CLI-driven way to search videos, fetch video details, and view trending content, enabling quick, repeatable access to YouTube information without leaving the terminal.

Core Features & Use Cases

  • Search videos by query and receive metadata including title, channel, views, duration, and URL.
  • Retrieve detailed video information such as description, keywords, and publish date.
  • Browse trending videos by category and explore popular channels.
  • Retrieve channel information including subscriber counts and recent videos to inform content strategy.

Quick Start

Install the cli-web-youtube package and run the example commands to search, fetch video details, or view trending content.

Frequently Asked Questions about youtube-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search YouTube videos from the command line?

You can search YouTube videos from the command line by running search commands that return metadata including title, channel, views, duration, and URL. This CLI interface provides quick access to video data without leaving the terminal.

Can I get YouTube video details like description and publish date via CLI?

Yes, you can retrieve detailed YouTube video information via CLI, including descriptions, keywords, and publish dates. The tool fetches comprehensive video metadata and returns it directly in your terminal.

How do I browse trending YouTube videos by category in the terminal?

You can browse trending YouTube videos by category in the terminal using the trending commands. This allows you to explore popular content across different regions and categories directly from the command line.

Do I need the cli-web-youtube package to fetch channel subscriber counts?

Yes, you need the cli-web-youtube package installed to fetch channel information including subscriber counts and recent videos. It is a required dependency for executing channel commands and retrieving data.

What's the best way to get well-formed JSON output from YouTube data commands?

The best way to get well-formed JSON output from YouTube data commands is by using the --json flag. The CLI supports --json outputs across search, video, trending, and channel commands for structured data retrieval.