Swarmclaw summarize
Summarize or extract text/transcripts from URLs, podcasts, YouTube videos, and local files using the summarize CLI. Use when asked to summarize a link, article, video, or file, or to transcribe a YouTube video.
install
source · Clone the upstream repo
git clone https://github.com/swarmclawai/swarmclaw
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/swarmclawai/swarmclaw "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/summarize" ~/.claude/skills/swarmclawai-swarmclaw-summarize && rm -rf "$T"
manifest:
skills/summarize/SKILL.mdsource content
Summarize
Fast CLI to summarize URLs, local files, and YouTube links.
Quick Start
summarize "https://example.com" --model google/gemini-3-flash-preview summarize "/path/to/file.pdf" --model google/gemini-3-flash-preview summarize "https://youtu.be/dQw4w9WgXcQ" --youtube auto
YouTube: Summary vs Transcript
Best-effort transcript extraction (URLs only):
summarize "https://youtu.be/dQw4w9WgXcQ" --youtube auto --extract-only
If the user asked for a transcript but it's very long, return a tight summary first, then ask which section or time range to expand.
Model + Keys
Set the API key for your chosen provider:
- OpenAI:
OPENAI_API_KEY - Anthropic:
ANTHROPIC_API_KEY - xAI:
XAI_API_KEY - Google:
(aliases:GEMINI_API_KEY
,GOOGLE_GENERATIVE_AI_API_KEY
)GOOGLE_API_KEY
Default model is
google/gemini-3-flash-preview if none is set.
Useful Flags
— control summary length--length short|medium|long|xl|xxl|<chars>
— hard token limit--max-output-tokens <count>
— extract raw text without summarizing (URLs only)--extract-only
— machine-readable output--json
— fallback extraction for blocked sites--firecrawl auto|off|always
— Apify fallback if--youtube auto
is setAPIFY_API_TOKEN
Config
Optional config file:
~/.summarize/config.json
{ "model": "openai/gpt-5.2" }
Optional services:
for blocked sitesFIRECRAWL_API_KEY
for YouTube fallbackAPIFY_API_TOKEN