Summarize URLs, videos, podcasts, PDFs, and local files
Summarize is a fast CLI that summarizes URLs, local files, and YouTube links, and can transcribe YouTube videos.
Requirements
- Requires the summarize CLI, installable via Homebrew from steipete/tap/summarize.
- Set an 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) - The
--youtube autooption provides an Apify fallback ifAPIFY_API_TOKENis set. - Config supports
FIRECRAWL_API_KEYfor blocked sites. - Config supports
APIFY_API_TOKENfor YouTube fallback.
How to use
Supported request types:
Explicit requests to use summarize.sh.
Questions about what a link or video contains.
Requests to summarize a URL or article.
Best-effort YouTube or video transcription, without requiring yt-dlp.
Quick start: run summarize on a URL, a local file path, or a YouTube link with --youtube auto.
summarize "https://example.com"
summarize "/path/to/file.pdf"
summarize "https://youtu.be/dQw4w9WgXcQ" --youtube auto
For YouTube, you can get either a summary or a transcript.
For a best-effort transcript of URLs only, add --extract.
summarize "https://youtu.be/dQw4w9WgXcQ" --youtube auto --extract
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)
The default model is auto; the config may choose the provider and model.
Use --length short|medium|long|xl|xxl|<chars>.
Use --max-output-tokens <count>.
Use --extract to print extracted content with no LLM summary.
Use --json for machine-readable output.
Use --firecrawl auto|off|always as fallback extraction.
Use --youtube auto for an Apify fallback if APIFY_API_TOKEN is set.
Configuration is optional.
An optional config file, ~/.summarize/config.json, can specify the model, for example openai/gpt-5.2.
{ "model": "openai/gpt-5.2" }
Source: openclaw/openclaw and its contributors. License: MIT.
Copyright (c) 2026 OpenClaw Foundation
Translation and editorial adaptation by ClawCases.
>Resources
>Related Use Cases
Apple Notes CLI
Manage Apple Notes directly from the terminal with the memo CLI: create, view, edit, delete, search, move notes between folders, and export notes to HTML or Markdown.
Automate the macOS UI with the Peekaboo CLI
Use Peekaboo to inspect the macOS UI, act on the intended target, and verify the result. The examples use v4 syntax; check the current documentation and the installed command's help, and for older versions follow that version's help.
Reusing Coding-Tool Subscriptions as Hermes Backends (Copilot / Codex / Claude Max)
Connect Hermes to the coding-tool subscription you already pay for — GitHub Copilot, OpenAI Codex, or a Claude Max plan with extra-usage credits — using the provider that matches the subscription's native auth method, so you avoid buying another API key.