Token导航 LogoToken导航

Agent Skill · 开发

smart-charts(智能图表)

smart-charts 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

smart-charts 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 5,222。

总安装 6,724周安装 283GitHub Stars 2下载 2,355核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
2.0.1

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:smart-charts(智能图表)
来源仓库:https://github.com/neuhanli/smart-charts
安装命令:
openclaw skills install smart-charts
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install smart-charts

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

基于用户提供数据自动生成可视化图表,支持 CSV/Excel/JSON 格式输入与智能分析。能识别数据特征并推荐合适图表类型,辅助快速洞察业务趋势与异常点。可嵌入开发流程中作为原型验证工具,也可用于报告撰写时的素材准备。输出结果依赖输入数据质量,需确保字段含义清晰且无敏感信息泄露。

若涉及导出图片或 PDF,应检查分辨率与版权声明是否符合使用需求。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install smart-charts;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

smart-charts 怎么安装?

在终端执行 openclaw skills install smart-charts。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

smart-charts 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

smart-charts 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

smart-charts 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

smart-charts 用的人多吗?

公开数据是累计安装 6,724 次,近一周安装 283 次,下载 2,355 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

smart-charts 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
smart-charts

智能图表 · 本页

6,7242需要联网MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
smart-charts
description
Intelligent chart generation and data analysis skill. Reads user-supplied data files (CSV/Excel/JSON), analyzes data characteristics with LLM assistance, auto-recommends and generates interactive ECharts visualizations, and produces a structured analysis report. Suitable for any scenario requiring tabular data visualization — sales reports, business dashboards, trend analysis, etc.

Smart Charts

An intelligent chart-generation and data-analysis skill. It reads user-supplied data files, understands their structure and semantics, recommends the most appropriate chart types, generates interactive HTML reports powered by ECharts, and (when a saved report template exists) fills the template automatically.


Installation / 安装

pip install -r requirements.txt

Dependencies / 依赖

PackageRequiredDescription
pandas>=1.5.0✅ YesData parsing (CSV, Excel, JSON)
numpy>=1.21.0✅ YesNumerical computations
openpyxl>=3.0.0✅ YesExcel file engine
PyPDF2>=3.0.0OptionalPDF template extraction
python-docx>=0.8.0OptionalWord template processing
ECharts is loaded via CDN (jsdelivr) — no local installation required.

Activation Triggers

Load and run this skill when any of the following conditions are met:

  • The user mentions: "analyze data", "generate chart", "data visualization", "chart", "visualization"

/ 用户提到:「分析数据」「生成图表」「数据可视化」「chart」「visualization」

  • The user provides a data file (CSV / Excel / JSON / TXT) and asks for analysis or visualization

/ 用户上传或提供数据文件并要求分析或可视化

  • The user asks to generate charts or a report from tabular data

/ 用户要求从表格数据生成图表或报告


User Guidance

When no data file is provided

Prompt the user:

Please upload the data file(s) you want to analyze. Supported formats: - CSV (.csv / .tsv / .txt) - Excel (.xlsx / .xls) - JSON (.json) You can drag files directly into the chat box. Multiple files are supported.

/ 请上传需要分析的数据文件。支持 CSV / Excel / JSON 格式,可同时上传多个文件。

When data files are provided

Step 1 — Parse and display a unified summary:

Files loaded: 3 | File | Rows | Cols | Key Fields | |------|------|------|------------| | east_sales.csv | 120 | 8 | date, revenue, profit… | | south_sales.csv | 98 | 8 | date, revenue, profit… | | products.xlsx | 45 | 5 | name, category, price… |

Step 2 — Infer file relationships and recommend an analysis strategy:

SituationRecommendation
Same schema across filesMerge and compare
Shared common column(s)Join on the common key
Unrelated schemasAnalyze each file separately
Single fileAnalyze directly

Step 3 — Execute after user confirmation.

Error handling

ErrorUser message
File not found"File not found. Please verify the path or drag the file into the chat."
Unsupported format"Unsupported file format. Please convert to CSV, Excel, or JSON and retry."
File > 100 MB"File too large. Consider filtering or splitting the data before uploading."
Empty file"The file appears to be empty. Please check that it contains valid data."
Encoding error"Encoding issue detected. Try re-saving the file as CSV (UTF-8) and retry."
Cannot auto-merge"Schemas differ too much to merge automatically. Analyze separately, or specify a join key."

Execution Workflow

1. Obtain data file(s)
   └─ User uploads file(s) directly (primary method)
   └─ Or user provides file path(s)

2. Parse data
   └─ Call data_parser.py on all files
   └─ Single file  → parse directly
   └─ Multiple files → parse each, assess merge feasibility

3. Confirm & recommend
   └─ Display a summary table for all files
   └─ Recommend: merge / separate / join
   └─ Recommend chart type(s) based on data characteristics

4. Generate charts
   └─ Call chart_generator.py → produces ECharts HTML
   └─ Merged data  → cross-group comparison charts
   └─ Separate data → independent charts per file
   └─ Chart type is chosen by the LLM based on data shape

5. Check for a report template
   └─ Scan the templates/ subdirectory under the skill base
   └─ Read each meta.json; let the LLM judge relevance
   └─ No matching template → skip to free-form generation

6. Generate analysis report
   └─ Matching template found → fill template.md with data insights
   └─ No matching template    → LLM generates report freely

7. Present results
   └─ Interactive charts: use preview_url (HTML)
   └─ Markdown report:    use open_result_view

Configuration

output_dir:    output directory (optional; default: ./smart_charts_output)
templates_dir: report template directory (optional; default: ./templates)
Important: Never hard-code absolute paths. All paths must be provided by the user or resolved dynamically from the working directory.

Data Parsing — CLI Reference

Usage / 调用方式

# Single file / 单文件
python {skill_base}/core/data_parser.py <file_path> [--summary]

# Multiple files / 多文件
python {skill_base}/core/data_parser.py <file1> <file2> ... [--summary]

# Multiple files with auto-merge / 多文件自动合并
python {skill_base}/core/data_parser.py <file1> <file2> ... [--merge] [--summary]

Merge behavior:

ConditionResult
Identical column namesVertical concat; a source_file column is added
Shared columns existHorizontal join on shared key
No common structureError — advise analyzing separately

Supported formats

FormatExtensionsNotes
CSV.csv, .tsvAuto-detects delimiter and encoding (UTF-8 / GBK / GB2312)
Plain text.txtAuto-detects delimiter (comma / tab / semicolon / pipe)
Excel.xlsx, .xlsReads first non-empty sheet
JSON.jsonSupports array format and nested objects

Chart Generation — CLI Reference

Usage / 调用方式

python {skill_base}/core/chart_generator.py \
  <file_path> <chart_type> \
  --title "Chart Title" \
  --x-axis "date" \
  --y-axis "revenue profit" \
  --output-dir "./output"

Parameters

ParameterRequiredDescription
file_pathYesPath to the data file
chart_typeYesChart type identifier (see table below)
--titleNoChart title; default: "Data Chart"
--x-axisNoX-axis field; auto-detected if omitted
--y-axisNoY-axis field(s), space-separated; defaults to first 5 numeric columns
--output-dirNoOutput directory; default: ./smart_charts_output

Supported chart types

IDNameBest For
lineLine chartTime-series trends, continuous data
barBar chartCategory comparison, ranked discrete data
piePie chartComposition, share distribution
scatterScatter plotCorrelation, density distribution
areaArea chartCumulative change, emphasized trend
radarRadar chartMulti-dimension comparison, scoring
heatmapHeatmapDensity, cross-tabulation analysis
treemapTreemapHierarchical proportion, attribution
graphNetwork graphEntity relationships, network topology
boxplotBox plotDistribution, outlier detection
waterfallWaterfall chartIncremental change, contribution breakdown
gaugeGauge chartKPI progress, target tracking
sankeySankey diagramFlow transfer, conversion path
funnelFunnel chartConversion rate, stage analysis
sunburstSunburst chartMulti-level composition, nested proportion
wordcloudWord cloudFrequency distribution, keyword visualization

Report Templates

Users can store custom report templates under the templates_dir directory.

Directory structure

templates/
├── _template_index.json         # Auto-generated metadata index
├── sales_report/
│   ├── meta.json                # Template metadata card
│   ├── template.md              # Template content
│   └── original.docx            # Source file (optional)
└── project_progress/
    ├── meta.json
    └── template.md

meta.json schema

{
  "id": "tmpl_sales_monthly",
  "name": "Monthly Sales Report",
  "description": "For monthly sales summaries: revenue trend, top products, regional breakdown.",
  "scenarios": ["monthly sales report", "sales performance review", "quarterly comparison"],
  "variables": ["period", "revenue", "profit", "order_count", "mom_growth", "yoy_growth"],
  "categories": ["sales", "finance", "business analysis"],
  "format": "markdown",
  "created_time": "2026-03-26T10:30:00",
  "modified_time": "2026-03-26T10:30:00"
}

LLM-driven template matching

Core principle: template matching is performed by the LLM, not by hard-coded algorithms.

Step 1 — Discover templates and collect metadata
template_summary = template_manager.get_all_templates_summary()
Step 2 — LLM analyzes the user task
User task: "Analyze this month's sales data and generate a report."
LLM reasoning:
  - Keywords: sales, data, report, monthly
  - Task type: data analysis, report generation
  - Data characteristics: sales metrics, time series, KPIs
Step 3 — LLM selects the best-matching template
Templates available:
  tmpl_sales_monthly    → Monthly Sales Report
  tmpl_financial_report → Financial Report
  tmpl_project_progress → Project Progress

Best match: tmpl_sales_monthly
Reason: scenario match (sales), variable overlap (revenue, profit…)
Step 4 — Load template and fill with data insights
template_content = template_manager.get_template_content("tmpl_sales_monthly")
filled_report = fill_template_variables(template_content, data_insights)
Fallback behavior (no match)
ScenarioBehavior
No suitable templateLLM generates report freely
Partial matchLLM uses template structure as reference, generates the rest
Empty template libraryLLM creates a professional report from scratch

Template variable syntax (auto-detected)

FormatExample
Single braces{variable_name}
Double braces{{variable_name}}
Square brackets[variable_name]
Percent signs%variable_name%

Template Management

Supported template formats

FormatExtensionProcessing
Markdown.md, .markdownNative support
Word.docxExtracts text and preserves formatting
PDF.pdfExtracts text and structure
Plain text.txtSimple template parsing

Operations / 操作指令

Upload / Save a template
  • Triggers: upload template, add template, save template

/ 触发词:上传模板、添加模板、保存模板

User: Save this sales report as a template.
AI:   ✅ Template saved: "Sales Report" (Markdown, 8 variables detected)
View template library
  • Triggers: my templates, template list, show templates

/ 触发词:我的模板、模板列表、查看模板

User: Show my templates.
AI:   📋 Your templates (3):
      1. Monthly Sales Report (Markdown) — monthly sales analysis
      2. Project Progress (Word) — project tracking
      3. Financial Report (PDF) — financial analysis
Auto-matching (seamless)
User: Analyze this month's sales data.
AI:   🎯 Matched template: "Monthly Sales Report"
      📊 Auto-filling variables: revenue, profit, growth rate
      📄 Generating professional report…

Template management error handling

ErrorUser messageSuggested action
Unsupported format"Supported formats: PDF, Word, Markdown."Convert and retry
Template already exists"Template 'Sales Report' already exists."Overwrite, rename, or cancel
No match found"No exact template match found."Use generic template or create new
Missing variables"Data missing: revenue, profit."Check data file or use defaults

Key Principles

  1. Multi-file first — Users often upload multiple files. Guide proactively; handle batches gracefully.
  2. Confirm before executing — Always show a data summary and confirm understanding before recommending analysis direction.
  3. LLM chooses chart types — Recommend based on data semantics; never hard-code mapping rules.
  4. Template-first report generation — Use a saved template when a good match exists; fall back to free-form only when necessary.
  5. Dynamic path resolution — Absolute paths must never be hard-coded; resolve all paths at runtime.
  6. Immediate result presentation — Charts via preview_url; Markdown reports via open_result_view.

平台分布

OpenClaw

96.7%
按下载量换算2,277

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills