youtube-transcript-panel-pull
Skill1 starsChanged 15 days agoMITView on GitHub
Use this skill when you need the words from a YouTube video as text: your own episode or webinar to repurpose, or a prospect's talk or podcast appearance to prepare for a call. Produces one timestamped .txt transcript per video. "Get the transcript of this video", "pull captions from my channel", "what did they say on that podcast".
In this repository67 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- morning-paper-outreachSkill
- client-activation-checkinSkill
- client-churn-autopsySkill
- client-win-backSkill
- late-payment-chaseSkill
- network-path-mappingSkill
- rate-increase-planSkill
- sales-call-debriefSkill
- weekly-funnel-reviewSkill
- buyer-readSkill
- punch-upSkill
- call-topic-miningSkill
- ceo-exec-assistantSkill
- og-image-from-templateSkill
- weekly-site-and-ad-reportSkill
- icp-reviewSkill
- weekly-content-ideas-from-callsSkill
- client-performance-reviewSkill
- cold-email-sequenceSkill
- email-content-reviewerSkill
- scoring-analysis-and-distributionSkill
- delivery-audit-discovery-callSkill
- directionSkill
- rundownSkill
- source-checkSkill
- work-reviewSkill
- demandbird-exact-time-linkedin-postSkill
- kondo-owed-reply-sweepSkill
- linkedin-export-contact-importSkill
- mail-messages-contact-touchesSkill
- riverside-short-social-scheduleSkill
- email-voice-setupSkill
- upsell-opportunity-briefSkill
- ad-creative-content-strategySkill
- klaviyo-account-auditSkill
- facilitator-notesSkill
- local-prospectingSkill
- weekly-linkedin-postsSkill
- linkedin-watchlist-briefSkill
- pipeline-by-scriptSkill
- pre-session-flash-cardSkill
- write-in-the-owners-voiceSkill
- reddit-gtm-sprintSkill
- process-captureSkill
- sales-call-market-analyzerSkill
- linkedin-shoutout-postSkill
- plain-language-copy-checkSkill
- revenue-goal-funnel-mathSkill
- case-study-buildSkill
- cash-runway-forecastSkill
- client-profitability-readSkill
- client-proposalSkill
- content-briefSkill
- quarter-goal-filterSkill
- win-to-anglesSkill
- activity-incentive-sprintSkill
- candidate-interview-coachSkill
- client-list-stack-pitchSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Wait a few seconds, then read the transcript rows.
- Distinctive: line 27
When pulling a batch, check that the counts agree: IDs collected, files written, unique IDs on disk.
- Distinctive: line 40
MUST read the transcript panel, not the caption endpoint.
- Distinctive: line 41
MUST refuse to save a file with zero rows.
- Distinctive: line 42
MUST label auto-generated captions as auto-generated.
- Distinctive: line 43
NEVER quote a transcript line as a person's exact words without checking it against the audio.
- Distinctive: line 44
NEVER pull a private or members-only video the reader has no right to.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Applies when someone needs a YouTube video's spoken words as text. Produces one timestamped transcript file per video.
The reliable route is the transcript panel on the watch page, read by the agent in a browser. It works on public videos without signing in.
The play
- Collect the video IDs. For one video, take the
v=value from the URL. For a channel, open its Videos tab and collect the IDs from the page links (snippet inreferences/browser-snippets.md). Skip Shorts and IDs you already have. - Open each watch page. Pause the video, expand the description, then click "Show transcript". The button lives inside the description, so it does not exist until the description is expanded.
- Wait a few seconds, then read the transcript rows. Each row has a timestamp and a text span. Join them as
[m:ss] text. - Get the text off the page through a temporary textarea and a copy command. Return the row count and the first and last rows, check the clipboard matches, then write the file. This keeps a long transcript out of the agent's context.
- Zero rows usually means the panel hasn't loaded; it can also mean no captions or changed markup. Retry once, then report which; never save an empty file.
- Save one file per video with a short header: video ID, title, language and whether the captions are auto-generated. Read the language and caption type from the page; don't assume them.
- When pulling a batch, check that the counts agree: IDs collected, files written, unique IDs on disk.
Open references/browser-snippets.md for the exact selectors and the copy snippet.
What good looks like
- First check: the row count. A real 30-minute episode returns hundreds of rows; a handful means the panel was still loading, or you grabbed a chapter list instead.
- The mediocre version calls YouTube's caption endpoint directly. Without a session token it now returns an empty body, so the agent reports success on blank files.
- The other mediocre version pastes the whole transcript into the chat to save it. It works once, then burns the agent's context on the second video.
- The output is right when every file has rows, the batch counts agree, and a spot-checked timestamp in the file matches the video at that moment.
Rules
- MUST read the transcript panel, not the caption endpoint.
- MUST refuse to save a file with zero rows.
- MUST label auto-generated captions as auto-generated; speakers are not identified in them.
- NEVER quote a transcript line as a person's exact words without checking it against the audio. Auto-captions mishear names, numbers and jargon.
- NEVER pull a private or members-only video the reader has no right to.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

