/john-skills:youtube-transcriptsfrom john-skills
Downloads YouTube auto-caption transcripts for a single video or a channel's videos within a date range, outputting timestamped markdown files. Requires yt-dlp.
Ships in john-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Downloads English auto-caption transcripts — for one video, or for a channel's
videos in a given date range — and leaves one markdown file per video, with frontmatter linking it
back to the source video. Lines are timestamped by default; --no-timestamps
drops the times and leaves the prose.
yt-dlp must be on PATH. Nothing else is needed — ffmpeg is not used.
yt-dlp --version
If missing on macOS: brew install yt-dlp.
The first argument is either a video URL or a channel URL; the script tells them apart.
watch?v=, youtu.be/, /shorts/, /live/ or /embed/ link. No dates or max; if given they're ignored. A &list= on the link is ignored too, so only that one video is fetched.https://www.youtube.com/@AIDailyBrief/videos. The /videos suffix is added automatically if absent.YYYYMMDD. Defaults to 7 days ago.YYYYMMDD. Defaults to today.[HH:MM:SS] prefixes. Still markdown, still with the same frontmatter; only the per-line times go away.--chunk 30 reads well as prose; the default is better for grepping and citing exact moments. Combines with --no-timestamps for plain paragraphs.Timestamps are the default — don't pass a flag for them. Output is always .md,
and the intermediate .srt is never left behind.
Ask the user for the video or channel URL if it isn't given.
For several specific videos, run the script once per video URL.
If a channel request has no date range, ask for one before running. (A single video needs no dates — just run it.) An active channel can have thousands of videos, and a request that doesn't mention dates is far more likely to be an oversight than a request for the entire back catalog. Offer the last 7 days as the default and let the user widen it. Only skip the question when the user has already stated a range, said something like "everything" or "all of it", or already declined to narrow it.
Convert natural-language ranges yourself ("July 2026" → 20260701 20260731,
"last month", "since May"). Look up today's date rather than assuming it.
The script applies the same 7-day default on its own if dates are omitted, so a forgotten range can't turn into a full-catalog download — but ask first rather than relying on that.
scripts/fetch_transcripts.sh [--no-timestamps] [--chunk N] <video_url>
scripts/fetch_transcripts.sh [--no-timestamps] [--chunk N] <channel_url> [start_YYYYMMDD] [end_YYYYMMDD] [max]
For a channel, omitting the dates fetches the last 7 days and says so.
Example — one video:
scripts/fetch_transcripts.sh "https://www.youtube.com/watch?v=lmQqiWQF_8I"
Example — all July 2026 videos from AI Daily Brief, as timestamped markdown:
scripts/fetch_transcripts.sh "https://www.youtube.com/@AIDailyBrief/videos" 20260701 20260731
Example — at most 5 transcripts:
scripts/fetch_transcripts.sh "https://www.youtube.com/@AIDailyBrief/videos" 20260701 20260731 5
Example — timestamps grouped into 30-second paragraphs:
scripts/fetch_transcripts.sh --chunk 30 "https://www.youtube.com/@AIDailyBrief/videos" 20260701 20260731
Example — prose without timestamps:
scripts/fetch_transcripts.sh --no-timestamps "https://www.youtube.com/@AIDailyBrief/videos" 20260701 20260731
Output lands in the current directory as YYYYMMDD - Title [VIDEOID].md. The
video ID is kept in the filename so a transcript can always be traced back to
its source, and every file carries it in YAML frontmatter regardless of mode:
---
title: Is Kimi K3 Really Fable Class
date: 20260721
video_id: lmQqiWQF_8I
url: https://www.youtube.com/watch?v=lmQqiWQF_8I
---
# Is Kimi K3 Really Fable Class
Link to any moment: `https://www.youtube.com/watch?v=lmQqiWQF_8I&t=<seconds>s`
[00:00:00] Today on the AI Daily Brief, did we
[00:00:02] actually just get a fable level open
With --chunk 30, one paragraph per 30 seconds instead of one line per caption
line. With --no-timestamps, the same file minus the [HH:MM:SS] prefixes and
the deep-link hint — the frontmatter is unchanged.
To deep-link a quote, convert its [HH:MM:SS] to seconds and append
&t=<seconds>s to the url from the frontmatter — no lookup or web search
needed.
yt-dlp with --no-playlist and no date
filters; everything after the download is the same as for a channel.--break-match-filters on the
start date to stop walking the catalog once it passes below the range —
it does not scan all videos.--sub-langs en (not en.*) avoids downloading both en and en-orig,
which are duplicates on most channels.--sub-format ttml is what keeps the output clean. YouTube serves auto-captions
in several formats; the default vtt/srt ones are a rolling two-line window
where each cue repeats the previous line above the new one (interleaved with
10 ms "hold" cues), so every phrase lands in the file about twice. ttml has
one entry per phrase with no repetition, and --convert-subs srt turns it into
a plain SRT. Requesting the right format beats deduplicating afterward — a
transcript is allowed to contain genuinely repeated lines.yt-dlp itself, in Python. ffmpeg is only
called when converting to some other target format, and --skip-download
means no media is fetched, so the skill has no ffmpeg dependency. Keep the
target as srt to keep it that way.<font …> styling tags; both
output paths strip them.scripts/srt_to_md.awk does the .md formatting: it drops index and timestamp
lines and re-tags each caption line with its start time as [HH:MM:SS].yt-dlp exits non-zero when --break-match-filters or --max-downloads
trips; the script treats those as normal completion.--sub-format ttml relies on YouTube
offering that format, which it does for every video and language; other sites
may not, in which case the fetch would find no matching subtitle format.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
32 skills in this plugin
/architecture-decision-recordsWrite and maintain Architecture Decision Records (ADRs) that capture the context and rationale behind significant technical decisions. Use when documenting an architectural or technology choice, recording a design trade-off, superseding a past decision, or setting up an ADR process. Also use proactively to offer an ADR when a significant decision is made during a coding session (database, framework, auth scheme, API style, integration pattern). Triggers on "write an ADR", "document this decision", "record this architecture choice", "add a decision record", "supersede ADR"./aws-learningsProactively catch common AWS infrastructure mistakes before they happen. Use when creating or modifying AWS components — CloudFormation, CDK, Lambda, API Gateway, IAM, S3, CloudFront, EC2, EventBridge, SQS, Secrets Manager, or SSM — to find and apply hard-won deployment lessons and avoid known pitfalls. Read-only: fetches lessons, does not add them./aws-learnings-addContribute a new lesson to the AWS Learnings library (the llms.txt-format library at github.com/jbdamask/aws-learnings-library). Use this whenever you've just debugged, fixed, or discovered a non-obvious AWS gotcha — CloudFormation, CDK, Lambda, API Gateway, IAM, S3, CloudFront, EC2, EventBridge, SQS, Secrets Manager, SSM — and want to capture it for next time. Triggers on phrases like 'add an AWS learning', 'save this AWS lesson', 'capture this gotcha', 'add this to the learnings library', or after solving a tricky AWS deployment problem worth remembering. This skill WRITES files (a new lesson file + an updated index) and prepares a pull request; it is the write companion to the read-only 'aws-learnings' skill./aws-quick-endpointCreate a token-secured REST API endpoint backed by AWS Lambda and DynamoDB with full CRUD and paginated list support. Deploys via CloudFormation. Use when user wants to quickly spin up an API endpoint, create a simple REST API on AWS, build a quick data store with an API, set up a Lambda+DynamoDB endpoint, or needs a fast way to log and retrieve structured data. Triggers on "create an endpoint", "quick API", "Lambda endpoint", "DynamoDB API", "CRUD endpoint", "log data to AWS"./build-my-voiceAnalyzes samples of the user's writing and creates or updates a structured `voice-profile.yaml` describing their writing voice as weighted, evidence-backed features, then asks the author a short round of questions to confirm the inferences the samples cannot settle on their own. Use when the user wants to capture, build, learn, profile, or update their writing voice or style from writing samples — "build my voice profile", "analyze my writing style", "learn how I write", "create a voice profile from these posts", "update my voice profile with this new sample". This skill only ANALYZES writing and produces the profile; it never drafts new content in the user's voice — use the my-voice skill for that./bullshit-testsAudit a codebase's test suite for tests that pass for no good reason — no assertions, tautologies, assertions on mocks only, swallowed exceptions, unawaited async assertions, permanently skipped tests, and other patterns that stay green no matter how broken the code is. Produces a red/yellow/green report. Use when the user says "bullshit tests", "find fake tests", "audit my test suite", "which tests are useless", "are these tests actually testing anything", "check test quality", "find tests that always pass", or asks whether green CI means anything.npx claudepluginhub jbdamask/john-claude-skills --plugin john-skillsOther plugins' skills for the same job