Doc Summarize Pro
/install doc-summarize-pro
📝 Doc Summarize Pro — Document Analysis Toolkit
Pure-bash document summarizer: extract summaries, keywords, outlines, stats, and more — no external dependencies.
Commands
summarize \x3Cfile>
Generate a document summary by extracting key sentences from each paragraph (first and last sentences, plus topic sentences).
keywords \x3Cfile>
Extract keywords via word-frequency analysis. Filters common stop-words and ranks by occurrence count.
outline \x3Cfile>
Extract document structure and outline by detecting heading lines (Markdown # headers, ALL-CAPS lines, numbered sections).
stats \x3Cfile>
Document statistics: word count, character count, paragraph count, sentence count, unique words, and estimated reading time.
compare \x3Cfile1> \x3Cfile2>
Compare two documents side-by-side: word count difference, shared keywords, and unique keywords per file.
batch \x3Cdir>
Batch-summarize all text files in a directory. Processes .txt, .md, .rst, .log files and outputs a summary for each.
export \x3Cfile> \x3Cformat>
Export a file's summary in a specified format. Supported formats: md (Markdown), txt (plain text), json.
history
Display processing history — shows all previously run commands with timestamps.
config
View or update configuration. Settings: summary_sentences (sentences per paragraph in summary), keyword_count (max keywords to display).
help
Show usage information and available commands.
version
Print the current version number.
Examples
# Summarize a document
bash scripts/script.sh summarize ~/Documents/report.md
# Extract keywords from a file
bash scripts/script.sh keywords paper.txt
# Get document outline
bash scripts/script.sh outline thesis.md
# Show file statistics
bash scripts/script.sh stats notes.txt
# Compare two documents
bash scripts/script.sh compare draft-v1.md draft-v2.md
# Batch summarize a directory
bash scripts/script.sh batch ~/Documents/notes/
# Export summary as JSON
bash scripts/script.sh export report.md json
# View processing history
bash scripts/script.sh history
# View/update config
bash scripts/script.sh config
bash scripts/script.sh config summary_sentences 3
bash scripts/script.sh config keyword_count 20
Configuration
Settings are stored in $HOME/.doc-summarize-pro/config:
| Key | Default | Description |
|---|---|---|
summary_sentences |
2 |
Sentences extracted per paragraph |
keyword_count |
15 |
Maximum keywords to display |
Update via config \x3Ckey> \x3Cvalue> or edit the config file directly.
Data Storage
All data is stored under $HOME/.doc-summarize-pro/:
| File | Purpose |
|---|---|
config |
Key-value configuration file |
history.log |
Processing history with timestamps |
Powered by BytesAgain | bytesagain.com
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install doc-summarize-pro - 安装完成后,直接呼叫该 Skill 的名称或使用
/doc-summarize-pro触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Doc Summarize Pro 是什么?
Enhanced document summarizer. Smart summary, bullet extraction, executive summary, chapter breakdown, multi-doc comparison, translate+summarize. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 906 次。
如何安装 Doc Summarize Pro?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install doc-summarize-pro」即可一键安装,无需额外配置。
Doc Summarize Pro 是免费的吗?
是的,Doc Summarize Pro 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Doc Summarize Pro 支持哪些平台?
Doc Summarize Pro 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Doc Summarize Pro?
由 bytesagain4(@xueyetianya)开发并维护,当前版本 v3.0.0。