summarize

Summarize URLs, local files, and YouTube videos using the summarize CLI.

Updated Jun 15, 2026
One-click install
npx skills add https://github.com/redlanternstudios/swarmclaw --skill summarize-redlanternstudios
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: summarize
Source: https://github.com/redlanternstudios/swarmclaw/tree/main/skills/summarize
Command: npx skills add https://github.com/redlanternstudios/swarmclaw --skill summarize-redlanternstudios

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Reading long articles, watching full videos, or parsing lengthy documents to extract key points is time-consuming. This Skill condenses URLs, local files, podcasts, and YouTube videos into concise summaries or transcripts using a single CLI command. ## Core Features & Use Cases - Multi-source summarization: Summarize web pages, local files (such as PDFs), and YouTube links with configurable length from short to xxl. - YouTube transcript extraction: Extract best-effort transcripts from YouTube URLs with an Apify fallback for blocked cases. - Flexible model support: Works with OpenAI, Anthropic, xAI, and Google models, defaulting to google/gemini-3-flash-preview. - Use Case: A researcher pastes a YouTube lecture link and asks for a summary; the Skill extracts the transcript and returns a medium-length summary, offering to expand specific sections on request. ## Quick Start Summarize the article at https://example.com using the summarize skill with a medium-length output.

Frequently Asked Questions about summarize

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I summarize a YouTube video from the command line?

Run summarize with the YouTube URL and the --youtube auto flag, for example: summarize "https://youtu.be/VIDEO_ID" --youtube auto. Use --extract-only to get the raw transcript instead of a summary.

How do I summarize a local PDF file?

Pass the file path directly to the summarize CLI, such as summarize "/path/to/file.pdf" --model google/gemini-3-flash-preview. Control output length with the --length flag, from short up to xxl or a character count.

Which API keys does the summarize CLI support?

The CLI supports OPENAI_API_KEY, ANTHROPIC_API_KEY, XAI_API_KEY, and GEMINI_API_KEY (with GOOGLE_GENERATIVE_AI_API_KEY and GOOGLE_API_KEY as aliases). The default model is google/gemini-3-flash-preview if none is configured.

What happens when a website blocks content extraction?

Set FIRECRAWL_API_KEY and use --firecrawl auto or always to enable fallback extraction for blocked sites. For YouTube, set APIFY_API_TOKEN to enable the Apify fallback when transcript retrieval fails.

Can I get machine-readable output from the summarize CLI?

Yes, pass the --json flag to receive structured, machine-readable output instead of plain text. This is useful for piping summaries into scripts or other automation tools.