export-docx
Installation
SKILL.md
Export to Word (.docx)
Convert a ScienceClaw project's report and figures into a formatted Word document using python-docx.
When to Use
- User says "/export word", "导出 Word", "转 docx", "生成 Word 报告"
- User wants to share findings with collaborators who use Word
- User needs a formatted document for submission or review
Workflow
- Identify the project directory from ACTIVE_PROJECT.md or the most recent project
- Read the main report from
reports/directory (markdown) - Collect figures from
figures/directory - Read METHODS.md if present
- Generate .docx using python-docx with proper formatting
- Save to
reports/<project_name>_report.docx