$npx -y skills add volcengine/OpenViking --skill summarizeSummarize or extract text/transcripts from URLs, podcasts, and local files (great fallback for “transcribe this YouTube/video”).
| 1 | # Summarize |
| 2 | |
| 3 | Fast CLI to summarize URLs, local files, and YouTube links. |
| 4 | |
| 5 | ## When to use (trigger phrases) |
| 6 | |
| 7 | Use this skill immediately when the user asks any of: |
| 8 | - “use summarize.sh” |
| 9 | - “what’s this link/video about?” |
| 10 | - “summarize this URL/article” |
| 11 | - “transcribe this YouTube/video” (best-effort transcript extraction; no `yt-dlp` needed) |
| 12 | |
| 13 | ## Quick start |
| 14 | |
| 15 | ```bash |
| 16 | summarize "https://example.com" --model google/gemini-3-flash-preview |
| 17 | summarize "/path/to/file.pdf" --model google/gemini-3-flash-preview |
| 18 | summarize "https://youtu.be/dQw4w9WgXcQ" --youtube auto |
| 19 | ``` |
| 20 | |
| 21 | ## YouTube: summary vs transcript |
| 22 | |
| 23 | Best-effort transcript (URLs only): |
| 24 | |
| 25 | ```bash |
| 26 | summarize "https://youtu.be/dQw4w9WgXcQ" --youtube auto --extract-only |
| 27 | ``` |
| 28 | |
| 29 | If the user asked for a transcript but it’s huge, return a tight summary first, then ask which section/time range to expand. |
| 30 | |
| 31 | ## Model + keys |
| 32 | |
| 33 | Set the API key for your chosen provider: |
| 34 | - OpenAI: `OPENAI_API_KEY` |
| 35 | - Anthropic: `ANTHROPIC_API_KEY` |
| 36 | - xAI: `XAI_API_KEY` |
| 37 | - Google: `GEMINI_API_KEY` (aliases: `GOOGLE_GENERATIVE_AI_API_KEY`, `GOOGLE_API_KEY`) |
| 38 | |
| 39 | Default model is `google/gemini-3-flash-preview` if none is set. |
| 40 | |
| 41 | ## Useful flags |
| 42 | |
| 43 | - `--length short|medium|long|xl|xxl|<chars>` |
| 44 | - `--max-output-tokens <count>` |
| 45 | - `--extract-only` (URLs only) |
| 46 | - `--json` (machine readable) |
| 47 | - `--firecrawl auto|off|always` (fallback extraction) |
| 48 | - `--youtube auto` (Apify fallback if `APIFY_API_TOKEN` set) |
| 49 | |
| 50 | ## Config |
| 51 | |
| 52 | Optional config file: `~/.summarize/config.json` |
| 53 | |
| 54 | ```json |
| 55 | { "model": "openai/gpt-5.2" } |
| 56 | ``` |
| 57 | |
| 58 | Optional services: |
| 59 | - `FIRECRAWL_API_KEY` for blocked sites |
| 60 | - `APIFY_API_TOKEN` for YouTube fallback |