[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M751M8336DWD5EJ0VR38RB2N":3,"skill-same:01M751M8336DWD5EJ0VR38RB2N":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":13,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M751M8336DWD5EJ0VR38RB2N","ingest-youtube",null,"Pull a YouTube video transcript into a queryable markdown vault with yt-dlp subtitle discovery, VTT cleanup, metadata frontmatter, and capture-seed stubs.","ASoudy\u002FAGS","ASoudy","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F40639702?v=4","01M74G5NTCW8MWDNRTAF303PA1","01M74G5NTZXSE6T0GZR5BCB6V0",0,"MIT","https:\u002F\u002Fgithub.com\u002FASoudy\u002FAGS\u002Fblob\u002Fmain\u002FAGAS\u002Fskills\u002Fingest-youtube\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: ingest-youtube\ndescription: \"Pull a YouTube video transcript into a queryable markdown vault with yt-dlp subtitle discovery, VTT cleanup, metadata frontmatter, and capture-seed stubs.\"\nrisk: safe\nsource: community\nsource_repo: adelaidasofia\u002Fai-brain-starter\nsource_type: community\ndate_added: \"2026-05-09\"\nlicense: MIT\nlicense_source: \"https:\u002F\u002Fgithub.com\u002Fadelaidasofia\u002Fai-brain-starter\u002Fblob\u002Fmain\u002FLICENSE\"\nupstream: \"https:\u002F\u002Fgithub.com\u002Fadelaidasofia\u002Fai-brain-starter\u002Ftree\u002Fmain\u002Fskills\u002Fingest-youtube\"\n---\n\n# ingest-youtube — YouTube-to-vault connector\n\nPulls YouTube transcripts into a markdown vault as queryable typed-memory entries that downstream skills (knowledge graph extraction, voice-fingerprint training, content repurposing, action-item extraction) can act on.\n\nSame pattern as ingest-slack, ingest-whatsapp, ingest-notion, ingest-linear, ingest-github, ingest-gmail. Adding YouTube means a new normalizer, not a new architecture.\n\n## When to use\n\n- User pastes a YouTube URL and asks for a transcript or summary\n- User says `\u002Fingest-youtube \u003Curl>` for a single video\n- User asks to capture, sync, ingest, transcribe, or pull a talk\u002Fpodcast\u002Fkeynote into the vault\n\nDo NOT use for:\n- Downloading the actual video file (use `yt-dlp` directly with `-f best`)\n- Channel-wide ingestion or `--days` windows; this script ingests one video URL at a time\n- Live streams (transcripts are not stable)\n- Non-YouTube sources (Vimeo, Twitch, Twitter Spaces have their own connectors)\n- One-off transcript reads where the user does not want a vault file (run `yt-dlp --write-auto-sub` directly and pipe to stdout)\n\n## How it works\n\n1. Parse the input as one YouTube video URL.\n2. Verify `yt-dlp` is installed. If not, the script exits with install instructions: `brew install yt-dlp` (macOS) or `pip3 install --user yt-dlp`.\n3. Call `yt-dlp --list-subs \u003Curl>` to enumerate available subtitles.\n4. Subtitle priority: manual subs > auto-generated captions. Manual subs preserve creator-provided punctuation and speaker labels; auto-gen is uppercase + no punctuation.\n5. Download the highest-priority subtitle as VTT via `yt-dlp --write-sub --sub-lang \u003Clang> --skip-download`. Default language preference: `en,es` (English first, Spanish second).\n6. Strip VTT timing markers and merge into clean prose paragraphs. Deduplicate repeated lines (auto-generated VTTs are line-doubled). Preserve speaker labels if the source had them.\n7. Pull video metadata (title, channel, upload date, duration, video_id, URL) via `yt-dlp --print-json --skip-download`.\n8. Slugify the channel name and video title. Write to `External Inputs\u002FYouTube\u002F\u003Cchannel-slug>\u002F\u003CYYYY-MM-DD>-\u003Cvideo-slug>.md`.\n9. Scan transcript for trigger keywords (decision, framework, model, principle, \"the lesson is\", playbook, anti-pattern, case study). For each match, create a writing-seed stub at `Meta\u002FCaptures\u002F\u003CYYYY-MM-DD>-youtube-\u003Cchannel-slug>-\u003Cvideo-id>.md` so the seed lands in the captures aggregator.\n10. Print summary: file path, transcript word count, language, seeds detected.\n\n## Invocation\n\n```bash\npython3 ingest.py \u003Cyoutube-url> [--vault \u003Cpath>] [--lang \u003Ccode>]\n```\n\nDefaults:\n- `--vault`: `$VAULT_ROOT` env var or current directory\n- `--lang`: `en,es` (English first, Spanish second; matches a common bilingual default)\n- `--whisper`: accepted as a future fallback flag, but this version writes a stub when no subtitles are available\n\n## Output contract\n\nThe vault file at `External Inputs\u002FYouTube\u002F\u003Cchannel-slug>\u002F\u003CYYYY-MM-DD>-\u003Cvideo-slug>.md` has frontmatter:\n\n```yaml\n---\ntype: external-input\nsource: youtube\nvideo_id: \u003C11-char ID>\nurl: https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=\u003Cid>\nchannel: \u003Cchannel-name>\nchannel_url: https:\u002F\u002Fwww.youtube.com\u002F\u003Chandle>\ntitle: \u003Cvideo title>\nupload_date: \u003CYYYY-MM-DD>\nduration_seconds: \u003Cint>\nlanguage: \u003CISO code>\nsubtitle_source: manual | auto | whisper\nword_count: \u003Cint>\ningested_at: \u003CISO 8601 timestamp>\n---\n```\n\nBody is the cleaned transcript as paragraph prose. If the source had speaker labels, format as `**\u003Cspeaker>:** \u003Ctext>` per turn.\n\n## Idempotency\n\nRe-ingesting the same video URL overwrites the same vault file. The seed stub filenames hash the video_id, so the same source video produces the same stub filename across re-runs. Re-runs refresh, never duplicate.\n\n## Missing subtitles\n\nIf `yt-dlp --list-subs` returns no manual or auto subtitles, the script writes a stub vault note with the video metadata and source URL instead of failing silently. The `--whisper` flag is reserved for a future local transcription fallback and currently reports that the fallback is not implemented.\n\nFor a manual fallback today, download audio with `yt-dlp`, transcribe it with your local Whisper workflow, and add captions or transcript text before rerunning the ingest.\n\n## Limitations\n\n- Ingests one YouTube video URL per run; channel handles, playlists, and `--days` windows are out of scope.\n- Depends on subtitles returned by `yt-dlp`; videos without subtitles produce a metadata stub, not a transcript.\n- Does not download video files or perform built-in Whisper transcription in this version.\n- Network availability, YouTube subtitle access, and local `yt-dlp` behavior determine whether ingest succeeds.\n\n## Acceptance test\n\nRun against the first YouTube video ever uploaded:\n\n```bash\npython3 ingest.py \"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=jNQXAC9IVRw\" --vault \u002Ftmp\u002Ftest\n```\n\nExpected output:\n```\nWrote 39 words to \u002Ftmp\u002Ftest\u002FExternal Inputs\u002FYouTube\u002Fjawed\u002F2005-04-24-me-at-the-zoo.md. Language: en. Subtitle source: manual.\n```\n\nThe output file contains valid frontmatter and a clean prose body.\n\n## Dependencies\n\n- `yt-dlp` (required): install via `brew install yt-dlp` or `pip3 install --user yt-dlp`\n- `whisper-cpp` (optional for a manual fallback outside this script)\n\n## Source\n\nBundled in [adelaidasofia\u002Fai-brain-starter](https:\u002F\u002Fgithub.com\u002Fadelaidasofia\u002Fai-brain-starter), a verification harness around an AI agent so memory compounds instead of corrupts. The skill is part of the ingest-* family of vault connectors.\n","# ingest-youtube — YouTube-to-vault connector\n\nPulls YouTube transcripts into a markdown vault as queryable typed-memory entries that downstream skills (knowledge graph extraction, voice-fingerprint training, content repurposing, action-item extraction) can act on.\n\nSame pattern as ingest-slack, ingest-whatsapp, ingest-notion, ingest-linear, ingest-github, ingest-gmail. Adding YouTube means a new normalizer, not a new architecture.\n\n## When to use\n\n- User pastes a YouTube URL and asks for a transcript or summary\n- User says `\u002Fingest-youtube \u003Curl>` for a single video\n- User asks to capture, sync, ingest, transcribe, or pull a talk\u002Fpodcast\u002Fkeynote into the vault\n\nDo NOT use for:\n- Downloading the actual video file (use `yt-dlp` directly with `-f best`)\n- Channel-wide ingestion or `--days` windows; this script ingests one video URL at a time\n- Live streams (transcripts are not stable)\n- Non-YouTube sources (Vimeo, Twitch, Twitter Spaces have their own connectors)\n- One-off transcript reads where the user does not want a vault file (run `yt-dlp --write-auto-sub` directly and pipe to stdout)\n\n## How it works\n\n1. Parse the input as one YouTube video URL.\n2. Verify `yt-dlp` is installed. If not, the script exits with install instructions: `brew install yt-dlp` (macOS) or `pip3 install --user yt-dlp`.\n3. Call `yt-dlp --list-subs \u003Curl>` to enumerate available subtitles.\n4. Subtitle priority: manual subs > auto-generated captions. Manual subs preserve creator-provided punctuation and speaker labels; auto-gen is uppercase + no punctuation.\n5. Download the highest-priority subtitle as VTT via `yt-dlp --write-sub --sub-lang \u003Clang> --skip-download`. Default language preference: `en,es` (English first, Spanish second).\n6. Strip VTT timing markers and merge into clean prose paragraphs. Deduplicate repeated lines (auto-generated VTTs are line-doubled). Preserve speaker labels if the source had them.\n7. Pull video metadata (title, channel, upload date, duration, video_id, URL) via `yt-dlp --print-json --skip-download`.\n8. Slugify the channel name and video title. Write to `External Inputs\u002FYouTube\u002F\u003Cchannel-slug>\u002F\u003CYYYY-MM-DD>-\u003Cvideo-slug>.md`.\n9. Scan transcript for trigger keywords (decision, framework, model, principle, \"the lesson is\", playbook, anti-pattern, case study). For each match, create a writing-seed stub at `Meta\u002FCaptures\u002F\u003CYYYY-MM-DD>-youtube-\u003Cchannel-slug>-\u003Cvideo-id>.md` so the seed lands in the captures aggregator.\n10. Print summary: file path, transcript word count, language, seeds detected.\n\n## Invocation\n\n```bash\npython3 ingest.py \u003Cyoutube-url> [--vault \u003Cpath>] [--lang \u003Ccode>]\n```\n\nDefaults:\n- `--vault`: `$VAULT_ROOT` env var or current directory\n- `--lang`: `en,es` (English first, Spanish second; matches a common bilingual default)\n- `--whisper`: accepted as a future fallback flag, but this version writes a stub when no subtitles are available\n\n## Output contract\n\nThe vault file at `External Inputs\u002FYouTube\u002F\u003Cchannel-slug>\u002F\u003CYYYY-MM-DD>-\u003Cvideo-slug>.md` has frontmatter:\n\n```yaml\n---\ntype: external-input\nsource: youtube\nvideo_id: \u003C11-char ID>\nurl: https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=\u003Cid>\nchannel: \u003Cchannel-name>\nchannel_url: https:\u002F\u002Fwww.youtube.com\u002F\u003Chandle>\ntitle: \u003Cvideo title>\nupload_date: \u003CYYYY-MM-DD>\nduration_seconds: \u003Cint>\nlanguage: \u003CISO code>\nsubtitle_source: manual | auto | whisper\nword_count: \u003Cint>\ningested_at: \u003CISO 8601 timestamp>\n---\n```\n\nBody is the cleaned transcript as paragraph prose. If the source had speaker labels, format as `**\u003Cspeaker>:** \u003Ctext>` per turn.\n\n## Idempotency\n\nRe-ingesting the same video URL overwrites the same vault file. The seed stub filenames hash the video_id, so the same source video produces the same stub filename across re-runs. Re-runs refresh, never duplicate.\n\n## Missing subtitles\n\nIf `yt-dlp --list-subs` returns no manual or auto subtitles, the script writes a stub vault note with the video metadata and source URL instead of failing silently. The `--whisper` flag is reserved for a future local transcription fallback and currently reports that the fallback is not implemented.\n\nFor a manual fallback today, download audio with `yt-dlp`, transcribe it with your local Whisper workflow, and add captions or transcript text before rerunning the ingest.\n\n## Limitations\n\n- Ingests one YouTube video URL per run; channel handles, playlists, and `--days` windows are out of scope.\n- Depends on subtitles returned by `yt-dlp`; videos without subtitles produce a metadata stub, not a transcript.\n- Does not download video files or perform built-in Whisper transcription in this version.\n- Network availability, YouTube subtitle access, and local `yt-dlp` behavior determine whether ingest succeeds.\n\n## Acceptance test\n\nRun against the first YouTube video ever uploaded:\n\n```bash\npython3 ingest.py \"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=jNQXAC9IVRw\" --vault \u002Ftmp\u002Ftest\n```\n\nExpected output:\n```\nWrote 39 words to \u002Ftmp\u002Ftest\u002FExternal Inputs\u002FYouTube\u002Fjawed\u002F2005-04-24-me-at-the-zoo.md. Language: en. Subtitle source: manual.\n```\n\nThe output file contains valid frontmatter and a clean prose body.\n\n## Dependencies\n\n- `yt-dlp` (required): install via `brew install yt-dlp` or `pip3 install --user yt-dlp`\n- `whisper-cpp` (optional for a manual fallback outside this script)\n\n## Source\n\nBundled in [adelaidasofia\u002Fai-brain-starter](https:\u002F\u002Fgithub.com\u002Fadelaidasofia\u002Fai-brain-starter), a verification harness around an AI agent so memory compounds instead of corrupts. The skill is part of the ingest-* family of vault connectors.\n",{"name":5,"risk":23,"source":24,"license":14,"upstream":25,"date_added":26,"description":7,"source_repo":27,"source_type":24,"license_source":28},"safe","community","https:\u002F\u002Fgithub.com\u002Fadelaidasofia\u002Fai-brain-starter\u002Ftree\u002Fmain\u002Fskills\u002Fingest-youtube","2026-05-09","adelaidasofia\u002Fai-brain-starter","https:\u002F\u002Fgithub.com\u002Fadelaidasofia\u002Fai-brain-starter\u002Fblob\u002Fmain\u002FLICENSE","main","cd1d94757d590093507ef8ac26299eab8bc20478","AGAS\u002Fskills\u002Fingest-youtube","https:\u002F\u002Fgithub.com\u002FASoudy\u002FAGS","https:\u002F\u002Fgithub.com\u002FASoudy","2026-05-23 09:43:12",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add ASoudy\u002FAGS --skill ingest-youtube",{"tool":41,"command":42},"bunx","bunx skills add ASoudy\u002FAGS --skill ingest-youtube",{"tool":44,"command":45},"pnpm","pnpm dlx skills add ASoudy\u002FAGS --skill ingest-youtube","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FASoudy\u002FAGS\u002Fblob\u002Fmain\u002FAGAS\u002Fskills\u002Fingest-youtube\u002FSKILL.md",true,[49],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"ingest.py","SCRIPT","脚本",10733,"https:\u002F\u002Fgithub.com\u002FASoudy\u002FAGS\u002Fblob\u002Fmain\u002FAGAS\u002Fskills\u002Fingest-youtube\u002Fingest.py",[56,63,70,77,84,91],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":18},"01M756BTEVC407T0QR8S420JWD","web-typography","Select, pair, and implement typefaces for web projects. Use when the user mentions \"font pairing\", \"which typeface\", \"line height\", \"responsive typography\", \"web font loading\", \"type hierarchy\", \"variable fonts\", \"FOUT\u002FFOIT\", or \"typographic scale\". Also trigger when choosing between system fonts and web fonts, optimizing font loading performance, or designing readable long-form content layouts. Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.","https:\u002F\u002Fgithub.com\u002FASoudy\u002FAGS\u002Fblob\u002Fmain\u002Fclaude_skills_libraries\u002Fwondelai-product-strategy\u002Fweb-typography\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M756B4RYF2CB17C33X6ZJQT5","ux-heuristics","Evaluate and improve interface usability using heuristic analysis. Use when the user mentions \"usability audit\", \"UX review\", \"users are confused\", \"heuristic evaluation\", \"form usability\", \"navigation problems\", \"Nielsen heuristics\", \"cognitive walkthrough\", or \"usability testing\". Also trigger when reviewing a design for usability issues, improving form completion rates, or evaluating information architecture and navigation. Covers Nielsens 10 heuristics, severity ratings, and information architecture. For visual design fixes, see refactoring-ui. For conversion-focused audits, see cro-methodology.","https:\u002F\u002Fgithub.com\u002FASoudy\u002FAGS\u002Fblob\u002Fmain\u002Fclaude_skills_libraries\u002Fwondelai-product-strategy\u002Fux-heuristics\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M756ANVFT0T6BAPV6Y93EPR6","traction-eos","Implement the Entrepreneurial Operating System (EOS) to align vision and execution across a company. Use when the user mentions \"EOS\", \"V\u002FTO\", \"quarterly rocks\", \"Level 10 meetings\", \"accountability chart\", \"IDS process\", \"Entrepreneurial Operating System\", or \"business operating system\". Also trigger when a growing company needs meeting structure, goal-setting frameworks, or a systematic approach to solving recurring organizational issues. Covers the six EOS components: Vision, People, Data, Issues, Process, Traction. For team motivation design, see drive-motivation. For lean experimentation, see lean-startup.","https:\u002F\u002Fgithub.com\u002FASoudy\u002FAGS\u002Fblob\u002Fmain\u002Fclaude_skills_libraries\u002Fwondelai-product-strategy\u002Ftraction-eos\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M756A7NZZMNJN9KZ33QGFHV6","top-design","Create award-winning, immersive web experiences at the level of Awwwards-featured agencies. Use when the user mentions \"premium website\", \"portfolio site\", \"scroll animations\", \"Awwwards quality\", \"brand experience\", \"cinematic web design\", \"parallax storytelling\", or \"agency-quality site\". Also trigger when building landing pages that need to impress, designing creative portfolios, or elevating a standard website to a memorable digital experience. Covers dramatic typography, purposeful motion, scroll-based composition, and performance-optimized animation. For foundational UI, see refactoring-ui. For type selection, see web-typography.","https:\u002F\u002Fgithub.com\u002FASoudy\u002FAGS\u002Fblob\u002Fmain\u002Fclaude_skills_libraries\u002Fwondelai-product-strategy\u002Ftop-design\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M7569J5G1NXM3RR194D52SGB","system-design","Design scalable distributed systems using structured approaches for load balancing, caching, database scaling, and message queues. Use when the user mentions \"system design\", \"scale this\", \"high availability\", \"rate limiter\", \"design a URL shortener\", \"system design interview\", \"capacity planning\", or \"distributed architecture\". Also trigger when estimating infrastructure requirements, choosing between microservices and monoliths, or designing for millions of concurrent users. Covers common system designs and back-of-the-envelope estimation. For data fundamentals, see ddia-systems. For resilience, see release-it.","https:\u002F\u002Fgithub.com\u002FASoudy\u002FAGS\u002Fblob\u002Fmain\u002Fclaude_skills_libraries\u002Fwondelai-product-strategy\u002Fsystem-design\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":18},"01M75691MJKE6PBA1EC398EKQT","storybrand-messaging","Clarify brand messaging using narrative structure that positions the customer as hero. Use when the user mentions \"brand message\", \"website copy\", \"elevator pitch\", \"one-liner\", \"messaging isnt resonating\", \"brand script\", \"StoryBrand framework\", or \"customer as hero\". Also trigger when rewriting homepage copy, crafting email nurture sequences, or creating consistent messaging across sales collateral and marketing materials. Covers landing page copy, marketing collateral, and consistent communication. For memorable messaging, see made-to-stick. For product positioning, see obviously-awesome.","https:\u002F\u002Fgithub.com\u002FASoudy\u002FAGS\u002Fblob\u002Fmain\u002Fclaude_skills_libraries\u002Fwondelai-product-strategy\u002Fstorybrand-messaging\u002FSKILL.md",[],[]]