/install data-to-word-report
Data to Word Analysis Report
Automatically generate a professionally formatted analysis report (.docx) from data files, ready for presentation.
Use Cases
Use when users need to "generate analysis report", "convert data to Word", or "produce a report".
Workflow
1. Read Data
Read the user-uploaded data file, automatically detect the format (CSV/JSON/Excel/TXT), extract the data, and confirm the structure.
2. Analyze Data
Perform the following analysis on the data:
- Data Overview: Row count, column count, field types, missing value statistics, time range
- Key Metrics: Mean/median/max/min/standard deviation for key numeric columns
- Trend Analysis: If a time column exists, calculate trends by time dimension
- Key Findings: Outliers, significant changes, critical conclusions
3. Generate Report
Call the script to generate the Word report:
python3 scripts/gen_report.py '\x3Coutput_path>' '\x3Creport_json>'
output_path: Output path, e.g.,/root/.openclaw/workspace/analysis_report.docxreport_json: JSON string, see structure below
report_json Structure
{
"title": "Data Analysis Report",
"sections": [
{
"heading": "I. Data Overview",
"paragraphs": ["This analysis covers 1,234 records...", "Time range: 2024-01 to 2024-12"],
"table": {
"headers": ["Metric", "Value"],
"rows": [["Total Records", "1,234"], ["Fields", "8"], ["Missing Rate", "2.1%"]]
}
},
{
"heading": "II. Key Metrics",
"paragraphs": ["Average sales: 456K, median: 382K..."],
"table": {
"headers": ["Metric", "Mean", "Median", "Max", "Min"],
"rows": [["Sales (10K)", "45.6", "38.2", "120.5", "5.3"]]
}
},
{
"heading": "III. Trend Analysis",
"paragraphs": ["Overall upward trend, Q4 grew 23% QoQ..."],
"table": null
},
{
"heading": "IV. Key Findings & Recommendations",
"paragraphs": ["1. East China region accounts for the highest share (38%)...", "2. December return rate abnormally rose to 5.7%..."],
"table": null
}
]
}
The table field in each section is optional; pass null to output only paragraphs.
4. Output Results
Inform the user of the file save location and display an overview of the report structure.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install data-to-word-report - 安装完成后,直接呼叫该 Skill 的名称或使用
/data-to-word-report触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Data To Word Report 是什么?
Automatically generate a professional Word analysis report from user-provided data files, including data overview, key metric statistics and trend analysis,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 45 次。
如何安装 Data To Word Report?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install data-to-word-report」即可一键安装,无需额外配置。
Data To Word Report 是免费的吗?
是的,Data To Word Report 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Data To Word Report 支持哪些平台?
Data To Word Report 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Data To Word Report?
由 OpenLark(@openlark)开发并维护,当前版本 v1.0.0。