summarize
Skill15 starsChanged 10 months agoApache-2.0View on GitHub
Content extraction skill for AI coding agents. YouTube transcripts, podcasts, PDFs, images (OCR), audio/video via the summarize CLI.
- Reads credentials
- Installs packages
47 other projects use a version of this.
Adopted by
Most recently taken up by
- aws-samples/sample-agentic-coding-harness-benchmarkstheir own version, first seen Oct 4, 2026
- domengabrovsek/agent-configtheir own version, first seen Oct 2, 2026
- cyrusagents/cyrustheir own version, first seen Sep 24, 2026
- dafaalz/agent-skillstheir own version, first seen Sep 22, 2026
- xopcai/xopctheir own version, first seen Sep 16, 2026
- joker1point/agent-skill-frameworktheir own version, first seen Sep 6, 2026
Used with
Projects with it also use node-connect, gh-issues and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
indranilbanerjeeSkillnode-connect
Diagnose DMClaw node connection and pairing failures for Android, iOS, and macOS companion apps. Use when QR/setup code/manual connect fails, local Wi-Fi works but VPS/tailnet does not, or errors mention pairing required, unauthorized, bootstrap token invalid or expired, gateway.bind, gateway.remote.url, Tailscale, or plugins.entries.device-pair.config.publicUrl.
Also in 4 projects that use this
GoogleSkillgh-issues
Fetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]
Also in 6 projects that use this
iceyccSkillcron
Schedule reminders and recurring tasks.
Also in 3 projects that use this
overkillkultureSkillhealthcheck
Host security hardening and risk-tolerance configuration for OpenClaw deployments. Use when a user asks for security audits, firewall/SSH/update hardening, risk posture, exposure review, OpenClaw cron scheduling for periodic checks, or version status checks on a machine running OpenClaw (laptop, workstation, Pi, VPS).
Also in 7 projects that use this
UseAI-proSkillskill-vetter
Security-first vetting for OpenClaw skills. Use before installing any skill from ClawHub, GitHub, or other sources.
Also in 4 projects that use this
halthelobsterSkillproactive-agent
Transform AI agents from task-followers into proactive partners that anticipate needs and continuously improve. Now with WAL Protocol, Working Buffer for context survival, Compaction Recovery, and battle-tested security patterns. Part of the Hal Stack 🦞
Also in 3 projects that use this
Other versions47 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 47
- cashew-labs/libretto★ 904same name
- sangrokjung/claude-forge★ 847same name
- cyrusagents/cyrus★ 846same name
- swarmclawai/swarmclaw★ 690same name
- reysu/ai-life-skills★ 269same name
- SerhiiKorniienko/bullshit-detector★ 151same name
- cohen-liel/hivemind★ 110same name
- aaronnat23/disp8ch★ 99same name
- seedprod/openclaw-prompts-and-skills★ 93same name
- oakreader/oakreader★ 39same name
37 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- browser-opsSkill
- chatgpt-searchSkill
- google-workspace-opsSkill
- gsd-coordinatorSkill
- image-genSkill
- peekabooSkill
- trueskill-rankSkill
- vaultSkill
- video-genSkill
- web-searchSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 6 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 38 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this skill when you need deterministic extraction for YouTube, podcast feeds, PDFs, scanned images, or local media files.
- Distinctive: line 13
DOM: Document Object Model, the page element structure used by browser-based extractors.
- Very specific: line 33
After installing, tell your agent: "Check UPDATES.md in the summarize skill for any new features or changes."
- Very specific: line 35
When updating, tell your agent: "Read UPDATE-GUIDE.md and apply the latest changes from UPDATES.md."
- Very specific: line 37
Follow UPDATE-GUIDE.md so customized local files are diffed before any overwrite.
- Distinctive: line 43
Run one extraction flow end-to-end:
- Very specific: line 51
Use --extract --plain as the default pattern for deterministic, non-ANSI output.
- Distinctive: line 98
Use this first. You can handle any downstream synthesis in your own workflow.
- Very specific: line 145
Always use
--plain: when extracting for agent consumption. - Distinctive: line 154
Use this mode only when you explicitly want summarize to perform synthesis itself.
- Distinctive: line 221
YouTube: All public videos with captions.
“Common” is measured: kept by at least 6 in 10 of the 38 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Summarize
Extract clean text and media transcripts from URLs, files, and streams so your AI workflow can reason over reliable source content without hand-coding brittle scraper logic.
Use this skill when you need deterministic extraction for YouTube, podcast feeds, PDFs, scanned images, or local media files.
Terminology used in this file:
- DOM: Document Object Model, the page element structure used by browser-based extractors.
- OCR: Optical character recognition (extracting text from images/scans).
- ANSI codes: Terminal color/control sequences;
--plainremoves them for machine parsing.
Setup
brew tap steipete/tap
brew install summarize- Claude Code: copy this skill folder into
.claude/skills/summarize/ - Codex CLI: append this SKILL.md content to your project's root
AGENTS.md
For the full installation walkthrough (prerequisites, optional dependencies, verification, troubleshooting), see references/installation-guide.md.
Staying Updated
This skill ships with an UPDATES.md changelog and UPDATE-GUIDE.md for your AI agent.
After installing, tell your agent: "Check UPDATES.md in the summarize skill for any new features or changes."
When updating, tell your agent: "Read UPDATE-GUIDE.md and apply the latest changes from UPDATES.md."
Follow UPDATE-GUIDE.md so customized local files are diffed before any overwrite.
Quick Start
Run one extraction flow end-to-end:
summarize --version
summarize --extract "https://www.youtube.com/watch?v=VIDEO_ID" --plain
summarize --extract "/path/to/document.pdf" --plainUse --extract --plain as the default pattern for deterministic, non-ANSI output.
Decision Tree: summarize vs Other Tools
Need content from the web?
|
+-- Static web page (article, docs, blog)?
| --> WebFetch (built-in, zero deps, faster)
| --> Jina r.jina.ai (zero install alternative)
| --> summarize ONLY if above tools fail or return garbage
|
+-- JS-heavy SPA / dynamic content?
| --> Crawl4AI crwl (full browser rendering)
| --> summarize will NOT help here (no JS rendering)
|
+-- Anti-bot / paywalled / Cloudflare-protected?
| --> summarize --firecrawl always (requires FIRECRAWL_API_KEY)
| --> browser-based workflow as fallback
|
+-- YouTube video?
| --> summarize --extract (ONLY option for transcript)
| --> Add --youtube web for captions-only (faster)
| --> Add --slides for visual slide extraction
|
+-- Podcast / RSS feed?
| --> summarize --extract (ONLY option)
| --> Supports Apple Podcasts, Spotify, RSS feeds, Podbean, etc.
|
+-- PDF (URL or local file)?
| --> summarize --extract (ONLY CLI option)
| --> Requires: uvx/markitdown (brew install uv)
|
+-- Image (OCR)?
| --> summarize --extract (ONLY CLI option)
| --> Requires: tesseract
|
+-- Audio / video file?
--> summarize --extract (ONLY CLI option)
--> Requires: whisper-cli (local) or OPENAI_API_KEY (cloud)Rule of thumb: summarize is the default for media extraction (YouTube, podcasts, audio, video, images). For web pages, prefer WebFetch/Jina/Crawl4AI depending on DOM complexity (how hard the page structure is to parse). Use summarize for web only when other tools fail.
Extraction Mode (Primary)
--extract prints raw extracted content and exits. No LLM involved.
Use this first. You can handle any downstream synthesis in your own workflow.
# Web page extraction (plain text, default)
summarize --extract "https://example.com" --plain
# Web page extraction (markdown format)
summarize --extract "https://example.com" --format md --plain
# YouTube transcript
summarize --extract "https://www.youtube.com/watch?v=VIDEO_ID" --plain
# YouTube transcript with timestamps
summarize --extract "https://www.youtube.com/watch?v=VIDEO_ID" --timestamps --plain
# YouTube transcript formatted as markdown (requires LLM -- uses API key)
summarize --extract "https://www.youtube.com/watch?v=VIDEO_ID" --format md --markdown-mode llm --plain
# YouTube slides + transcript
summarize --extract "https://www.youtube.com/watch?v=VIDEO_ID" --slides --plain
# Podcast (RSS feed)
summarize --extract "https://feeds.example.com/podcast.xml" --plain
# Apple Podcasts episode
summarize --extract "https://podcasts.apple.com/us/podcast/EPISODE_ID" --plain
# PDF from URL
summarize --extract "https://example.com/document.pdf" --plain
# PDF from local file
summarize --extract "/path/to/document.pdf" --plain
# Image OCR
summarize --extract "/path/to/image.png" --plain
# Audio transcription
summarize --extract "/path/to/audio.mp3" --plain
# Video transcription
summarize --extract "/path/to/video.mp4" --plain
# Stdin (pipe content)
pbpaste | summarize --extract - --plain
cat document.pdf | summarize --extract - --plainAlways use --plain when extracting for agent consumption. It suppresses ANSI/OSC rendering.
Extraction defaults:
- URLs default to
--format mdin extract mode - Files default to
--format text - PDF requires uvx/markitdown (
--preprocess auto, which is default)
LLM Summarization Mode (Secondary)
Use this mode only when you explicitly want summarize to perform synthesis itself.
# Summarize a URL (requires API key for the chosen model)
summarize "https://example.com" --model anthropic/claude-sonnet-4-5 --length long
# Summarize with a custom prompt
summarize "https://example.com" --prompt "Extract key technical decisions and their rationale"
# Summarize YouTube video
summarize "https://www.youtube.com/watch?v=VIDEO_ID" --length xl
# JSON output with metrics
summarize "https://example.com" --json --model openai/gpt-5-miniAPI keys for LLM mode (set in ~/.summarize/config.json or env vars):
ANTHROPIC_API_KEY-- for anthropic/ modelsOPENAI_API_KEY-- for openai/ modelsGEMINI_API_KEY-- for google/ modelsXAI_API_KEY-- for xai/ models
Dependency Matrix
| Feature | Required Deps |
| Web page extraction | None |
| YouTube transcript (captions) | None (web mode) |
| YouTube transcript (no captions) | yt-dlp + whisper or API key |
| YouTube slides | yt-dlp + ffmpeg |
| Podcast transcription | yt-dlp + whisper or API key |
| PDF extraction | uvx/markitdown |
| Image OCR | tesseract |
| Audio/video transcription | whisper-cli (local) or OPENAI_API_KEY |
| Anti-bot sites (Firecrawl) | FIRECRAWL_API_KEY |
| Slide OCR | tesseract |
What is not installed (by design):
whisper-cli/ whisper.cpp -- heavy binary, install when audio transcription is needed- Firecrawl API key -- paid service, configure when anti-bot extraction is needed
- LLM API keys in summarize config -- only add if you use LLM Summarization Mode
Key Flags Quick Reference
| Flag | Purpose | Example |
--extract | Raw content extraction, no LLM | summarize --extract URL |
--plain | No ANSI rendering (agent-safe output) | Always use for agents |
--format md|text | Output format (md default for URLs in extract) | --format md |
--youtube auto|web|yt-dlp | YouTube transcript source | --youtube web (captions only) |
--slides | Extract video slides with ffmpeg | --slides --slides-ocr |
--timestamps | Include timestamps in transcripts | --timestamps |
--firecrawl off|auto|always | Firecrawl for anti-bot sites | --firecrawl always |
--preprocess off|auto|always | Preprocessing (markitdown for PDFs) | Default auto |
--markdown-mode | HTML-to-MD conversion mode | --markdown-mode readability |
--timeout | Fetch/LLM timeout | --timeout 2m |
--verbose | Debug output to stderr | Troubleshooting |
--json | Structured JSON output with metrics | --json |
--length | Summary length (LLM mode only) | --length xl |
--model | LLM model (LLM mode only) | --model anthropic/claude-sonnet-4-5 |
--max-extract-characters | Limit extract output length | --max-extract-characters 50000 |
--language|--lang | Output language | --lang en |
--video-mode | Video handling mode | --video-mode transcript |
--transcriber | Audio backend | --transcriber whisper |
Verified Services (YouTube/Podcasts)
YouTube: All public videos with captions. Falls back to yt-dlp audio download + transcription for videos without captions.
Podcasts (verified):
- Apple Podcasts
- Spotify (best-effort; may fail for exclusives)
- Amazon Music / Audible podcast pages
- Podbean
- Podchaser
- RSS feeds (Podcasting 2.0 transcripts when available)
- Embedded YouTube podcast pages
Common Patterns
1. YouTube Transcript for Analysis
# Quick: captions only (fastest, no deps beyond summarize)
summarize --extract "https://www.youtube.com/watch?v=VIDEO_ID" --youtube web --plain
# Full: with timestamps
summarize --extract "https://www.youtube.com/watch?v=VIDEO_ID" --timestamps --plain
# Formatted as clean markdown (requires LLM API key)
summarize --extract "https://www.youtube.com/watch?v=VIDEO_ID" --format md --markdown-mode llm --plain2. Podcast Episode Transcript
# From RSS feed (transcribes latest episode)
summarize --extract "https://feeds.example.com/podcast.xml" --plain
# From Apple Podcasts link
summarize --extract "https://podcasts.apple.com/us/podcast/SHOW/EPISODE" --plain3. PDF Content Extraction
# From URL
summarize --extract "https://example.com/report.pdf" --plain
# From local file
summarize --extract "/path/to/file.pdf" --plain
# Limit output length
summarize --extract "/path/to/huge.pdf" --max-extract-characters 50000 --plain4. Image OCR
summarize --extract "/path/to/screenshot.png" --plain
summarize --extract "/path/to/scanned-doc.jpg" --plain5. Anti-Bot Website (Firecrawl Fallback)
# Requires FIRECRAWL_API_KEY in env or config
summarize --extract "https://paywalled-site.com/article" --firecrawl always --plain6. Batch Extraction (Shell Loop)
# Extract multiple YouTube videos
for url in "URL1" "URL2" "URL3"; do
echo "=== $url ==="
summarize --extract "$url" --plain
doneError Handling
| Symptom | Cause | Fix |
Missing uvx/markitdown | PDF preprocessing not available | brew install uv |
does not support extracting binary files | Preprocessing disabled for PDF | Use --preprocess auto (default) with uvx installed |
| YouTube returns empty transcript | No captions available, no yt-dlp/whisper | Install yt-dlp; for whisper fallback, install whisper-cli or set OPENAI_API_KEY |
FIRECRAWL_API_KEY not set | Anti-bot mode requires Firecrawl | Set key in env or ~/.summarize/config.json |
| Timeout on large content | Default 2m timeout too short | Use --timeout 5m |
| Audio transcription fails | No whisper backend available | Install whisper-cli locally or set OPENAI_API_KEY/FAL_KEY |
| Podcast extraction fails | Audio download failed | Check yt-dlp is installed and updated: brew upgrade yt-dlp |
| Garbled web extraction | JS-rendered content | summarize has no JS engine; use Crawl4AI instead |
Configuration
Config file: ~/.summarize/config.json
{
"model": "auto",
"env": {
"FIRECRAWL_API_KEY": "fc-..."
},
"ui": {
"theme": "mono"
}
}Configure only what your workflow needs. If you use LLM Summarization Mode, add the required API keys.
Anti-Patterns
| Do NOT | Do Instead |
| Use summarize for static web pages | WebFetch or Jina (faster, zero deps) |
| Use summarize for JS-heavy SPAs | Crawl4AI crwl (has browser rendering) |
| Use summarize's LLM mode as default | Use --extract and run synthesis in your own workflow unless explicitly required |
Skip --plain for any non-interactive run | Always use --plain to avoid ANSI escape codes |
| Install whisper.cpp preemptively | Install only when audio transcription use case arises |
Forget --timeout for large media | Podcasts/videos can take minutes; set --timeout 5m |
| Use summarize when WebFetch works | summarize is heavier; reserve for media and fallback |
| Use summarize for local repo/codebase search | Use your local knowledge search tools |
Bundled Resources Index
| Path | What | When to Load |
./UPDATES.md | Structured changelog for AI agents | When checking for new features or updates |
./UPDATE-GUIDE.md | Instructions for AI agents performing updates | When updating this skill |
./references/installation-guide.md | Detailed install walkthrough for Claude Code and Codex CLI | First-time setup or environment repair |
./references/commands.md | Full CLI flag reference with all options | When you need exact flag syntax or env var names |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

