跳到正文
Skillpedia
调研50k · #3603

summarize

它能做什么

这个技能教你的智能体快速概括链接、文件或视频的内容。适合希望在不阅读或观看全部内容的情况下了解要点的人。

适用场景

  • ✓当你想了解一篇文章、网页或 PDF 的主要内容的时候。
  • ✓当你想知道某个 YouTube 视频或播客讲的是什么的时候。
  • ✓当你想获取视频的完整文字记录,并且能找到记录的时候。

技能链接

https://github.com/HKUDS/nanobot/blob/main/nanobot/skills/summarize/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/HKUDS/nanobot/blob/main/nanobot/skills/summarize/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“你能总结这个 YouTube 视频,并告诉我它的三个主要观点吗?”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会对链接或文件运行命令行摘要工具,使用你已有密钥的 AI 模型。对于视频,它会先尝试提取字幕。

技术内容(原始 SKILL.md)

作者在 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
常见问题

它使用哪些 AI 服务?

该技能提到了 OpenAI、Anthropic、xAI 和 Google,你需要为所选的服务商设置密钥。

如果文字记录非常长怎么办?

该技能说明,应先返回简短的摘要,再询问你希望展开哪个部分或时间段。

它能输出机器可读的结果吗?

可以。该技能列出了 JSON 选项,用于输出机器可读的结果。

详情

作者的原始描述

Summarize or extract text and transcripts from URLs, YouTube videos, podcasts, and local files.

repo: HKUDS/nanobot

热度

GitHub 星标
50k
排名
#3603
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能