Install
openclaw skills install echarts-ai-skillGenerate charts from natural language or tabular data, recommend chart types, and export ECharts-based HTML or SVG. Use when users ask for one-sentence chart generation, auto chart selection from data, or embeddable chart previews.
openclaw skills install echarts-ai-skillUse this skill when the user wants chart output from a short description or from table-like data.
ChartRequest JSON object.html or svg.src/types/chart.tssrc/core/recommend.tssrc/core/spec-to-option.tssrc/core/render.tsexamples/study-progress.request.jsonmanifest.yaml, agents/openai.yamlnpm install
--out writes to an exact file path.--out-dir writes the default file into a directory you choose.desktop and home are valid aliases for --out-dir when the user explicitly asks for those locations.~ is expanded to the current user's home directory.node dist/cli/recommend-chart.js --input examples\study-progress.request.json
node dist/cli/generate-chart.js --input examples\study-progress.request.json
node dist/cli/render-chart.js --input option.json --format html
node dist/cli/render-chart.js --input option.json --format svg --out D:\reports\study-chart.svg
Default output filenames:
spec.jsonoption.jsonpreview.htmlpreview.svgChartRequest shape{
"title": "Monthly study completion",
"dataset": [
{ "day": "2026-03-01", "completionRate": 62, "targetRate": 75 },
{ "day": "2026-03-02", "completionRate": 68, "targetRate": 75 }
],
"goal": "trend",
"xField": "day",
"yField": "completionRate",
"series": [
{ "name": "Completion", "field": "completionRate" },
{ "name": "Target", "field": "targetRate" }
]
}
xField and yField.ChartRequest before calling scripts.html first and svg second.