Summarize Anything with the Summarize Skill: URLs, PDFs, YouTube & More
Ever wished your AI agent could quickly digest a long article, PDF, or YouTube video and give you the gist? The Summarize skill from ClawdHub does exactly that โ and it's one of the most popular skills on the platform with over 20k downloads.
What Problem Does This Solve?
Agents are great at processing text, but they often struggle with:
- Long web pages โ context limits and extraction issues
- PDF documents โ binary format parsing
- YouTube videos โ transcription and processing
- Audio files โ speech-to-text conversion
The Summarize skill wraps the summarize CLI, which handles all the heavy lifting: extraction, transcription, and LLM-powered summarization in one command.
Installation
Install the skill from ClawdHub:
npx clawdhub@latest install summarizeThen install the underlying CLI (macOS):
brew install steipete/tap/summarizeConfiguration
Set your preferred LLM provider's API key:
- Google Gemini (default):
export GEMINI_API_KEY=your-key - OpenAI:
export OPENAI_API_KEY=your-key - Anthropic:
export ANTHROPIC_API_KEY=your-key - xAI:
export XAI_API_KEY=your-key
Optionally, create a config file at ~/.summarize/config.json:
{
"model": "openai/gpt-4o"
}Usage Examples
1. Summarize a Web Article
summarize "https://example.com/long-article" --model google/gemini-3-flash-preview2. Summarize a PDF Document
summarize "/path/to/report.pdf" --length medium3. Summarize a YouTube Video
summarize "https://youtu.be/dQw4w9WgXcQ" --youtube autoThe --youtube auto flag uses Apify as a fallback for transcription (requires APIFY_API_TOKEN).
Useful Flags
| Flag | Description |
|---|---|
--length short|medium|long|xl|xxl | Control summary length |
--extract-only | Just extract text, no summarization |
--json | Machine-readable JSON output |
--firecrawl auto | Use Firecrawl for blocked sites |
--max-output-tokens <n> | Limit output tokens |
Pro Tips
-
For blocked sites: Set
FIRECRAWL_API_KEYand use--firecrawl autoto handle sites that block scrapers. -
Batch processing: The CLI works great in scripts โ pipe URLs from a file and process them sequentially.
-
Cost control: Use
google/gemini-3-flash-preview(the default) for fast, cheap summaries. Switch to GPT-4o or Claude for higher quality when needed. -
Agent integration: Once installed, your Clawdbot agent will automatically use this skill when you ask it to summarize URLs or files.
Conclusion
The Summarize skill turns your agent into a research assistant that can quickly digest any content format. With 59 stars and a "Benign" security rating, it's a well-maintained, trustworthy addition to your skill stack.
Links:
Comments (0)
No comments yet. Be the first to comment!