Summarize Backup
Summarize URLs or files with the summarize CLI (web, PDFs, images, audio, YouTube).
Latest: v1.0.0
Initial release of the summarize skill.
- Summarize web pages, local files (PDFs, images, audio), and YouTube links via CLI.
- Supports multiple AI model providers (Google, OpenAI, Anthropic, xAI) with simple API key setup.
- Flexible control over summary length, output format (JSON), and extraction methods.
- Optional integration with Firecrawl and Apify for advanced extraction and YouTube support.
- Customizable via config file for preferred model and service keys.
Summarize
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
