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.

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

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
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 pass 3 May 2026
  • Snyk warn 29 Apr 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 $0.00041 $0.00506
Sonnet 5 $0.00016 $0.00202
Haiku 4.5 $0.00008 $0.00101

Measured 11d ago against content hash 498cb6f97b85, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 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/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. 11d 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 (843 stars, last pushed 2d ago), licensed MIT. It adds 81 tokens to every session and 1,012 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.