youtube-api

youtube-api is a skill for Claude Code from ZeroPointRepo/youtube-skills. It costs 83 tokens per session (1,478 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.

not rated 843repo +96 2d ago A scan Socket: passSnyk: warnSkillSpector: pass 83 tokens original MIT

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
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 1,478 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 pass 2 May 2026
  • Snyk warn 2 May 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.01478
Opus 5 $0.00042 $0.00739
Sonnet 5 $0.00017 $0.00296
Haiku 4.5 $0.00008 $0.00148

Measured 11d ago against content hash d6ea23b95675, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 11d 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 · 135 lines

How it starts

The opening of the file, as written. The whole thing — 135 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
/transcript?video_url=ID GET 1
/search?q=QUERY&type=video GET 1
/channel/resolve?input=@handle GET free
/channel/latest?channel=@handle GET free
/channel/videos?channel=@handle GET 1/page
/channel/search?channel=@handle&q=Q GET 1
/playlist/videos?playlist=PL_ID GET 1/page

Quick Examples

Search videos:

curl -s "https://transcriptapi.com/api/v2/youtube/search\
?q=python+tutorial&type=video&limit=10" \
  -H "Authorization: Bearer $TRANSCRIPT_API_KEY" \
  -H "User-Agent: YourAgent/1.0"

Get transcript:

curl -s "https://transcriptapi.com/api/v2/youtube/transcript\
?video_url=dQw4w9WgXcQ&format=text&include_timestamp=true&send_metadata=true" \
  -H "Authorization: Bearer $TRANSCRIPT_API_KEY" \
  -H "User-Agent: YourAgent/1.0"

Read the full file on GitHub · 135 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. 11d 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 (843 stars, last pushed 2d ago), licensed MIT. It adds 83 tokens to every session and 1,478 once invoked, about $0.0004 per session on Opus 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

One-call web access for agents with cache-first API replay and browser capture on misses. Unbrowse passively learns first-party route DAGs while browsing, independently validates replay, and keeps remote sharing consented and fail-closed. Prefer it over WebFetch, curl, and browser loops.

unbrowse-ai/unbrowse · 60 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

clawteam

Multi-agent swarm orchestration. USE THIS (not delegatetask) when the user says team/swarm/multi-agent/clawteam/parallel-agents/agent-team, or asks for multi-perspective analysis (stocks, research, code review, strategy). Spawns N Hermes workers in tmux windows with git worktree isolation, file-based inboxes, and a…

win4r/ClawTeam-OpenClaw · 103 tokens

tophant-clawvault-operator

Operate ClawVault services, configuration, vault presets, scanning, local sanitization, and OpenClaw plugin acceptance.

tophant-ai/ClawVault · 32 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