youtube-chapters-tags skillA
youtube-chapters-tags is agent-read markdown (skill) from naveedharri/benai-skills: Stage 4 of the Ben AI publishing chain. Generates chapters with accurate timestamps and a tag string for a Ben van Sprundel video. Pulls the timestamped transcript out of YouTube through Claude in Chrome, finds where each topic actually starts, names chapters to Ben's measured style, flags every outbound video reference that needs a description link, and builds the tag list from the pattern measured across Ben's last 15 published videos. Needs the video to be Unlisted first, because a Studio dra.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# YouTube Chapters and Tags
Stage 4. Two deliverables from one video, run independently so either can be asked for alone.
1. **Chapters**: `MM:SS – Title` for the description and YouTube's chapter UI.
2. **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:
```js
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
…Read the whole file at its exact version.
How to install
mdr add naveedharri/benai-skills/youtube-chapters-tags@git:20260916.a3b1e15mdr add naveedharri/benai-skills/youtube-chapters-tags@sha256:968fadd4aa4e2fd9Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_axbnxny5w5my45nw)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260916.a3b1e15 latest | 2026-09-16 | a3b1e15 | 7,182 B | A | view · diff |
| git:20260911.3860544 | 2026-09-11 | 3860544 | 7,151 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7182 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
naveedharri/benai-skills · 65 stars · license MIT · pushed 2026-09-16 · branch develop
API
GET https://markdownregistry.com/api/v1/artifacts/art_axbnxny5w5my45nw GET https://markdownregistry.com/api/v1/resolve?ref=naveedharri/benai-skills/youtube-chapters-tags GET https://markdownregistry.com/api/v1/blob/968fadd4aa4e2fd9651965a79dc689eb4e0622cb33d668d919e831abb0e5b9c4
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.