youtube-chapters skillA
youtube-chapters is agent-read markdown (skill) from jamalmohafil/claude-skills: Use when someone gives a YouTube link (or a local video/audio file) and wants chapter timestamps, a chapter list, video sections, a timeline, or timestamps for the description — including Arabic/RTL videos. Triggers on "get timestamps", "make chapters", "YouTube chapters", "split this video into sections", "توقيتات", "فصول", "شبترات للفيديو"..
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
## Overview
Turn any video into ready-to-paste YouTube chapters. Two moves:
1. **Run the helper** to get a clean, timestamped transcript.
2. **You cut it into chapters** and output them in the exact format below.
The script handles fetching/transcribing (any language). The chaptering judgment — where topics change and what to call them — is yours.
## When to use
- A **YouTube URL** (any language) and they want chapters / timestamps / sections.
- A **local video or audio file** ("here's my video, timestamp it").
- A **transcript or SRT they paste** — skip Step 1, go to Step 2.
Not for: summarizing without timestamps (that's just a summary), or cutting/editing the video.
## Step 1 — Get a timestamped transcript
```
python3 scripts/transcript.py "<youtube-url-or-file-path>"
```
Options: `--lang ar` (force a language), `--window 12` (seconds per line), `--out t.txt` (also save it).
It prints `TITLE`, `DURATION`, `LANGUAGE`, `SOURCE`, then `M:SS⇥text` lines:
- **YouTube with captions** → pulled via `yt-dlp` (fast: subtitle track only, no video download, no speech-to-text). Manual subtitles beat auto-captions.
…Read the whole file at its exact version.
How to install
mdr add jamalmohafil/claude-skills/youtube-chapters@git:20260825.145698fmdr add jamalmohafil/claude-skills/youtube-chapters@sha256:6ae887b19a42788dPin 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_hkchz7zhf3ax6cpw)
1 badge views in 30 days
Versions
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 (4385 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
jamalmohafil/claude-skills · 26 stars · license MIT · pushed 2026-09-21 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_hkchz7zhf3ax6cpw GET https://markdownregistry.com/api/v1/resolve?ref=jamalmohafil/claude-skills/youtube-chapters GET https://markdownregistry.com/api/v1/blob/6ae887b19a42788d85694930e17c54ddbe6747232e435077cf4c6b84c746c91e
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.