Research Report Generator
by @huaruoji
Research technical projects/papers and generate comprehensive reports with PDF export. Modes: lite (analysis + writing) or full (+ environment setup + experi...
clawhub install research-reportπ About This Skill
name: research-report description: "Research technical projects/papers and generate comprehensive reports with PDF export. Modes: lite (analysis + writing) or full (+ environment setup + experiments). Params: iterations, mode, project-path, output. Use for paper analysis, code review, technical reports, research documentation." metadata: {"openclaw": {"requires": {"bins": ["pandoc"]}, "primaryEnv": "", "emoji": "π"}}
Research Report Generator
Analyze technical projects/papers and produce comprehensive reports with PDF export.
Modes
Lite Mode (default)
Full Mode
Usage
bash {baseDir}/scripts/research-report.sh \
--topic "Spatial Forcing" \
--mode lite \
--iterations 3 \
--output both
Parameters
| Parameter | Default | Description |
|-----------|---------|-------------|
| --topic | (required) | Paper/project name or arXiv ID |
| --mode | lite | lite or full |
| --iterations | 3 | Report revision iterations |
| --output | both | md, pdf, or both |
| --project-path | (auto) | Local code directory (optional) |
| --workspace | (current) | Workspace directory |
Workflow
Phase 1: Discovery
1. Search arXiv + project pages 2. Fetch related papers (citations + references) 3. Identify key technologies and dependenciesPhase 2: Analysis
1. Read source code (if--project-path provided)
2. Analyze architecture from docs/code
3. Map technology stackPhase 3: Report Writing (Γ iterations)
1. Draft outline 2. Write sections iteratively 3. Add diagrams (Mermaid/ASCII) 4. Refine explanationsPhase 4: Export (Full mode only)
1. Setup conda env 2. Install dependencies 3. Run experiments 4. Append results to reportPhase 5: PDF Generation
1. Call md2pdf skill 2. Send to user via TelegramOutput Structure
/
βββ reports/
β βββ _report_v1.md
β βββ _report_v2.md
β βββ _report_final.md
β βββ _report_final.pdf
βββ memory/YYYY-MM-DD.md (appended)
βββ logs/_research.log
Report Template
The generated report follows this structure:
1. Executive Summary - 100-word overview 2. Motivation - Problem statement + why it matters 3. Background - Prerequisites explained intuitively 4. Core Method - Technical details with analogies 5. Code Analysis - Key files walkthrough 6. Experiments - Setup + results (full mode) 7. Troubleshooting - Common issues + fixes 8. References - Papers + repos + docs
Dependencies
Required:
Full mode only:
Integration
This skill automatically:
md2pdf skill for PDF conversionmemory/YYYY-MM-DD.mdExamples
Lite mode, 5 iterations:
research-report --topic "VGGT" --iterations 5 --mode lite
Full mode with local code:
research-report --topic "Spatial Forcing" \
--project-path ~/Spatial-Forcing/openvla-SF \
--mode full \
--iterations 3
PDF only output:
research-report --topic "OpenVLA" --output pdf
Troubleshooting
| Issue | Fix |
|-------|-----|
| PDF generation fails | Check pandoc --version, install texlive-xetex |
| CJK characters missing | Install fonts-noto-cjk, verify with fc-list :lang=zh |
| Math formulas not rendered | Ensure markdown uses $...$ / $$...$$ syntax |
| Full mode conda fails | Run conda update -n base conda first |
π‘ Examples
Lite mode, 5 iterations:
research-report --topic "VGGT" --iterations 5 --mode lite
Full mode with local code:
research-report --topic "Spatial Forcing" \
--project-path ~/Spatial-Forcing/openvla-SF \
--mode full \
--iterations 3
PDF only output:
research-report --topic "OpenVLA" --output pdf
π Tips & Best Practices
| Issue | Fix |
|-------|-----|
| PDF generation fails | Check pandoc --version, install texlive-xetex |
| CJK characters missing | Install fonts-noto-cjk, verify with fc-list :lang=zh |
| Math formulas not rendered | Ensure markdown uses $...$ / $$...$$ syntax |
| Full mode conda fails | Run conda update -n base conda first |