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
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install doc-summarize-pro - After installation, invoke the skill by name or use
/doc-summarize-pro - Provide required inputs per the skill's parameter spec and get structured output
What is Doc Summarize Pro?
Enhanced document summarizer. Smart summary, bullet extraction, executive summary, chapter breakdown, multi-doc comparison, translate+summarize. It is an AI Agent Skill for Claude Code / OpenClaw, with 906 downloads so far.
How do I install Doc Summarize Pro?
Run "/install doc-summarize-pro" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Doc Summarize Pro free?
Yes, Doc Summarize Pro is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Doc Summarize Pro support?
Doc Summarize Pro is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Doc Summarize Pro?
It is built and maintained by bytesagain4 (@xueyetianya); the current version is v3.0.0.