Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

summarize

$ summarize Official Low Risk
Peter Steinberger · AI & Media · MIT · macos / linux / windows

summarize (summarize) extracts clean text, transcripts, and optional LLM summaries from web URLs, YouTube videos, PDFs, audio, video, and images. Built specifically for clean scripting, --json emits a stable JSON envelope on stdout while routing logs to stderr, --plain strips ANSI/OSC escapes, and --extract skips LLM API calls.

FCRS-1.0 Score
92 /100
Excellent
Medium Confidence
Zero-Friction Install
brew install summarize
CLI vs MCP Decision CLI Preferred vs MCP

summarize --extract --json fetches and normalizes local files, PDFs, and media transcripts directly into stdout with lower overhead than multi-tool MCP chains.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
✓ Read-Only Mode
✓ NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 24 / 25

Purpose-built for pipelines: --json writes a clean JSON envelope to stdout, logs go to stderr, --plain disables ANSI/OSC, and --extract avoids LLM non-determinism.

  • --json separates structured stdout output from stderr logs
  • --plain strips ANSI/OSC formatting; --extract skips LLM calls
Trust & Safety 22 / 25

Read-only extraction and summarization; --extract avoids sending fetched content or spending tokens with external LLM APIs.

  • Read-only operation with --extract zero-LLM-cost mode
Setup & Portability 14 / 15

Available via Homebrew, npm, and npx -y @steipete/summarize across macOS, Linux, and Windows (Node.js 24+ for npm).

  • Installable via brew install summarize, npm, and npx
Utility & Efficiency 14 / 15

Handles URLs, PDFs, YouTube transcripts, audio, video, and images in a single unified CLI.

  • Multi-format extraction across web, PDF, audio, video, and images
Maintenance & Lineage 9 / 10

Actively maintained by Peter Steinberger (steipete/summarize) under MIT license.

  • Official steipete/summarize repository (MIT)
Docs & Verifiability 9 / 10

Clear documentation at summarize.sh and well-structured --help.

  • Official site summarize.sh and npm package documentation

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key
Credential Storage

--extract needs no credentials; LLM summarization reads standard provider env vars (OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, etc.).

Side Effects
Read-Only Billing Impact
Cost & Quotas

MIT open-source CLI; --extract is completely free, while LLM summarization uses your configured provider API key.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# summarize Agent Rules
- Prefer `--extract --json` (or `--extract --plain`) when you only need clean text/transcripts without paying for an external LLM summary call.
- Always check `summarize --help` for supported `--model` and length flags before passing paid API keys.

Agent-Ready Command Recipes

Safe Read-Only Queries

Extract clean plain text from a URL without LLM calls
summarize "https://example.com" --extract --plain

Fetches and cleans page content deterministically with zero ANSI formatting and zero LLM API cost.

Extract structured JSON envelope from a local PDF or URL
summarize ./report.pdf --extract --json

Emits a stable JSON envelope containing extracted text and metadata on stdout.

Strengths for Agents

  • + --json + --plain + --extract give agents clean, deterministic extraction with stdout/stderr separation.
  • + Available natively via Homebrew, npm, and zero-install npx.

Caveats & Pitfalls

  • ! npm distribution requires Node.js 24 or newer.
  • ! Running without --extract invokes external LLM APIs and incurs token costs.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI