summarize
What it does
Gives your agent a command that summarizes links, documents and recordings, or only extracts their text. It is for anyone who needs the main points of long material quickly.
When to use it
- ✓When you want a short summary of a long article, report or web page.
- ✓When you need the transcript or text of a video or audio recording.
- ✓When you want the text pulled out of a file without a summary.
Skill link
https://github.com/steipete/summarize/blob/main/.agents/skills/summarize/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Summarize this YouTube video and this PDF report for me in a short summary.”
5 new skills a week. 1 minute to read.
How it works
The command reads the link or file, extracts its text or transcript, and writes a summary in the length and language you choose. It can also stop after extraction if you only want the text.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Summarize
Use the summarize CLI as the canonical interface. Prefer a released binary on PATH; inside this repository, use pnpm -s summarize for the current checkout.
Start
Confirm the command and current contract:
summarize --version summarize --helpInspect model/provider readiness when a summary needs an LLM:
summarize status summarize status --jsonRun the narrowest workflow below. Quote URLs and paths. Add
--timeout 2mfor slow remote or media inputs.
Never print, request, or copy API-key values. summarize status reports availability without exposing secrets.
Summarize
Web page or remote document:
summarize "https://example.com/article"
summarize "https://example.com/report.pdf" --length short
Local file or stdin:
summarize "./report.pdf"
summarize "./recording.m4a"
printf '%s\n' "Long text to summarize" | summarize -
Use --plain for unrendered Markdown/text. Use --language, --length, --prompt, or --prompt-file only when the task requires an override. Use --cli codex, --cli claude, or another installed CLI provider when the user requests that provider or no direct API provider is configured.
Extract without a summary
Use --extract to stop after extraction or transcription:
summarize "https://example.com/article" --extract --format md
summarize "./report.pdf" --extract --format md
summarize "https://youtu.be/VIDEO_ID" --extract --format md
--extract does not support stdin. Extraction can still call configured transcription, OCR, Firecrawl, or Markdown services; it only skips the final summary call. --markdown-mode llm also invokes an LLM to reshape extracted text.
YouTube, audio, and video
Default transcript selection:
summarize "https://youtu.be/VIDEO_ID"
summarize "https://youtu.be/VIDEO_ID" --extract --format md --timestamps
Use --youtube web to require web captions or --youtube yt-dlp to require the download/transcription path. Keep auto unless the user needs a specific source.
Local or remote audio/video:
summarize "./interview.mp3" --extract
summarize "./interview.mp4" --extract --timestamps
summarize "./interview.mp3" --extract --diarize
--transcriber auto is the default. Use an explicit transcriber only when requested or diagnosing a provider. Diarization may require configured ElevenLabs or OpenAI access. Speaker identification is a separate opt-in step; do not infer identities without evidence.
For slides:
summarize "https://youtu.be/VIDEO_ID" --slides
summarize "./talk.mp4" --slides --extract
Slide extraction may require yt-dlp; OCR requires tesseract.
JSON for automation
Use JSON when another command or agent will parse the result:
summarize "https://example.com" --json --metrics off > result.json
jq -r '.summary // .extracted.content // empty' result.json
The stable top-level envelope contains input, env, extracted, prompt, llm, metrics, and summary. summary or llm can be null when extraction or a no-model path handles the input. In --extract --json mode, read extracted text from .extracted.content.
JSON stays on stdout. Progress, warnings, and finish metrics stay on stderr. Do not merge stderr into stdout before parsing. Use --metrics detailed only when the task needs usage details.
Configuration and dependencies
Precedence: CLI flags, process environment, ~/.summarize/config.json, built-in defaults. Prefer flags for one run; change config only when the user asks for a persistent default.
Useful diagnostics:
summarize status --verbose
summarize status --probe
summarize "INPUT" --verbose
Plain web summaries need no media tools. Media paths may use ffmpeg, yt-dlp, local Whisper/ONNX, or configured cloud transcription. Website fallback may use Firecrawl. Confirm the exact missing capability from the error before installing tools or changing config.
Inputs may be sent to the selected model, extraction, OCR, or transcription provider. For confidential material, confirm the approved provider or use an approved local path before running the command.
Verify
After every run:
- Require exit status
0. - Require non-empty summary or extracted content.
- For JSON, parse stdout with
jqor another JSON parser. - For source-sensitive work, inspect
extracted,llm, and stderr diagnostics rather than assuming the selected pa
FAQ
Does a summary need an AI model?
Yes for a summary, and the skill checks which model or provider is set up. Extraction alone can stop before any summary is written.
Will it show my API keys?
No. The skill says it never prints or copies key values.
Can it read local files?
Yes. It works with local files, text piped in from another command, and remote web pages.
Details
Original description by the author
Summarize CLI: URLs, files, YouTube, transcripts, media, extraction, and JSON output.
repo: steipete/summarize
Popularity
- GitHub stars
- 6.8k
- Ranking position
- #13733
- License
- MIT
- Updated
- 10/28/2026
Comments
- …
Similar skills
graincrawl
394kLets your agent search your saved Granola meeting notes and transcripts, check how fresh they are, and count them over a period.
notcrawl
394kLets your agent search a saved copy of your Notion workspace, look up pages and databases, and export pages to Markdown files.
knowledge-entities
394kHelps your agent identify people, companies, and projects, then write sourced profile pages for them in your Knowledge vault.