[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M796SC1W7DQV3EWHRHCP9612":3,"skill-same:01M796SC1W7DQV3EWHRHCP9612":61},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":14,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":40,"install":41,"resources":54},"01M796SC1W7DQV3EWHRHCP9612","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.","Elogic360\u002Fsoftware-factory","Elogic360","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F156535519?v=4","01M74NH3F0RB13PWB7JZDE2V80","elogic360","01M74NH3FPC65082MDZVMFHDM3",0,"MIT","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fantigravity-skills\u002Fskills\u002Fingest-youtube\u002FSKILL.md",[],[],"2026-11-15 14:19:17",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\"\nplugin:\n  setup:\n    type: manual\n    summary: \"Install yt-dlp locally before running ingest.py; the script only accepts http(s) YouTube video URLs and writes markdown into the selected vault.\"\n    docs: \"SKILL.md\"\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. Validate the URL as a single http(s) YouTube video and call `yt-dlp --ignore-config --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. Validate the URL as a single http(s) YouTube video and call `yt-dlp --ignore-config --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":24,"plugin":25,"source":30,"license":15,"upstream":31,"date_added":32,"description":7,"source_repo":33,"source_type":30,"license_source":34},"safe",{"setup":26},{"docs":27,"type":28,"summary":29},"SKILL.md","manual","Install yt-dlp locally before running ingest.py; the script only accepts http(s) YouTube video URLs and writes markdown into the selected vault.","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","c475fc64e94e803b50d14a791dfee8853fbb2c5c","integrations\u002Fantigravity-skills\u002Fskills\u002Fingest-youtube","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory","https:\u002F\u002Fgithub.com\u002FElogic360","2026-11-08 22:21:22",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add Elogic360\u002Fsoftware-factory --skill ingest-youtube",{"tool":47,"command":48},"bunx","bunx skills add Elogic360\u002Fsoftware-factory --skill ingest-youtube",{"tool":50,"command":51},"pnpm","pnpm dlx skills add Elogic360\u002Fsoftware-factory --skill ingest-youtube","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fantigravity-skills\u002Fskills\u002Fingest-youtube\u002FSKILL.md",true,[55],{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"ingest.py","SCRIPT","脚本",12674,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fantigravity-skills\u002Fskills\u002Fingest-youtube\u002Fingest.py",[62,70,77,84,91,98],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M79G206MT3J6S0GY3C45P2KV","vss-summarize-video","Use to summarize a recorded video via the LVS summarization microservice (HITL-gated) with a VLM fallback. Not for report generation or live RTSP captioning.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-summarize-video\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M79G1WN63PGRE8CKD47WEBQ5","vss-setup-video-analytics-api","Use to deploy the vss-video-analytics-api REST service standalone (config-source, data-log bind, Elasticsearch, optional Kafka). Not for full warehouse deploy.","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-setup-video-analytics-api\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M79G1S9F7VY3EF6H53PRP5AN","vss-setup-behavior-analytics","Use to deploy the vss-behavior-analytics service standalone (entrypoint, config-source, optional calibration). Not for the full warehouse deploy.","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-setup-behavior-analytics\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M79G1N1S1Y27PFZPYMNK1MTQ","vss-search-archive","Use this skill to run top-level VSS fusion search on archived video, or to ingest video files \u002F RTSP streams for search. Do NOT use for ad-hoc visual Q&A (use vss-ask-video), live captioning (use vss-deploy-dense-captioning), or video summarization and reports (use vss-summarize-video).","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-search-archive\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M79G1H6WN0Q6C0VCAXCZX6B7","vss-query-analytics","Use this skill when reading video-analytics metrics, incidents, alerts, and sensor data via the VA-MCP server (port 9901). Not for live VLM or incident-range narrative reports.","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-query-analytics\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M79G1DYPNXQS7QHZ0AAF5FX5","vss-manage-video-io-storage","Use to call the VIOS REST API (sensor list, timelines, clip extraction, snapshots, add\u002Fdelete sensors and streams). Not for VLM inference or search.","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-manage-video-io-storage\u002FSKILL.md",[],[]]