跳到正文
Skillpedia
调研394k · #84

summarize

它能做什么

它指导 AI 智能体使用 summarize 命令阅读链接、文档和 YouTube 视频,然后给出摘要或文字稿。它适合想快速了解长篇内容要点的人。

适用场景

  • ✓你分享一个链接,想知道它讲的是什么的时候。
  • ✓你想获得一份长 PDF 或本地文件的简短摘要的时候。
  • ✓你想获得 YouTube 视频的文字稿的时候;如果视频很长,会先给出摘要。

技能链接

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

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请用五个要点总结这篇文章:https://example.com/article”

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

工作原理

技能对链接或文件运行 summarize 命令,并使用你选择的模型和长度。对于 YouTube 视频,它会尝试提取文字稿;对于较长的文字稿,它会先给出摘要。

技术内容(原始 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"
summarize "/path/to/file.pdf"
summarize "https://youtu.be/dQw4w9WgXcQ" --youtube auto

YouTube: summary vs transcript

Best-effort transcript (URLs only):

summarize "https://youtu.be/dQw4w9WgXcQ" --youtube auto --extract

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 auto; config may choose the provider/model.

Useful flags

  • --length short|medium|long|xl|xxl|<chars>
  • --max-output-tokens <count>
  • --extract (print extracted content, no LLM summary)
  • --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 配合使用,取决于你设置了哪个密钥。

它能给我完整的文字稿吗?

可以。extract 选项会输出提取的内容,而不附带 AI 摘要。

如果文字稿很长怎么办?

技能会先返回简短摘要,并询问你想展开哪一部分。

详情

作者的原始描述

Summarize or transcribe URLs, YouTube/videos, podcasts, articles, transcripts, PDFs, and local files.

repo: openclaw/openclaw

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能