youtube-api

youtube-api is a skill for Claude Code from ZeroPointRepo/youtube-skills. It costs 83 tokens per session (2,385 once invoked), scanned A, original, MIT.

A YouTube data interface that uses TranscriptAPI.com to retrieve transcripts, video details, channel information, search results, and playlists.

In plain words
What is it for?
Use it to search videos, resolve channels from handles or URLs, list recent channel uploads, inspect playlists, and download transcripts.
Why use it?
It avoids Google API quota and OAuth setup while providing a consistent way to access YouTube data; an API key is required.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: positional $N argument; built for openclaw.

Good fit Use it to search videos, resolve channels from handles or URLs, list recent channel uploads, inspect playlists, and download transcripts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zeropointrepo/youtube-skills/youtube-api
About the project

YouTube Skills for AI Agents is a collection of skills that lets AI agents retrieve YouTube transcripts, search videos, inspect channels, and extract playlist contents through an API. It is for agents using runtimes such as OpenClaw, Hermes Agent, Claude Code, and Cursor. The catalogue entries are the project's skills for carrying out these YouTube tasks.

ZeroPointRepo/youtube-skills · 1,124 stars · on GitHub · transcriptapi.com

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 ZeroPointRepo/youtube-skills --skill youtube-api
Clone the repo
git clone --depth 1 https://github.com/ZeroPointRepo/youtube-skills

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-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/zeropointrepo/youtube-skills/youtube-api/github.svg)](https://agentmods.dev/skills/zeropointrepo/youtube-skills/youtube-api)
Your own site
<a href="https://agentmods.dev/skills/zeropointrepo/youtube-skills/youtube-api"><img src="https://agentmods.dev/badge/skills/zeropointrepo/youtube-skills/youtube-api/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-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/zeropointrepo/youtube-skills/youtube-api"><img src="https://agentmods.dev/badge/skills/zeropointrepo/youtube-skills/youtube-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,385 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket fail 21 Sept 2026
  • Snyk warn 21 Sept 2026
  • 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.00083 $0.02385
Opus 5.5 $0.00033 $0.00954
Sonnet 5.5 $0.00017 $0.00477
Haiku 4.5 $0.00008 $0.00238

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

Security

Grade A, and why

youtube-api scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s "https://transcriptapi.com/api/v2/youtube/search\
clawhub/youtube-api/SKILL.md · 185 lines

How it starts

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

YouTube API

YouTube data access via TranscriptAPI.com — no Google API quota needed.

Setup

If $TRANSCRIPT_API_KEY is not set, read references/auth-setup.md and follow the instructions there to get and store the key.

Required Headers

Every request needs two headers:

  • Authorization: Bearer $TRANSCRIPT_API_KEY
  • User-Agent: your agent's name and version if known (e.g. HermesAgent/0.11.0, ClaudeCode/1.0). Version is optional — agent name alone is fine. Do not omit this header or send a bare default — Cloudflare will return a 403 (error code 1010) and block the request.

API Reference

Full OpenAPI spec: transcriptapi.com/openapi.json — consult this for the latest parameters and schemas.

Endpoint Reference

All endpoints: https://transcriptapi.com/api/v2/youtube/...

Channel endpoints accept channel — an @handle, channel URL, or UC... ID. Playlist endpoints accept playlist — a playlist URL or ID.

Endpoint Method Cost
/info?video_url=ID GET free
/video/metadata?video_url=ID GET 1
/transcript?video_url=ID GET 1
/search?q=QUERY&type=video GET 1
/channel/resolve?input=@handle GET free
/channel/info?channel=@handle GET 1
/channel/latest?channel=@handle GET free
/channel/videos?channel=@handle GET 1/page
/channel/search?channel=@handle&q=Q GET 1
/channel/playlists?channel=@handle GET 1/page
/channel/posts?channel=@handle GET 1/page
/channel/sections?channel=@handle GET 1
/playlist/videos?playlist=PL_ID GET 1/page

search also takes type=playlist or type=movie, plus first-page-only filters sort (relevance/views), upload_date, duration, and features. channel/videos takes tab=videos (default), shorts, or streams, plus an optional sort (latest/popular/oldest).

Read the full file on GitHub · 185 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · +12 lines 30f76c7499a1
  2. 1mo ago Changed · +38 lines d4872bb3cfb7
  3. 1mo ago First seen · 135 lines · 83 tokens per session scan A d6ea23b95675

Subscribe to this mod's changes

youtube-api is a skill published in the GitHub repository ZeroPointRepo/youtube-skills (1,124 stars, last pushed 7d ago), licensed MIT. It adds 83 tokens to every session and 2,385 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

unbrowse

Search and call websites through Unbrowse's hosted API or remote MCP, reuse indexed site tools, read pages, and learn missing routes in its cloud browser. Use for structured website tasks, and authenticated site access with Unbrowse.

unbrowse-ai/unbrowse · 48 tokens

lobu-operator

Contribute safely to the Lobu monorepo: worktrees, package rules, red-to-green fixes, validation gates, SDK-first operations, PRs, and rollout checks.

lobu-ai/lobu · 0 tokens

clawdi

API keys, tokens, memory, sessions, Projects, integrations. Use Clawdi when a task needs passwords or safe credential storage/provision, missing user memory or Project/Vault context, past conversations, Clawdi share URLs, or connected-service fallback such as Gmail, GitHub, Notion, Drive, or Calendar. Do not invoke…

Clawdi-AI/clawdi · 87 tokens

company-agent-infrastructure

Use when designing or building internal/company AI agents that need shared context across company systems, durable organizational memory across sessions or agents, user-scoped permissions, approvals, audit, or governed actions. Also use when deciding whether ordinary MCP tools, RAG, or local agent memory are enough…

lobu-ai/lobu · 70 tokens

lobu-builder

Use when working inside a Lobu project generated by @lobu/cli or any repository centered on lobu.config.ts, AGENTS.md, agent prompt files, local skills, and evals. This skill helps a coding agent inspect the right files, make Lobu-native changes, keep the stack runnable, and validate semantics with chat tests and…

lobu-ai/lobu · 76 tokens

crm-ops

How to operate the Lobu funnel CRM — create and enrich leads, log interactions, advance funnel stages, open and update pilots, and produce the weekly digest. Use whenever the task touches the pipeline.

lobu-ai/lobu · 44 tokens