360 Secure SkillHub
360 安全技能中心

0512-03-tos2-skill

这是一款高效的CLI摘要工具,能调用OpenAI、Google等多平台AI模型,对网页、本地文件、YouTube链接等内容生成不同长度的摘要,还支持内容提取、JSON输出。典型场景包括快速获取网页核心信息、总结文档或视频内容。输入为终端命令加目标链接/文件路径,可配置模型、摘要长度等参数,输出为文本或机器可读的JSON,需配置对应AI服务的API密钥,可通过brew安装。

yinwuzhe
yinwuzhe
热度 25.87
最近更新 2026-05-12 20:16:47
分类:效率依赖:代码执行 / 第三方 API / 读写文件 / 联网浏览搜索应用场景:摘要总结

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add 0512-03-tos2-skill
Metadata
name
summarize
description
Summarize URLs or files with the summarize CLI (web, PDFs, images, audio, YouTube).
homepage
https://summarize.sh
metadata
{"clawdbot":{"emoji":"🧾","requires":{"bins":["summarize"]},"install":[{"id":"brew","kind":"brew","formula":"steipete/tap/summarize","bins":["summarize"],"label":"Install summarize (brew)"}]}}

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

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