About summarize
summarize is a CLI for turning URLs, local files, and YouTube links into summaries. It suits people who need adjustable output length and machine-readable results, with model and provider keys configurable through flags and settings.
Key features
- 01Summarize URLs, files, and YouTube links
- 02Choose summary length and output tokens
- 03Extract URL content without summarizing
- 04Return machine-readable JSON
- 05Configure model and provider keys
Use cases
- 01Summarizing a PDF stored locally
- 02Getting a summary of a web page
- 03Summarizing a YouTube link
- 04Passing summary output to another script
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ sundial-org/ awesome-openclaw-skills --skill summarizeAfter installing, type/summarizein Claude Code to confirm it loaded.
Details
From the project READMESummarize
Fast CLI to summarize URLs, local files, and YouTube links.
Quick start
summarize "https://example.com" --model google/gemini-3-flash-preview
summarize "/path/to/file.pdf" --model google/gemini-3-flash-preview
summarize "https://youtu.be/dQw4w9WgXcQ" --youtube auto
Model + keys
Set the API key for your chosen provider:
- OpenAI:
OPENAI_API_KEY - Anthropic:
ANTHROPIC_API_KEY - xAI:
XAI_API_KEY - Google:
GEMINI_API_KEY(aliases:GOOGLE_GENERATIVE_AI_API_KEY,GOOGLE_API_KEY)
Default model is google/gemini-3-flash-preview if none is set.
Useful flags
--length short|medium|long|xl|xxl|<chars>--max-output-tokens <count>--extract-only(URLs only)--json(machine readable)--firecrawl auto|off|always(fallback extraction)--youtube auto(Apify fallback ifAPIFY_API_TOKENset)
Config
Optional config file: ~/.summarize/config.json
{ "model": "openai/gpt-5.2" }
Optional services:
FIRECRAWL_API_KEYfor blocked sitesAPIFY_API_TOKENfor YouTube fallback
Comments
Markdown supported