summarize
它能做什么
这项技能通过命令行工具总结链接、文档或 YouTube 视频。如果存在转录稿,它还可以将其提取出来。
适用场景
- ✓当你想知道某个链接或视频讲的是什么,并需要快速摘要时。
- ✓当你想要一篇长文章或 PDF 的摘要时。
- ✓当你想获得某个 YouTube 视频的转录稿时。
技能链接
https://github.com/sipeed/picoclaw/blob/main/workspace/skills/summarize/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请用几个简短的段落总结这篇文章给我,并告诉我主要要点。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会对链接或文件运行 summarize 工具,并选择长度和模型。对于很长的转录稿,它会先给出简短摘要,然后询问你想展开哪一部分。
技术内容(原始 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-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.4" }
Optional services:
FIRECRAWL_API_KEYfor blocked sitesAPIFY_API_TOKENfor YouTube fallback
常见问题
它需要哪些 AI 服务?
你需要所选模型服务商的 API 密钥,例如 OpenAI、Anthropic 或 Google。
如果转录稿非常长怎么办?
智能体会先给出简短摘要,然后询问你希望展开哪个章节或时间段。
它能输出机器可读的结果吗?
能。它提供 JSON 选项,方便在其他工具中使用。
详情
作者的原始描述
Summarize or extract text/transcripts from URLs, podcasts, and local files (great fallback for “transcribe this YouTube/video”).
repo: sipeed/picoclaw
热度
- GitHub 星标
- 30k
- 排名
- #9358
- 许可证
- MIT
- 更新时间
- 2026/10/30
评论
- …