๐ฆ ClawHub
Report Processor
by @zhangq0687
Automatically parse PDF/TXT research reports to extract key viewpoints, data, investment advice, risks, and generate summaries.
TERMINAL
clawhub install report-processor๐ About This Skill
Report Processor (็ ๆฅๅค็ๅจ)
Automatically collect, parse, and extract key information from research reports. Supports PDF, TXT, and other formats.
Features
Requirements
Installation
# Install Ollama and pull model
ollama pull qwen2.5:14bInstall poppler (for PDF support)
macOS
brew install poppler
Linux
sudo apt install poppler-utils
Usage
# Process single file
python3 scripts/report_processor.py /path/to/report.pdfBatch process directory
python3 scripts/report_processor.py /path/to/reports/
Output
Results are saved to ~/.openclaw/workspace/data/reports/ in JSON format.
Configuration
Edit scripts/report_processor.py to customize:
OLLAMA_MODEL: Model to use (default: qwen2.5:14b)OUTPUT_DIR: Output directory๐ก Examples
# Process single file
python3 scripts/report_processor.py /path/to/report.pdfBatch process directory
python3 scripts/report_processor.py /path/to/reports/
โ๏ธ Configuration
Edit scripts/report_processor.py to customize:
OLLAMA_MODEL: Model to use (default: qwen2.5:14b)OUTPUT_DIR: Output directory