‹ 首页

summarize

@swarmclawai · 收录于 昨天 · 上游提交 2 周前

Summarize or extract text/transcripts from URLs, podcasts, YouTube videos, and local files using the summarize CLI. Use when asked to summarize a link, article, video, or file, or to transcribe a YouTube video.

适合你,如果需要快速从各种来源提取关键信息

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

怎么用

技能原文 SKILL.md作者撰写 · MIT · ed38ba5

Summarize

Fast CLI to summarize URLs, local files, and YouTube links.

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 extraction (URLs only):

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

If the user asked for a transcript but it's very long, return a tight summary first, then ask which section or 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> — control summary length
  • --max-output-tokens <count> — hard token limit
  • --extract-only — extract raw text without summarizing (URLs only)
  • --json — machine-readable output
  • --firecrawl auto|off|always — fallback extraction for blocked sites
  • --youtube auto — Apify fallback if APIFY_API_TOKEN is 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 查看 →

评论

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