Skip to content
Skillpedia
Research50k · #3603

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.md

Copy 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

Use this skill to help me: https://github.com/HKUDS/nanobot/blob/main/nanobot/skills/summarize/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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-dlp needed)

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 if APIFY_API_TOKEN set)

Config

Optional config file: ~/.summarize/config.json

{ "model": "openai/gpt-5.2" }

Optional services:

  • FIRECRAWL_API_KEY for blocked sites
  • APIFY_API_TOKEN for 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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills