summarize
What it does
It teaches your agent to make a quick summary of a link, a file, or a video. It is for anyone who wants the key points without reading or watching everything.
When to use it
- ✓When you want the main points of an article, web page, or PDF.
- ✓When you want to know what a YouTube video or podcast is about.
- ✓When you want a full transcript of a video, where one can be found.
Skill link
https://github.com/HKUDS/nanobot/blob/main/nanobot/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
“Can you summarize this YouTube video and tell me its three main points?”
5 new skills a week. 1 minute to read.
How it works
The agent runs a command-line summarizer on the link or file, using an AI model you have a key for. For videos, it tries to pull the transcript first.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Summarize
Fast CLI to summarize URLs, local files, and YouTube links.
When to use (trigger phrases)
Use this skill immediately when the user asks any of:
- “use summarize.sh”
- “what’s this link/video about?”
- “summarize this URL/article”
- “transcribe this YouTube/video” (best-effort transcript extraction; no
yt-dlpneeded)
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 (URLs only):
summarize "https://youtu.be/dQw4w9WgXcQ" --youtube auto --extract-only
If the user asked for a transcript but it’s huge, return a tight summary first, then ask which section/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:
GEMINI_API_KEY(aliases:GOOGLE_GENERATIVE_AI_API_KEY,GOOGLE_API_KEY)
Default model is google/gemini-3-flash-preview if none is set.
Useful flags
--length short|medium|long|xl|xxl|<chars>--max-output-tokens <count>--extract-only(URLs only)--json(machine readable)--firecrawl auto|off|always(fallback extraction)--youtube auto(Apify fallback ifAPIFY_API_TOKENset)
Config
Optional config file: ~/.summarize/config.json
{ "model": "openai/gpt-5.2" }
Optional services:
FIRECRAWL_API_KEYfor blocked sitesAPIFY_API_TOKENfor YouTube fallback
FAQ
Which AI services does it use?
The skill names OpenAI, Anthropic, xAI, and Google, and you set the key for the provider you choose.
What if a transcript is very long?
The skill says to return a short summary first, then ask which section or time range you want expanded.
Can it give machine-readable output?
Yes. The skill lists a JSON option for machine-readable results.
Details
Original description by the author
Summarize or extract text and transcripts from URLs, YouTube videos, podcasts, and local files.
repo: HKUDS/nanobot
Popularity
- GitHub stars
- 50k
- Ranking position
- #3603
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
clawhub
50kLets your agent search a public registry for AI skills, then install, update, or list the ones you already have.
github
50kLets your agent check GitHub pull requests and CI runs, read failed build logs, and query repository data with the gh tool.
image-generation
50kLets your agent create images from a written description and keep editing them, such as brightening one or changing its background.
memory
50kLets your agent search its own past conversations in the history log, so it can find what was said about a topic or date.
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.