← 返回
未分类 Key 中文

Summarize

Summarize or extract text/transcripts from URLs, podcasts, and local files (great fallback for “transcribe this YouTube/video”).
总结或提取URL、播客及本地文件的文本或转录稿,是转录YouTube/视频的绝佳备选。
utromaya-code
未分类 clawhub v1.0.0 1 版本 99719.1 Key: 需要
★ 0
Stars
📥 1,420
下载
💾 107
安装
1
版本
#latest

概述

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|
  • --max-output-tokens
  • --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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 23:01 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Video Frames

utromaya-code
使用 ffmpeg 从视频中提取帧或短片。
★ 0 📥 1,175

Skill Creator

utromaya-code
创建、编辑、改进或审计AgentSkills。用于从零开始创建新技能,或当被要求改进、审查、审计、整理或清理现有技能时使用。
★ 1 📥 2,094

Video Frames

utromaya-code
使用 ffmpeg 从视频中提取帧或短片。
★ 0 📥 1,170