youtube-cli

youtube-cli is a skill for Claude Code from ItamarZand88/CLI-Anything-WEB. It costs 105 tokens per session (799 once invoked), scanned A, original, MIT.

A command-line skill for searching and exploring YouTube, the video-sharing website, and retrieving video captions or transcripts. It provides video, channel, trending, keyword, duration, view, and language information.

In plain words
What is it for?
Use it to search videos, inspect video or channel details, list trending videos, check available caption languages, and fetch or translate timestamped transcripts.
Why use it?
It lets you find videos and collect their details or spoken text from the terminal instead of handling each task manually on the website.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to search videos, inspect video or channel details, list trending videos, check available caption languages, and fetch or translate timestamped transcripts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/itamarzand88/cli-anything-web/youtube-cli
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ItamarZand88/CLI-Anything-WEB --skill youtube-cli
Clone the repo
git clone --depth 1 https://github.com/ItamarZand88/CLI-Anything-WEB

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for youtube-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/itamarzand88/cli-anything-web/youtube-cli/github.svg)](https://agentmods.dev/skills/itamarzand88/cli-anything-web/youtube-cli)
Your own site
<a href="https://agentmods.dev/skills/itamarzand88/cli-anything-web/youtube-cli"><img src="https://agentmods.dev/badge/skills/itamarzand88/cli-anything-web/youtube-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for youtube-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/itamarzand88/cli-anything-web/youtube-cli"><img src="https://agentmods.dev/badge/skills/itamarzand88/cli-anything-web/youtube-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 799 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00105 $0.00799
Opus 5.5 $0.00042 $0.00320
Sonnet 5.5 $0.00021 $0.00160
Haiku 4.5 $0.00011 $0.00080

Measured 3mo ago against content hash 592078f96c26, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

youtube-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/youtube-cli/SKILL.md · 60 lines

How it starts

The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.

cli-web-youtube

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

Commands

Command Purpose Key options
search videos QUERY Search videos -l/--limit N (default 10)
video get VIDEO_ID Video details (views, duration, description, keywords) accepts 11-char ID or full URL
trending list Trending/popular videos -c/--category now|music|gaming|movies, -l/--limit N
channel get HANDLE Channel info + recent videos accepts @handle, UC... ID, or URL
transcript get VIDEO Timestamped transcript + full text -l/--lang CODE (repeatable, priority order), -t/--translate CODE, --text-only; accepts ID or URL
transcript list VIDEO Available caption languages accepts ID or URL

Examples

# 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": "..."}.

Read the full file on GitHub · 60 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 60 lines · 105 tokens per session scan A 592078f96c26

Subscribe to this mod's changes

youtube-cli is a skill published in the GitHub repository ItamarZand88/CLI-Anything-WEB (249 stars, last pushed 21d ago), licensed MIT. It adds 105 tokens to every session and 799 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

youtube-cli compared with skills from other repositories

youtube-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
youtube-cliItamarZand88/CLI-Anything-WEBSkill24921d agoMITA105Claude Code
scrapling-officialD4Vinci/ScraplingSkill107ktodayBSD-3-ClauseA76Claude Code, Codex
webcmd-browseragentrhq/webcmdSkill2.8k1mo agoApache-2.0A30Claude Code
xhs-clijackwener/xhs-cliSkill7071mo agoApache-2.0A47Claude Code, Codex
qawolf-cliqawolf/cliSkill3.5k2d agoApache-2.0C112Claude Code, Codex
e-taxkazukinagata/shinkokuSkill3732mo agoMITA130Claude Code
playwright-cliPracticalSwan/agent-skillsSkill2514d agoMITA41Codex