Community编程与开发github.com

Summarize(摘要工具)

快速的 CLI 工具,用于摘要或转录 URL、YouTube/视频、播客、文章、PDF 和本地文件。

Summarize(摘要工具) 是什么?

该技能提供了一个快速的命令行界面(CLI),使用户能够高效地摘要或转录各种内容,包括网址、YouTube 视频、播客、文章、PDF 以及本地文件。它旨在通过快速提取关键信息或生成完整转录来加速理解,而无需依赖 `yt-dlp` 等重型工具。主要支持 OpenAI、Anthropic、xAI 和 Google 等 AI 提供商,并通过环境变量配置 API 密钥。用户可以通过 `--length`、`--extract`、`--json` 等标志自定义输出长度和格式。对于 YouTube 内容,它支持最佳效果的转录提取,并可在转录内容过大时先返回简洁摘要,再让用户选择特定时间范围展开。该工具在 Claude Code、Cursor 等 AI 编码助手环境中特别有用,可快速处理用户粘贴的链接或文件,并与之进行上下文交互。

兼容平台✓Claude Code✓Codex CLI~Cursor✓Gemini CLI
npx skills add https://github.com/clawdbot/clawdbot/tree/main/skills/summarize

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Summarize(摘要工具) 是做什么的?

快速的 CLI 工具,用于摘要 URL、本地文件和 YouTube 链接。

使用时机(触发短语)

当用户提出以下任何请求时,立即使用此技能:

  • "使用 summarize.sh"
  • "这个链接/视频是关于什么的?"
  • "摘要这个 URL/文章"
  • "转录这个 YouTube/视频"(最佳效果的转录提取;无需 yt-dlp)

快速开始

summarize "https://example.com"
summarize "/path/to/file.pdf"
summarize "https://youtu.be/dQw4w9WgXcQ" --youtube auto

YouTube:摘要与转录

最佳效果的转录(仅限 URL):

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

如果用户要求转录但内容过于庞大,请先返回简洁的摘要,然后询问需要展开哪个部分或时间范围。

模型与密钥

为您选择的提供商设置 API 密钥:

  • OpenAI:OPENAI_API_KEY
  • Anthropic:ANTHROPIC_API_KEY
  • xAI:XAI_API_KEY
  • Google:GEMINI_API_KEY(别名:GOOGLE_GENERATIVE_AI_API_KEY、GOOGLE_API_KEY)

默认模型为 auto;配置可选择提供商/模型。

有用的标志

  • --length short|medium|long|xl|xxl|<chars>
  • --max-output-tokens <count>
  • --extract(仅打印提取的内容,不生成 LLM 摘要)
  • --json(机器可读格式)
  • --firecrawl auto|off|always(后备提取)
  • --youtube auto(如果设置了 APIFY_API_TOKEN,则启用 Apify 后备)

配置

可选配置文件:~/.summarize/config.json

{ "model": "openai/gpt-5.2" }

可选服务:

  • FIRECRAWL_API_KEY 用于被屏蔽的站点
  • APIFY_API_TOKEN 用于 YouTube 后备

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills and agent Templates when requested; add Templates; install, verify, update, uninstall, publish, or sync skills.

相关技能