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.
npx skills add mthines/agent-skills --skill youtube-transcriptgit clone --depth 1 https://github.com/mthines/agent-skillsWrote 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.
[](https://agentmods.dev/skills/mthines/agent-skills/youtube-transcript)<a href="https://agentmods.dev/skills/mthines/agent-skills/youtube-transcript"><img src="https://agentmods.dev/badge/skills/mthines/agent-skills/youtube-transcript/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.
<a href="https://agentmods.dev/skills/mthines/agent-skills/youtube-transcript"><img src="https://agentmods.dev/badge/skills/mthines/agent-skills/youtube-transcript.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00084 | $0.00831 |
| Opus 5.5 | $0.00034 | $0.00332 |
| Sonnet 5.5 | $0.00017 | $0.00166 |
| Haiku 4.5 | $0.00008 | $0.00083 |
Grade A, and why
youtube-transcript 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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
YouTube Transcript
Gets a YouTube video's captions as text in one command.
Why the script takes this route, and what fails instead: references/why-innertube.md.
Procedure
-
Run the script with the URL or the 11-character video id:
python3 -I <skill_dir>/scripts/yt_transcript.py "<url-or-id>" > transcript.txt--lang <code>picks the caption language (defaulten). It prefers a human-made track and falls back to an auto-generated (asr) one, then to any track.--timestampsemits one[mm:ss] textline per caption instead of one paragraph.- stderr carries
# <title> [<lang>, <manual|asr>]; stdout carries only the transcript.
-
Read
transcript.txtfrom disk. Never paste a long transcript back to the user verbatim: summarise or quote short passages. -
Tell the user when the track is
asr: auto-captions mishear names and jargon, so quote them with that caveat.
# ✓ Right — one call, output to a file
python3 -I scripts/yt_transcript.py "https://youtu.be/J9NQTYUP6k0" --timestamps > transcript.txt
# ✗ Wrong — these are bot-blocked from cloud IPs; do not try them first
pip install youtube-transcript-api && youtube_transcript_api J9NQTYUP6k0
yt-dlp --write-auto-subs --skip-download "https://youtu.be/J9NQTYUP6k0"
When it fails
| Exit message contains | Do this |
|---|---|
LOGIN_REQUIRED / not a bot on both clients |
Bump clientVersion and the matching User-Agent for ANDROID and IOS in CLIENTS to the current app versions, then retry once |
HTTP 429 |
Wait a minute and retry once; the IP is rate-limited |
any other HTTP <code> or network error |
Retry once; if it repeats, the host is unreachable from this session — report it verbatim |
unreadable caption track or unexpected response |
Retry once; if it repeats, YouTube is serving a block page to this IP — treat it as unobtainable (below). The video may still have captions, so never say it has none |
UNPLAYABLE / ERROR with a reason |
The video is private, removed, or age/region-restricted; report the reason to the user |
no captions |
The video has no caption tracks; say so — do not invent content |
What ships with it
2 files 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.
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.
- 1mo ago Changed · -5 lines · -30 tokens per session 585cbcff6543
- 1mo ago First seen · 68 lines · 114 tokens per session scan A e9f96267fc0c
youtube-transcript is a skill published in the GitHub repository mthines/agent-skills (22 stars, last pushed yesterday), licensed MIT. It adds 84 tokens to every session and 831 once invoked, about $0.0003 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-10-19.
youtube-transcript compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| youtube-transcriptmthines/agent-skills | Skill | 22 | yesterday | MIT | A | 84 | Claude Code |
| skill-bodycitrolabs/ego-lite | Skill | 26k | yesterday | MIT | A | 0 | Claude Code, Codex |
| ego-browsercitrolabs/ego-lite | Skill | 26k | yesterday | MIT | A | 125 | Claude Code, Codex |
| temporal-developertemporalio/skill-temporal-developer | Skill | 243 | 9d ago | MIT | A | 216 | Claude Code, Codex |
| creating-explainersanalyticalmonk/explain-this | Skill | 24 | 1mo ago | MIT | A | 98 | Claude Code, Codex |
| fact-checking-explainersanalyticalmonk/explain-this | Skill | 24 | 1mo ago | MIT | A | 84 | Claude Code, Codex |
| explaining-codebasesanalyticalmonk/explain-this | Skill | 24 | 1mo ago | MIT | A | 84 | Claude Code, Codex |