youtube-processing
Skill2 starsChanged 57 days agoMITView on GitHub
Process YouTube URLs into Obsidian-ready study notes with transcript reuse, local thumbnails, bilingual EN/ES summaries, and Personal/Youtube frontmatter compatibility. Use when the user shares one or more YouTube links and wants structured transcript plus summary notes saved to Obsidian.
In this repository34 other files it gives its agents.
- accessibilitySkill
- agent-instructionsSkill
- analyze-change-effectsSkill
- article-processingSkill
- ci-cd-automationSkill
- commitSkill
- communicate-clearlySkill
- compare-solutionsSkill
- create-project-instructionsSkill
- daily-meeting-updateSkill
- debugSkill
- design-code-structureSkill
- error-handlingSkill
- explain-codeSkill
- explain-decisionsSkill
- github-actionsSkill
- handoffSkill
- learning-planSkill
- people-memorySkill
- pr-followupSkill
- prototypeSkill
- prSkill
- report-work-activitySkill
- review-code-changesSkill
- simplify-codeSkill
- stacked-prSkill
- tddSkill
- teachSkill
- typescript-best-practicesSkill
- verification-authoringSkill
- verifySkill
- workflow-to-skillSkill
- worktrunkSkill
- write-documentationSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
23 rules. About 0 are common, 12 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Use only for YouTube video URLs.
- Very specific: line 13
Write only under the Personal Obsidian vault.
- Distinctive: line 14
Ask for the vault path if the Personal vault cannot be found.
- Distinctive: line 20
Follow this order exactly:
- Very specific: line 23
Search ./Youtube//*.md for an existing matching video_id.
- Distinctive: line 29
Create English and Spanish summary notes.
- Distinctive: line 30
Verify folder structure, frontmatter, tags, local links, and Base compatibility.
- Very specific: line 35
Treat video_id as the canonical identity.
- Very specific: line 36
Search before downloading anything: rg 'video_id:\s*"?{video_id}"?' ./Youtube -g '*.md'.
- Very specific: line 38
If a matching video folder has transcript.md, ask exactly one question with these choices:
- Distinctive: line 41
If a matching summary exists but no transcript exists, download the transcript and reuse the existing folder when practical.
- Very specific: line 45
Use yt-dlp or available YouTube transcript MCP/tooling for subtitle retrieval.
- Very specific: line 46
If $HOME/youtube_cookies.txt exists, pass it to yt-dlp as --cookies "$HOME/youtube_cookies.txt".
- Distinctive: line 47
Prefer English subtitles when available.
- Distinctive: line 54
Use only local thumbnail links in notes.
- Distinctive: line 62
Use spaces in filenames; do not use dash-separated slug filenames.
- Very specific: line 65
Do not include en or es tags.
- Distinctive: line 69
Create exactly two summary notes per video, one English and one Spanish.
- Very specific: line 70
Use language: "en" for the English note and language: "es" for the Spanish note.
- Very specific: line 71
Add spanish_file: "{spanish_filename}.md" to the English note only.
- Very specific: line 73
Keep thumbnail_file exactly attachments/{safe_video_id}.jpg.
- Distinctive: line 75
If the transcript is not English or Spanish, translate summaries into English, Spanish, or both as needed while keeping the transcript …
- Distinctive: line 77
Do not invent claims, examples, or conclusions not supported by the transcript.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
YouTube Processing
Convert YouTube videos into a complete Obsidian note set under the Personal vault: transcript.md, English summary, Spanish summary, and a local thumbnail.
Scope And Output
- Use only for YouTube video URLs; do not use for articles, podcasts, generic webpages, or non-YouTube videos.
- Write only under the Personal Obsidian vault. Prefer
$HOME-based paths: Linux$HOME/obsidian/Personal; macOS$HOME/Library/Mobile Documents/iCloud~md~obsidian/Documents/Personal. - Ask for the vault path if the Personal vault cannot be found.
- Store outputs at
./Youtube/{main_topic}/{video_folder_title}/. - Required files: English summary, Spanish summary,
transcript.md, andattachments/{safe_video_id}.jpg.
Ordered Workflow
Follow this order exactly:
- Extract canonical
video_idfrom the URL. - Search
./Youtube/**/*.mdfor an existing matchingvideo_id. - Decide whether to reuse or refresh any existing
transcript.md. - Download or read
transcript.md. - Extract title, channel, duration, and upload date.
- Download the best available thumbnail to local
attachments/. - Choose
main_topic, folder title, filenames, and English tags. - Create English and Spanish summary notes.
- Verify folder structure, frontmatter, tags, local links, and Base compatibility.
Identity And Duplicate Rules
- Parse
video_idfrom common URL forms, includingwatch?v=,youtu.be/, and Shorts URLs. - Treat
video_idas the canonical identity. - Search before downloading anything:
rg 'video_id:\s*"?{video_id}"?' ./Youtube -g '*.md'. - Match quoted and unquoted
video_idvalues. - If a matching video folder has
transcript.md, ask exactly one question with these choices:- Override transcript and reprocess everything.
- Reuse existing transcript and regenerate summaries only.
- If a matching summary exists but no transcript exists, download the transcript and reuse the existing folder when practical.
Transcript And Thumbnail Rules
- Use
yt-dlpor available YouTube transcript MCP/tooling for subtitle retrieval. - If
$HOME/youtube_cookies.txtexists, pass it toyt-dlpas--cookies "$HOME/youtube_cookies.txt". - Prefer English subtitles when available; otherwise prefer the video's original-language subtitles before any translated subtitle track.
- Save transcript text exactly as returned; do not rewrite, summarize, or translate it.
- Filename must be exactly
transcript.md. - Include transcript frontmatter with at least
video_id,channel, andoriginal_video. - Save one thumbnail as
attachments/{safe_video_id}.jpg. - Build
safe_video_idby replacing invalid filename characters (:/\\*?"<>|) with-. - Try thumbnail URLs in order:
maxresdefault.jpg,hqdefault.jpg,mqdefault.jpg,default.jpg. - Use only local thumbnail links in notes; never hotlink YouTube image URLs.
Folder, Filename, And Tag Rules
- Choose
main_topicfrom the first meaningful non-system tag. - Exclude
youtube,en, andeswhen choosingmain_topic. - Normalize
main_topicto a lowercase slug and replace/with-, such asai/agentsbecomingai-agents. - Derive concise natural-language filenames from each summary's
Brief Summary. - Use spaces in filenames; do not use dash-separated slug filenames.
- Replace invalid macOS filename characters safely.
- Include at least five relevant English tags, including
youtube. - Do not include
enorestags.
Summary Contract
- Create exactly two summary notes per video, one English and one Spanish.
- Use
language: "en"for the English note andlanguage: "es"for the Spanish note. - Add
spanish_file: "{spanish_filename}.md"to the English note only. - Make
spanish_fileexactly match the Spanish filename, including spaces, capitalization, accents if present, and.md. - Keep
thumbnail_fileexactlyattachments/{safe_video_id}.jpg. - Translate directly with context awareness; do not use external translation tools.
- If the transcript is not English or Spanish, translate summaries into English, Spanish, or both as needed while keeping the transcript unchanged.
- Preserve technical terms, proper nouns, links, and code examples.
- Do not invent claims, examples, or conclusions not supported by the transcript.
Each summary must include frontmatter for original_video, channel, duration, upload_date, video_id, thumbnail_file, category, language, and tags. The English note also includes spanish_file.
Each summary body must include the local thumbnail image, ## Brief Summary, ## Key Points, and ## Comprehensive Summary with concept-focused section titles. Prioritize educational value for future study and keep key points to 15 bullets or fewer.
Completion Standard
Before reporting completion, verify: folder and required files exist; required frontmatter is present; upload_date uses YYYY-MM-DD when available; thumbnail_file and all thumbnail links are local; English spanish_file exactly matches the Spanish filename; Spanish note omits spanish_file; tags are English, include youtube, exclude en and es, and include at least five relevant tags; transcript is faithful; summaries are complete, language-specific, and transcript-grounded; duplicate detection happened before download; existing transcript flow asked whether to override or reuse; failures are reported clearly.
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.

