{"skill":{"slug":"social-video-distill","displayName":"Social Video Distill","summary":"Distill public social-video and short-form media with AI-first delegation. Use when the user shares a YouTube, Facebook, Instagram, TikTok, X, or local clip...","description":"---\nname: social-video-distill\ndescription: Distill public social-video and short-form media with AI-first delegation. Use when the user shares a YouTube, Facebook, Instagram, TikTok, X, or local clip and wants a fast transcript, summary, humor read, best line, caption ideas, or theme extraction. Prefer platform captions and browser AI such as Gemini or NotebookLM before local ASR; use local transcription only as a fallback when faster cloud/browser routes are unavailable.\n---\n\n# Social Video Distill\n\nDistill short-form video without defaulting to local heavy lifting.\n\nPrefer the fastest capable specialist first: existing captions, browser AI, then local fallback.\n\n## Workflow Decision Tree\n\n1. Clarify the output target.\n   - Transcript only\n   - Concise summary\n   - Humor read / joke structure\n   - Best line / key moment\n   - Suggested caption or reply\n\n2. Choose the lightest viable input path.\n   - If the user already pasted a transcript: skip retrieval and distill directly.\n   - If the platform likely exposes captions: use `scripts/extract_captions.sh` first.\n   - If captions are missing but a browser AI session is available: use Gemini for distillation of any rough transcript, notes, or manually recovered dialogue.\n   - If the task truly needs raw media and no better route exists: download media with `scripts/download_media.sh` and use a transcription fallback outside this skill.\n\n3. Distill with browser AI before using local ASR when the goal is understanding rather than archival transcript quality.\n   - Quick single-clip distillation: Gemini.\n   - Multi-source/theme synthesis: NotebookLM.\n\n4. Verify the result.\n   - Separate direct transcript from inference.\n   - If captions were unavailable and a rough transcript was used, say so.\n   - Quote the strongest line exactly when possible.\n\n## Quick Start\n\nInstall local helper runtimes once:\n\n```bash\nbash skills/social-video-distill/scripts/install_runtime.sh\n```\n\nTry captions first:\n\n```bash\nbash skills/social-video-distill/scripts/extract_captions.sh 'https://example.com/video'\n```\n\nDownload media only when needed:\n\n```bash\nbash skills/social-video-distill/scripts/download_media.sh 'https://example.com/video'\n```\n\nAsk Gemini to distill a prepared transcript or notes file:\n\n```bash\nnode skills/social-video-distill/scripts/ask_gemini_cdp.js \\\n  --prompt-file /absolute/path/to/prompt.txt\n```\n\n## Preferred Operating Pattern\n\n### 1. Caption-first retrieval\n\nUse `extract_captions.sh` before downloading full media.\n\nGood fit:\n- YouTube videos with manual or auto captions\n- platforms where `yt-dlp` can expose subtitles without full download\n\nIf captions exist:\n- clean the text lightly\n- keep timestamps only if they help the task\n- send the cleaned transcript to Gemini or distill directly\n\n### 2. Browser-first distillation\n\nUse Gemini when the job is:\n- explain what this clip is saying\n- summarize the point\n- identify why it is funny\n- extract the punchline\n- draft a caption/reply\n\nUse `scripts/ask_gemini_cdp.js` with a focused prompt file. Keep prompts short and task-specific.\n\nIf the user wants study-guide style synthesis across multiple clips or mixed sources, use NotebookLM instead of forcing Gemini into a long single-shot prompt.\n\n### 3. Local fallback only when necessary\n\nUse local ASR only when:\n- captions are unavailable\n- browser AI cannot access the content\n- the user explicitly wants a transcript and not just a distillation\n\nDo not lead with local Whisper/faster-whisper just because it is available.\n\n## Output Guidance\n\nDefault to a compact result with these fields when helpful:\n- **What it says**\n- **What is directly supported**\n- **What is inferred**\n- **Best line**\n- **Why it lands**\n\nFor humor requests, prefer:\n1. premise\n2. escalation/twist\n3. punchline\n\nFor social reply requests, give 2-3 options max.\n\n## When to Read References\n\n- Read `references/prompts.md` for ready-to-use distillation prompts.\n- Read `references/troubleshooting.md` when captions, CDP, or Gemini interaction fails.\n","tags":{"latest":"0.1.0"},"stats":{"comments":0,"downloads":299,"installsAllTime":0,"installsCurrent":0,"stars":0,"versions":1},"createdAt":1778397571636,"updatedAt":1778492892498},"latestVersion":{"version":"0.1.0","createdAt":1778397571636,"changelog":"Initial release: AI-first social video distillation with caption-first retrieval and Gemini CDP helpers.","license":"MIT-0"},"metadata":null,"owner":{"handle":"little7unifai","userId":"s17a8svnnjrnc3rdqgdxxhzv0584rya1","displayName":"little7unifai","image":"https://avatars.githubusercontent.com/u/275603241?v=4"},"moderation":{"isSuspicious":false,"isMalwareBlocked":false,"verdict":"clean","reasonCodes":["review.llm_review"],"summary":"Review: review.llm_review","engineVersion":"v2.4.24","updatedAt":1780090776826}}