跳到正文
Skillpedia
自动化30k · #9358

summarize

它能做什么

这项技能通过命令行工具总结链接、文档或 YouTube 视频。如果存在转录稿,它还可以将其提取出来。

适用场景

  • ✓当你想知道某个链接或视频讲的是什么,并需要快速摘要时。
  • ✓当你想要一篇长文章或 PDF 的摘要时。
  • ✓当你想获得某个 YouTube 视频的转录稿时。

技能链接

https://github.com/sipeed/picoclaw/blob/main/workspace/skills/summarize/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 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-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.4" }

Optional services:

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能