captions

captions is a skill for Claude Code from ZeroPointRepo/youtube-skills. It costs 81 tokens per session (1,012 once invoked), scanned A, original, MIT.

A skill for retrieving timestamped captions, or the written words spoken in a YouTube video, through an online transcript service.

In plain words
What is it for?
Getting captions as structured JSON or plain text, including timestamps and video metadata, from a YouTube URL or video ID.
Why use it?
It avoids manually listening to a video when you need its spoken content, timings, metadata, or a translation.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: built for openclaw.

Good fit Getting captions as structured JSON or plain text, including timestamps and video metadata, from a YouTube URL or video ID.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zeropointrepo/youtube-skills/captions
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 captions
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 captions

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/zeropointrepo/youtube-skills/captions"><img src="https://agentmods.dev/badge/skills/zeropointrepo/youtube-skills/captions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,012 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.00081 $0.01012
Opus 5.5 $0.00032 $0.00405
Sonnet 5.5 $0.00016 $0.00202
Haiku 4.5 $0.00008 $0.00101

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

Security

Grade A, and why

captions 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/transcript\
clawhub/captions/SKILL.md · 90 lines

How it starts

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

Captions

Extract closed captions from YouTube videos via TranscriptAPI.com.

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.

GET /api/v2/youtube/transcript

curl -s "https://transcriptapi.com/api/v2/youtube/transcript\
?video_url=VIDEO_URL&format=json&include_timestamp=true&send_metadata=true" \
  -H "Authorization: Bearer $TRANSCRIPT_API_KEY" \
  -H "User-Agent: YourAgent/1.0"
Param Required Default Values
video_url yes — YouTube URL or video ID
format no json json (structured), text (plain)
include_timestamp no true true, false
send_metadata no false true, false

Response (format=json — best for accessibility/timing):

{
  "video_id": "dQw4w9WgXcQ",
  "language": "en",
  "transcript": [
    { "text": "We're no strangers to love", "start": 18.0, "duration": 3.5 },
    { "text": "You know the rules and so do I", "start": 21.5, "duration": 2.8 }
  ],
  "metadata": { "title": "...", "author_name": "...", "thumbnail_url": "..." }
}
  • start: seconds from video start
  • duration: how long caption is displayed

Response (format=text — readable):

{
  "video_id": "dQw4w9WgXcQ",
  "language": "en",
  "transcript": "[00:00:18] We're no strangers to love\n[00:00:21] You know the rules..."
}

Read the full file on GitHub · 90 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 528b3ef68bdc
  2. 1mo ago First seen · 90 lines · 81 tokens per session scan A 498cb6f97b85

Subscribe to this mod's changes

captions is a skill published in the GitHub repository ZeroPointRepo/youtube-skills (1,124 stars, last pushed 7d ago), licensed MIT. It adds 81 tokens to every session and 1,012 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