doc-summarize-pro
Enhanced document summarizer. Smart summary, bullet extraction, executive summary, chapter breakdown, multi-doc comparison, translate+summarize.
- License 许可
- MIT
- 最近更新
- 2026-06-10
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- doc-summarize-pro
- author
- BytesAgain
- source
- https://github.com/bytesagain/ai-skills
- version
- 3.0.0
- homepage
- https://bytesagain.com
- description
- Enhanced document summarizer. Smart summary, bullet extraction, executive summary, chapter breakdown, multi-doc comparison, translate+summarize.
03 SKILL.md 正文
📝 Doc Summarize Pro — Document Analysis Toolkit
Pure-bash document summarizer: extract summaries, keywords, outlines, stats, and more — no external dependencies.
Commands
summarize <file>
Generate a document summary by extracting key sentences from each paragraph (first and last sentences, plus topic sentences).
keywords <file>
Extract keywords via word-frequency analysis. Filters common stop-words and ranks by occurrence count.
outline <file>
Extract document structure and outline by detecting heading lines (Markdown # headers, ALL-CAPS lines, numbered sections).
stats <file>
Document statistics: word count, character count, paragraph count, sentence count, unique words, and estimated reading time.
compare <file1> <file2>
Compare two documents side-by-side: word count difference, shared keywords, and unique keywords per file.
batch <dir>
Batch-summarize all text files in a directory. Processes .txt, .md, .rst, .log files and outputs a summary for each.
export <file> <format>
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 <key> <value> 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
04 同仓库更多 Skills
youtube-content
YouTube transcripts to summaries, threads, blogs.
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
touchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
test-driven-development
TDD: enforce RED-GREEN-REFACTOR, tests before code.
teams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.