Install
openclaw skills install @ruiduobao/geoskill-ai-report-generatoropenclaw skills install @ruiduobao/geoskill-ai-report-generatorAutomatically renders remote sensing analysis results (metric dictionaries / per-band raster statistics / JSON files) into structured reports: title, metadata, overview statistics, metric detail tables, threshold ratings (PASS/WARN/FAIL) and conclusions, supporting both HTML and Markdown formats.
This skill is an offline NumPy-equivalent implementation of an LLM-driven automatic reporting system: it reproduces the report generation pipeline without relying on a large model, using "result parsing -> summary statistics and threshold rating (rule-based conclusion generation) -> HTML-escaped template filling"; all dynamic content is HTML-escaped to prevent injection.
pip install numpy rasterio scipy scikit-learn geopandas shapely
python geoskill-ai-report-generator.py --bbox 116.0 39.0 117.0 40.0 --synthetic --output-dir ./out
python geoskill-ai-report-generator.py --bbox 116.0 39.0 117.0 40.0 --synthetic --title "parcel monthly report" --output-dir ./out
python geoskill-ai-report-generator.py --analysis results.json --title "monitoring report" --format both --output-dir ./out
python geoskill-ai-report-generator.py --input scene.tif --format md --output-dir ./out
| File | Format | Description |
|---|---|---|
report.html | HTML | Standalone HTML report with inline styles |
report.md | Markdown | Markdown report with the same content |
report_summary.json | JSON | Summary statistics + rating flags + raw results |
output-manifest.json | JSON | Run manifest (inputs/outputs/QA/exit code) |
Analysis result JSON / local GeoTIFF (per-band statistics computed automatically), or --synthetic example results.
--synthetic mode requires no network at all.MIT
把遥感分析结果(指标字典 / 栅格逐波段统计 / JSON 文件)自动渲染成结构化报告:含标题、元信息、概览统计、指标明细表、阈值评级(PASS/WARN/FAIL)与结论,支持 HTML 与 Markdown 双格式。
本 skill 是 LLM 自动报告系统的离线 numpy 等价实现:不依赖大模型,用"结果解析 -> 摘要统计与阈值评级(规则化结论生成)-> HTML 转义安全的模板填充"复现报告生成流程;所有动态内容经 HTML 转义,杜绝注入。
pip install numpy rasterio scipy scikit-learn geopandas shapely
python geoskill-ai-report-generator.py --bbox 116.0 39.0 117.0 40.0 --synthetic --output-dir ./out
python geoskill-ai-report-generator.py --bbox 116.0 39.0 117.0 40.0 --synthetic --title "地块月报" --output-dir ./out
python geoskill-ai-report-generator.py --analysis results.json --title "监测报告" --format both --output-dir ./out
python geoskill-ai-report-generator.py --input scene.tif --format md --output-dir ./out
| 文件 | 格式 | 说明 |
|---|---|---|
report.html | HTML | 带内联样式的独立 HTML 报告 |
report.md | Markdown | 同内容 Markdown 报告 |
report_summary.json | JSON | 摘要统计 + 评级旗标 + 原始结果 |
output-manifest.json | JSON | 运行清单(输入/输出/QA/退出码) |
分析结果 JSON / 本地 GeoTIFF(自动算逐波段统计),或 --synthetic 示例结果。
--synthetic 模式完全无网络。MIT