SkillHub

report-processor

v1.0.0

自动解析PDF/TXT研究报告,提取核心观点、数据、投资建议及风险,并生成摘要。

Sourced from ClawHub, Authored by zhangq0687

Installation

Please help me install the skill `report-processor` from SkillHub official store. npx skills add zhangq0687/report-processor

Report Processor (研报处理器)

Automatically collect, parse, and extract key information from research reports. Supports PDF, TXT, and other formats.

Features

  • Parse research reports (PDF/TXT)
  • Extract key information (core观点、数据、投资建议、风险)
  • Auto summary generation
  • Knowledge base storage

Requirements

  • Ollama with qwen2.5:14b model installed
  • poppler-utils (for PDF parsing)

Installation

# Install Ollama and pull model
ollama pull qwen2.5:14b

# Install 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.pdf

# Batch 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