‹ 首页

summarize

@zavianx · 收录于 5 天前 · 上游提交 2 个月前

Summarize or extract text/transcripts from URLs, podcasts, and local files (great fallback for “transcribe this YouTube/video”).

适合你,如果需要快速获取长文本或音频的核心信息

/ 通过 npx 安装 校验哈希
npx oh-my-skill add zavianx/vela/summarize
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- zavianx/vela/summarize
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify zavianx/vela/summarize
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
122GitHub stars
~433上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 bd323cc · 表述以原文为准
它做什么

装上后,Claude可以对URL、本地文件和YouTube链接进行摘要或提取文字(包括转录YouTube视频)。默认使用google/gemini-3-flash-preview模型,需设置对应API密钥。

什么时候触发

当用户要求总结链接/视频/文章,或要求转录YouTube视频时触发。例如使用“summarize this”等短语。

装好后可以这样说
Claude会调用summarize工具输出摘要。
Claude会提取YouTube视频的文字转录。
技能原文 SKILL.md作者撰写 · MIT · bd323cc

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
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。