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 naveedharri/benai-skills --skill youtube-chapters-tagsgit clone --depth 1 https://github.com/naveedharri/benai-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/naveedharri/benai-skills/youtube-chapters-tags)<a href="https://agentmods.dev/skills/naveedharri/benai-skills/youtube-chapters-tags"><img src="https://agentmods.dev/badge/skills/naveedharri/benai-skills/youtube-chapters-tags/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/naveedharri/benai-skills/youtube-chapters-tags"><img src="https://agentmods.dev/badge/skills/naveedharri/benai-skills/youtube-chapters-tags.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.00153 | $0.01764 |
| Opus 5.5 | $0.00061 | $0.00706 |
| Sonnet 5.5 | $0.00031 | $0.00353 |
| Haiku 4.5 | $0.00015 | $0.00176 |
Grade A, and why
youtube-chapters-tags 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.
YouTube is IP-blocked from the sandbox. `youtube-transcript-api` and `curl` both fail; do not How it starts
The opening of the file, as written. The whole thing — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.
YouTube Chapters and Tags
Stage 4. Two deliverables from one video, run independently so either can be asked for alone.
- Chapters:
MM:SS – Titlefor the description and YouTube's chapter UI. - Tags: a tag string matching the pattern measured across Ben's recent videos.
Precondition: the video has to be Unlisted
A Studio draft has no caption track. No captions means no timestamped transcript means no chapters. YouTube generates captions only after the video is saved at a real visibility and its checks finish. Private does not work either.
So youtube-studio-setup runs first. If the video is still a draft, or Unlisted but not yet
captioned, say so plainly and stop. Do not fake chapters from the script, the Notion card, or
the outline. Every timestamp has to come from the transcript.
Check for captions before anything else:
const h = await (await fetch('/watch?v=VIDEO_ID')).text();
h.includes('captionTracks')
False means come back later. It usually clears within the same session for a video under 20 minutes.
Workflow A: chapters
1. Pull the timestamped transcript
YouTube is IP-blocked from the sandbox. youtube-transcript-api and curl both fail; do not
retry them. Everything goes through Claude in Chrome.
Use the transcript-panel recipe in references/chrome-transcript-extraction.md.
Do not try to fetch the caption track's baseUrl out of captionTracks. It gets blocked,
because that URL carries session tokens. Found 2026-08-25. The DOM panel is the working path.
Store the result on window.__ts. JS responses cap at about 1000 characters, so read it back
in slices of roughly 8 lines. Tabs also die mid-session and take window with them, so
re-derive rather than assuming state survived.
2. Find the transitions cheaply
Reading 100 segments at 8 lines a call is a dozen round trips. Filter first, read only the windows around each candidate:
const p = /(first|second|thirdly|lastly|and last|best practice|now let me|moving on|
demo|review|recommend|here above|show you)/i;
window.__ts.map((l,i)=>({i,l})).filter(o=>p.test(o.l)).map(o=>o.i+' '+o.l.slice(0,40)).join('\n')
What ships with it
5 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 · +1 lines 968fadd4aa4e
- 1mo ago First seen · 145 lines · 153 tokens per session scan A 0f72ad0e4b96
youtube-chapters-tags is a skill published in the GitHub repository naveedharri/benai-skills (74 stars, last pushed 16d ago), licensed MIT. It adds 153 tokens to every session and 1,764 once invoked, about $0.0006 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-09-12.
Other skills, from other repositories
project
A single starting point for setting up an AI-assisted project in Claude Cowork. It asks questions about the work, reviews available add-ons, and creates project instructions, custom agents, and connected workflows.
doc-html-slide
A renderer that turns presentation content into a single HTML slide deck that opens directly in a browser. It creates a 16:9 slide sequence with navigation, fullscreen viewing, printing to PDF, and speaker-note controls.
cs-channel-message
A channel-message writing tool for search ads, advertising, customer relationship messages, and app notifications. It uses the NCM sequence—Need, Channel, Moment, Message, and CTA—to adapt wording to where and when customers see it.
media-higgsfield-explainer
A Higgsfield workflow for making non-photorealistic narrated explainer videos. It pairs each narration line with a 10-second animated clip and joins the clips into one finished video.
setup-mcp-connector
A step-by-step setup guide for connecting Cowork to services such as Google Drive, Notion, and Higgsfield, plus Korean public-data, document, statistics, architecture, and law services. It explains authentication, API keys, test calls, and troubleshooting.
media-gpt-image-prompt
An image-prompt writing tool that turns a natural-language idea into detailed prompts for GPT Image 2.5. It can also adapt the same idea for Gemini 3 Pro Image and Midjourney.