summarize
2
总安装量
2
周安装量
#70356
全站排名
安装命令
npx skills add https://github.com/anntnzrb/agents --skill summarize
Agent 安装分布
opencode
2
gemini-cli
2
claude-code
2
github-copilot
2
codex
2
kimi-cli
2
Skill 文档
Summarize
Use this skill as an operator manual for the @steipete/summarize CLI.
Core Rule
- Invoke summarize with
bun x @steipete/summarize .... - Prefer the local wrapper
./scripts/summarize.sh ...in this skill for consistency. - Treat summarize as a black-box CLI. Do not inspect source code unless the user asks.
Workflow
- Identify intent.
summary: summarize content.extract: extract raw content/transcript without LLM summary.slides: extract slide screenshots from video.transcriber-setup: print ONNX setup env vars.refresh-free: rebuild OpenRouter free preset.
- Run a baseline command.
- Summary baseline:
./scripts/summarize.sh "<input>" - Extract baseline:
./scripts/summarize.sh "<input>" --extract - Slides baseline:
./scripts/summarize.sh slides "<video-url>"
- Apply mode-specific flags.
- Load
references/capabilities.mdfor complete option surface. - Load
references/recipes.mdfor ready-to-run recipes. - Load
references/config-and-env.mdfor config/env setup. - Load
references/help-snapshots.mdfor exact live--helpoutputs by subcommand. - Load
references/troubleshooting.mdfor failure handling.
- Verify result quality.
- For debugging, re-run with
--verbose. - For machine-readable output, use
--json. - Quote exact error text when reporting failures.
Quick Command Map
- Main help:
./scripts/summarize.sh --help - Summarize:
./scripts/summarize.sh "https://example.com" - Extract only:
./scripts/summarize.sh "https://example.com" --extract --format md - YouTube transcript path:
./scripts/summarize.sh "<youtube-url>" --youtube auto - Slides in summary:
./scripts/summarize.sh "<youtube-url>" --slides --slides-ocr - Slides-only mode:
./scripts/summarize.sh slides "<youtube-or-video-url>" --render auto - ONNX helper:
./scripts/summarize.sh transcriber setup --model parakeet - Free preset refresh:
./scripts/summarize.sh refresh-free --set-default
Guardrails
- Use
--extractwhen user asks for source text/markdown, not a summary. - Use
--video-mode transcriptwhen user explicitly wants transcription-first for media URLs. - Use
--model openrouter/...only when user wants forced OpenRouter routing. - Run
./scripts/summarize-doctor.shbefore deep troubleshooting. - Prefer incremental tuning: first baseline command, then add one flag at a time.