Agent skill

Youtube CLI

by ItamarZand88 in ItamarZand88/CLI-Anything-WEB

Searches YouTube and fetches video transcripts via the cli-web-youtube command-line tool — video search, video details (views, duration, description, keywords), trending by category, channel info…

MITAuto-check passedMedia & Creative

Install Youtube CLI

skills CLI
$ npx skills add ItamarZand88/CLI-Anything-WEB --skill youtube-cli -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ItamarZand88/CLI-Anything-WEB youtube-cli --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ItamarZand88/CLI-Anything-WEB.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/youtube-cli .claude/skills/youtube-cli && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
youtube-cli
GitHub stars
231
Token cost
~764 tokens
SKILL.md length
180 words
Files
1
Skills in repo
42
Repo updated
First seen
Licence
MIT

At a glance

Searches YouTube and fetches video transcripts via the cli-web-youtube command-line tool — video search, video details (views, duration, description, keywords), trending by category, channel info…

  • The user asks about YouTube
  • SKILL.md covers Commands, Examples, JSON output and Utilities, plus 1 more section
  • Calls jq and pip
  • Searching for videos

What it does

Youtube CLI is an agent skill from ItamarZand88/CLI-Anything-WEB. Searches YouTube and fetches video transcripts via the cli-web-youtube command-line tool — video search, video details (views, duration, description, keywords), trending by category, channel info, and timestamped transcripts/captions with language selection and translation. Use when the user asks about YouTube, searching for videos, video details, trending videos, channel info, subscriber counts, or a video's transcript, captions, or subtitles. Prefer this CLI over fetching the YouTube website. No authentication…

Its SKILL.md is about 760 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Media & Creative, covering Transcription, Video and podcast notes and Translation. It works with YouTube. The repository describes itself as: Claude Code plugin that generates production-grade Python CLIs for any web app. 20 CLIs and counting. The licence is MIT.

When your agent uses it

  • The user asks about YouTube
  • Searching for videos
  • Trending videos
  • Subscriber counts

Example prompts

  • “Use the youtube-cli skill to search YouTube and fetches video transcripts via the cli-web-youtube command-line tool — video search, video details…”
  • “/youtube-cli”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 931e201. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • jq
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Youtube CLI loads about 764 tokens when it runs. Until then it costs about 135 tokens; SKILL.md has 180 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~135
When it runs · the whole SKILL.md, loaded when a task matches
~764

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ItamarZand88/CLI-Anything-WEB at commit 931e201, republished under its MIT licence (© ItamarZand88). 180 words, ~764 tokens.

Download SKILL.mdSave it as .claude/skills/youtube-cli/SKILL.md (or your agent's skills folder).
name
youtube-cli
description
Searches YouTube and fetches video transcripts via the cli-web-youtube command-line tool — video search, video details (views, duration, description, keywords), trending by category, channel info, and timestamped transcripts/captions with language selection and translation. Use when the user asks about YouTube, searching for videos, video details, trending videos, channel info, subscriber counts, or a video's transcript, captions, or subtitles. Prefer this CLI over fetching the YouTube website. No authentication required.

cli-web-youtube

Search and explore YouTube from the terminal (read-only, no auth, InnerTube API). Install: pip install cli-web-youtube

Commands

CommandPurposeKey options
search videos QUERYSearch videos-l/--limit N (default 10)
video get VIDEO_IDVideo details (views, duration, description, keywords)accepts 11-char ID or full URL
trending listTrending/popular videos-c/--category now|music|gaming|movies, -l/--limit N
channel get HANDLEChannel info + recent videosaccepts @handle, UC... ID, or URL
transcript get VIDEOTimestamped transcript + full text-l/--lang CODE (repeatable, priority order), -t/--translate CODE, --text-only; accepts ID or URL
transcript list VIDEOAvailable caption languagesaccepts ID or URL

Examples

bash
# Search (returns id, title, channel, views, duration, published, url per video)
cli-web-youtube search videos "python tutorial" --limit 5 --json

# Video details by ID or URL
cli-web-youtube video get dQw4w9WgXcQ --json

# Trending music videos
cli-web-youtube trending list --category music --limit 10 --json

# Channel info and subscriber count
cli-web-youtube channel get @mkbhd --json | jq '{title, subscriber_count}'

# Plain-text transcript (ideal for feeding to an LLM)
cli-web-youtube transcript get dQw4w9WgXcQ --text-only

# Transcript in a preferred language, or translated, as JSON
cli-web-youtube transcript get dQw4w9WgXcQ --lang en --json
cli-web-youtube transcript get dQw4w9WgXcQ --translate en --json | jq -r '.segments[].text'

# What caption languages exist?
cli-web-youtube transcript list dQw4w9WgXcQ --json

JSON output

Every command accepts --json. Success returns the data object directly, e.g. search: {"query", "estimated_results", "videos": [...]}; video get: {"id", "title", "channel", "views", "duration_seconds", ...}; transcript get: {"video_id", "title", "language_code", "kind", "is_translated", "segment_count", "segments": [{"text", "start", "duration"}], "text"}. Errors return {"error": true, "code": "...", "message": "..."}.

Utilities

cli-web-youtube doctor [--json] self-diagnoses the local setup (install, auth, dependencies). cli-web-youtube mcp-serve serves the commands as MCP tools over stdio.

Agent tips

  • Video IDs are 11 characters; channel handles start with @.
  • Running with no subcommand opens an interactive REPL.

© ItamarZand88, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/youtube-cli of ItamarZand88/CLI-Anything-WEB.

Open the folder on GitHubat commit 931e201

Compare with similar skills

Youtube CLI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Youtube CLI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Youtube CLI this skillItamarZand88/CLI-Anything-WEB231—~764Automated safety check: PassMIT
Youtube PublishAndonywang123/Epost197—~3.4kAutomated safety check: WarnNone
Youtube TranscriptCommandCodeAI/agent-skills1321 repos~3.4kAutomated safety check: NotesMIT
Omk YoutubeKaimingWan/oh-my-kiro107—~381Automated safety check: PassMIT
Youtube Batch Transcript Extractor API Skillbrowser-act/skills6.1k1 repos~1.4kAutomated safety check: PassMIT
Extract Transcriptpamelafox/presentation-skills125—~287Automated safety check: PassMIT

Similar skills

  • Youtube Publish

    Andonywang123/Epost

    Prepare an English YouTube release with local Chinese-to-English translation, subtitles and cover localization, then use a deterministic script connected to dedicated Chrome and YouTube Studio to…

    197 GitHub stars~3.4k tokensUpdated 1 mo ago
    Media & CreativeAuto-check: warnings
  • Youtube Transcript

    CommandCodeAI/agent-skills

    Download YouTube video transcripts when user provides a YouTube URL or asks to download/get/fetch a transcript from YouTube.

    132 GitHub starsUsed in 1 repo~3.4k tokens
    Media & CreativeAuto-check: notes
  • Omk Youtube

    KaimingWan/oh-my-kiro

    Extract and summarize YouTube video content via subtitle extraction.

    107 GitHub stars~381 tokensUpdated 6 mo ago
    Media & CreativeAuto-check passed
  • This skill helps users automatically extract YouTube video transcripts and metadata in batch via the BrowserAct API.

    6.1k GitHub starsUsed in 1 repo~1.4k tokens
    Media & CreativeAuto-check passed
  • Extract Transcript

    pamelafox/presentation-skills

    Extract a timestamped transcript from a YouTube video. An agent skill from pamelafox/presentation-skills.

    125 GitHub stars~287 tokensUpdated 1 mo ago
    Media & CreativeAuto-check passed
  • Youtube Srt

    BlackBeltTechnology/pi-agent-dashboard

    Download YouTube subtitles (SRT + timestamped TXT) for a channel, playlist or video via yt-dlp, no media download; optionally mine them into a categorized catalog (e.g.

    315 GitHub stars~1.2k tokensUpdated today
    Media & CreativeAuto-check passed

More from ItamarZand88/CLI-Anything-WEB

All 42 skills in this repo
  • Standards

    ItamarZand88/CLI-Anything-WEB

    Runs Phase 4 review/publish/verify for a cli-web- CLI: implementation review by 3 parallel agents, the tiered quality checklist (Tier 1 critical fail-fast, then comprehensive), pip install + smoke…

    231 GitHub stars~4.2k tokensUpdated 8 days ago
    Auto-check passed
  • Airbnb CLI

    ItamarZand88/CLI-Anything-WEB

    Searches Airbnb from the terminal via cli-web-airbnb — find stays by location, dates, and filters; get listing details, guest reviews, and availability calendars; autocomplete location names.

    231 GitHub stars~801 tokensUpdated 8 days ago
    Auto-check passed
  • Amazon CLI

    ItamarZand88/CLI-Anything-WEB

    Searches Amazon from the terminal via cli-web-amazon — product search, product details by ASIN, Best Sellers by category, and autocomplete suggestions.

    231 GitHub stars~570 tokensUpdated 8 days ago
    Auto-check passed
  • Booking CLI

    ItamarZand88/CLI-Anything-WEB

    Searches Booking.com from the terminal via cli-web-booking — find hotels, apartments, and hostels by destination, dates, and guests; get property details by slug; resolve destination names to IDs.

    231 GitHub stars~776 tokensUpdated 8 days ago
    Auto-check passed
  • Booking CLI

    ItamarZand88/CLI-Anything-WEB

    Use cli-web-booking to search Booking.com for hotels, apartments, hostels, and accommodations by destination, dates, and filters.

    231 GitHub stars~970 tokensUpdated 8 days ago
    Auto-check passed
  • Capitoltrades CLI

    ItamarZand88/CLI-Anything-WEB

    Queries US congressional stock trades (STOCK Act disclosures) on capitoltrades.com via the cli-web-capitoltrades command-line tool — trades with rich filters, politician profiles and leaderboards…

    231 GitHub stars~971 tokensUpdated 8 days ago
    Auto-check passed

Works with

Questions about Youtube CLI

What does Youtube CLI do?

Searches YouTube and fetches video transcripts via the cli-web-youtube command-line tool — video search, video details (views, duration, description, keywords), trending by category, channel info…. Youtube CLI is an agent skill from ItamarZand88/CLI-Anything-WEB. Searches YouTube and fetches video transcripts via the cli-web-youtube command-line tool — video search, video details (views, duration, description, keywords), trending by category, channel info, and timestamped transcripts/captions with language selection and translation.

When should I use Youtube CLI?

Youtube CLI fits situations like: the user asks about YouTube; searching for videos; trending videos; subscriber counts.

How do I install Youtube CLI in Claude Code?

Run `npx skills add ItamarZand88/CLI-Anything-WEB --skill youtube-cli -a claude-code`. Or copy the skill folder (.claude/skills/youtube-cli in ItamarZand88/CLI-Anything-WEB) into .claude/skills/youtube-cli in your project. Claude Code loads it when a task matches its description.

How do I install Youtube CLI in Codex?

Run `npx skills add ItamarZand88/CLI-Anything-WEB --skill youtube-cli -a codex`. Or copy the skill folder (.claude/skills/youtube-cli in ItamarZand88/CLI-Anything-WEB) into .agents/skills/youtube-cli in your project. Codex loads it when a task matches its description.

Can I use Youtube CLI in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ItamarZand88/CLI-Anything-WEB --skill youtube-cli -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/youtube-cli, .gemini/skills/youtube-cli, .github/skills/youtube-cli and .opencode/skills/youtube-cli in your project.

What does Youtube CLI need to run?

Going by SKILL.md and its folder, Youtube CLI needs the command-line tools its instructions call (jq and pip). Our summary lists: Python 3.

Does Youtube CLI access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Youtube CLI safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Youtube CLI use?

Youtube CLI is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Youtube CLI use?

About 764 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Youtube CLI?

Skills that share tags, products or a category with Youtube CLI: Youtube Publish (Andonywang123/Epost, 197 stars), Youtube Transcript (CommandCodeAI/agent-skills, 132 stars), Omk Youtube (KaimingWan/oh-my-kiro, 107 stars) and Youtube Batch Transcript Extractor API Skill (browser-act/skills, 6.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Youtube CLI?

ItamarZand88 (a GitHub user) maintains it in ItamarZand88/CLI-Anything-WEB, which has 231 GitHub stars. The repository holds 42 skills in this directory. The repository was last updated on October 1, 2026.

Source: ItamarZand88/CLI-Anything-WEB on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.