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.

OpenClaw Hermes Intermediate Copied: 0
1 resource

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 auto option provides an Apify fallback if APIFY_API_TOKEN is set.
  • Config supports FIRECRAWL_API_KEY for blocked sites.
  • Config supports APIFY_API_TOKEN for 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

>More at this level: Intermediate