| name | summarize |
| description | Summarize or extract text from URLs, local files, YouTube videos, and podcasts using the summarize CLI. Use when the user asks to summarize a link, article, video, or document. Supports multiple output lengths and models. Do NOT use for web search (use web-search) or for content the agent can read directly. |
| metadata | {"model":"remote","tools":["exec","Bash"],"triggers":["์์ฝ","์ ๋ฆฌ","summarize","์์ฝํด์ค","์ ๋ฆฌํด์ค"],"aliases":["์์ฝ"],"homepage":"https://summarize.sh"} |
Summarize
Quick Reference
| Input | Command |
|---|
| URL/article | summarize โhttps://...โ --model openai/gpt-4.1-mini |
| Local file | summarize โ/path/to/file.pdfโ |
| YouTube | summarize โhttps://youtu.be/...โ --youtube auto |
| Extract only | summarize โURLโ --extract-only |
Quick start
summarize "https://example.com" --model openai/gpt-4.1-mini
summarize "/path/to/file.pdf" --model anthropic/claude-3-5-sonnet
summarize "https://youtu.be/dQw4w9WgXcQ" --youtube auto
YouTube: summary vs transcript
Best-effort transcript (URLs only):
summarize "https://youtu.be/dQw4w9WgXcQ" --youtube auto --extract-only
If the user asked for a transcript but itโs huge, return a tight summary first, then ask which section/time range to expand.
Model + keys
Set the API key for your chosen provider:
- OpenAI:
OPENAI_API_KEY
- Anthropic:
ANTHROPIC_API_KEY
Default model is openai/gpt-4.1-mini if none is set.
Useful flags
--length short|medium|long|xl|xxl|<chars>
--max-output-tokens <count>
--extract-only (URLs only)
--json (machine readable)
--youtube auto
Config
Optional config file: ~/.summarize/config.json
{ "model": "openai/gpt-5.2" }
Optional services:
- Additional provider-specific options can be configured in summarize CLI docs.