summarize
Skill này làm gì
Cho agent của bạn một lệnh để tóm tắt liên kết, tài liệu và bản ghi, hoặc chỉ trích xuất văn bản của chúng. Nó dành cho bất kỳ ai cần nắm ý chính của tài liệu dài một cách nhanh chóng.
Khi nào nên dùng
- ✓Khi bạn muốn bản tóm tắt ngắn của một bài viết, báo cáo hoặc trang web dài.
- ✓Khi bạn cần bản chép lời hoặc văn bản của một video hoặc bản ghi âm.
- ✓Khi bạn muốn lấy văn bản từ một tệp mà không cần tóm tắt.
Liên kết skill
https://github.com/steipete/summarize/blob/main/.agents/skills/summarize/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tóm tắt video YouTube này và báo cáo PDF này cho tôi thành một bản tóm tắt ngắn.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Lệnh đọc liên kết hoặc tệp, trích xuất văn bản hoặc bản chép lời, rồi viết bản tóm tắt theo độ dài và ngôn ngữ bạn chọn. Nó cũng có thể dừng sau bước trích xuất nếu bạn chỉ muốn văn bản.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Summarize
Use the summarize CLI as the canonical interface. Prefer a released binary on PATH; inside this repository, use pnpm -s summarize for the current checkout.
Start
Confirm the command and current contract:
summarize --version summarize --helpInspect model/provider readiness when a summary needs an LLM:
summarize status summarize status --jsonRun the narrowest workflow below. Quote URLs and paths. Add
--timeout 2mfor slow remote or media inputs.
Never print, request, or copy API-key values. summarize status reports availability without exposing secrets.
Summarize
Web page or remote document:
summarize "https://example.com/article"
summarize "https://example.com/report.pdf" --length short
Local file or stdin:
summarize "./report.pdf"
summarize "./recording.m4a"
printf '%s\n' "Long text to summarize" | summarize -
Use --plain for unrendered Markdown/text. Use --language, --length, --prompt, or --prompt-file only when the task requires an override. Use --cli codex, --cli claude, or another installed CLI provider when the user requests that provider or no direct API provider is configured.
Extract without a summary
Use --extract to stop after extraction or transcription:
summarize "https://example.com/article" --extract --format md
summarize "./report.pdf" --extract --format md
summarize "https://youtu.be/VIDEO_ID" --extract --format md
--extract does not support stdin. Extraction can still call configured transcription, OCR, Firecrawl, or Markdown services; it only skips the final summary call. --markdown-mode llm also invokes an LLM to reshape extracted text.
YouTube, audio, and video
Default transcript selection:
summarize "https://youtu.be/VIDEO_ID"
summarize "https://youtu.be/VIDEO_ID" --extract --format md --timestamps
Use --youtube web to require web captions or --youtube yt-dlp to require the download/transcription path. Keep auto unless the user needs a specific source.
Local or remote audio/video:
summarize "./interview.mp3" --extract
summarize "./interview.mp4" --extract --timestamps
summarize "./interview.mp3" --extract --diarize
--transcriber auto is the default. Use an explicit transcriber only when requested or diagnosing a provider. Diarization may require configured ElevenLabs or OpenAI access. Speaker identification is a separate opt-in step; do not infer identities without evidence.
For slides:
summarize "https://youtu.be/VIDEO_ID" --slides
summarize "./talk.mp4" --slides --extract
Slide extraction may require yt-dlp; OCR requires tesseract.
JSON for automation
Use JSON when another command or agent will parse the result:
summarize "https://example.com" --json --metrics off > result.json
jq -r '.summary // .extracted.content // empty' result.json
The stable top-level envelope contains input, env, extracted, prompt, llm, metrics, and summary. summary or llm can be null when extraction or a no-model path handles the input. In --extract --json mode, read extracted text from .extracted.content.
JSON stays on stdout. Progress, warnings, and finish metrics stay on stderr. Do not merge stderr into stdout before parsing. Use --metrics detailed only when the task needs usage details.
Configuration and dependencies
Precedence: CLI flags, process environment, ~/.summarize/config.json, built-in defaults. Prefer flags for one run; change config only when the user asks for a persistent default.
Useful diagnostics:
summarize status --verbose
summarize status --probe
summarize "INPUT" --verbose
Plain web summaries need no media tools. Media paths may use ffmpeg, yt-dlp, local Whisper/ONNX, or configured cloud transcription. Website fallback may use Firecrawl. Confirm the exact missing capability from the error before installing tools or changing config.
Inputs may be sent to the selected model, extraction, OCR, or transcription provider. For confidential material, confirm the approved provider or use an approved local path before running the command.
Verify
After every run:
- Require exit status
0. - Require non-empty summary or extracted content.
- For JSON, parse stdout with
jqor another JSON parser. - For source-sensitive work, inspect
extracted,llm, and stderr diagnostics rather than assuming the selected pa
Câu hỏi thường gặp
Tóm tắt có cần mô hình AI không?
Có với bản tóm tắt, và skill kiểm tra mô hình hoặc nhà cung cấp nào đã được thiết lập. Chỉ trích xuất thì có thể dừng trước khi viết bản tóm tắt.
Nó có hiển thị API key của tôi không?
Không. Skill nói nó không bao giờ in hay sao chép giá trị key.
Nó có đọc được tệp cục bộ không?
Có. Nó làm việc với tệp cục bộ, văn bản được truyền từ lệnh khác và các trang web từ xa.
Chi tiết
Mô tả gốc của tác giả
Summarize CLI: URLs, files, YouTube, transcripts, media, extraction, and JSON output.
repo: steipete/summarize
Độ phổ biến
- Sao GitHub
- 6.8k
- Vị trí xếp hạng
- #13733
- Giấy phép
- MIT
- Cập nhật
- 28/10/2026
Bình luận
- …
Skill tương tự
graincrawl
394kCho phép agent của bạn tìm trong ghi chú cuộc họp và bản chép lời Granola đã lưu, kiểm tra độ mới và đếm số cuộc họp trong một khoảng thời gian.
notcrawl
394kCho phép agent của bạn tìm trong bản sao đã lưu của workspace Notion, tra cứu trang và database, rồi xuất trang ra file Markdown.
knowledge-entities
394kGiúp agent của bạn xác định người, công ty và dự án, rồi viết trang hồ sơ có nguồn cho họ trong kho Knowledge của bạn.