← Back to Skills Marketplace
neuhanli

smart-charts

by hanli · GitHub ↗ · v2.0.1 · MIT-0
cross-platform ✓ Security Clean
229
Downloads
2
Stars
1
Active Installs
5
Versions
Install in OpenClaw
/install smart-charts
Description
Intelligent chart generation and data analysis skill. Reads user-supplied data files (CSV/Excel/JSON), analyzes data characteristics with LLM assistance, aut...
Usage Guidance
Plain-language considerations before installing/using this skill: - Functionality: This skill parses files you upload and writes generated reports and templates into local directories (default ./smart_charts_output and ./templates). That is consistent with a chart/report generator. - Installation: SKILL.md instructs 'pip install -r requirements.txt' (standard Python packages). Install in a virtual environment if you want to isolate dependencies. - Data access: The skill will read any files you provide and any files placed in its templates directory. Do NOT upload or place files containing secrets, credentials, database connection strings, or personally identifying information you don't want processed. - Code provenance: The registry metadata lacks a homepage and the source is 'unknown' with an opaque owner ID. If you require strong provenance, request or review the full source repository or contact the publisher before trusting sensitive data to the skill. - Security posture: No network exfiltration code, subprocess shell-injection, or credential access was observed in the provided files. Still, if you plan to use it on sensitive data, review the code locally (the provided Python files are present and readable) or run it in a restricted environment. When to be extra cautious: if you find any code modifications that add remote URLs, subprocess calls, or environment/OS-level credential reads, stop and re-evaluate. If you want, I can summarize specific files (data_parser.py, chart_generator.py, template_manager.py, format_extractor.py) line-by-line or search them for network, subprocess, or environment access patterns.
Capability Analysis
Type: OpenClaw Skill Name: smart-charts Version: 2.0.1 The 'smart-charts' skill bundle is a legitimate data analysis and visualization tool that parses various data formats (CSV, Excel, JSON) and generates interactive ECharts reports. It includes a template management system in 'template_manager.py' and 'format_extractor.py' for generating structured reports from PDF, Word, and Markdown templates. The code is well-structured, uses standard libraries like pandas and PyPDF2, and lacks any indicators of malicious intent such as data exfiltration, unauthorized execution, or harmful prompt injection.
Capability Assessment
Purpose & Capability
Name/description match the code and instructions: the repository contains parsers (CSV/Excel/JSON), a chart generator that emits ECharts options/HTML, a template manager, and format extractor. All requested capabilities are appropriate for an intelligent charting/reporting skill. The skill does not request unrelated credentials or system access.
Instruction Scope
SKILL.md stays within the stated purpose: it asks the agent to accept user-uploaded files, parse them, recommend/confirm merges, produce charts and reports, and scan a local templates/ directory for templates. This is expected, but it does mean the skill will read any files the user provides or places in the templates directory — users should avoid uploading sensitive credentials or secrets. The SKILL.md relies on the agent/LLM to choose chart types (no hidden or open-ended instructions that would grant broad data collection beyond user files).
Install Mechanism
There is no registry 'install' spec, but SKILL.md and requirements.txt instruct 'pip install -r requirements.txt'. The dependencies are standard (pandas, numpy, openpyxl; optional PyPDF2/python-docx). No downloads from untrusted URLs or archive extraction are present in the code. The minor mismatch (registry shows no install spec while the skill includes code + requirements and explicit pip guidance) is an operational inconsistency to be aware of.
Credentials
The skill declares no required environment variables, no primary credential, and no config paths. The code likewise does not read os.environ for secrets or reference unrelated credential/config files. The amount of access requested (read user-supplied files and read/write its own output/templates directories) is proportionate to the stated functionality.
Persistence & Privilege
The skill is not set to always: true and does not request elevated or persistent platform privileges. It writes outputs under configurable output_dir and templates_dir and manages a local template index; this file-writing is expected for a report-generation tool. It does not modify other skills' configurations.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install smart-charts
  3. After installation, invoke the skill by name or use /smart-charts
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.0.1
- Added requirements.txt for easy installation of Python dependencies. - Updated documentation to include installation instructions and a dependency table. - No core logic or workflow changes; functionality remains the same as previous version.
v2.0.0
**Major v2.0.0 update — complete overhaul for more intelligent charting and data analysis:** - Core logic rewritten and reorganized into the `core/` module for improved maintainability and extensibility. - File-based helper scripts and legacy references removed; CLI interface streamlined around `core/data_parser.py` and `core/chart_generator.py`. - User workflow clarified: highlights direct file upload, multi-file support, and advanced file relationship detection. - Chart type auto-recommendation and selection enhanced, covering over a dozen ECharts options. - Flexible report template system added, supporting auto-matching and structured report generation. - Robust error handling and clear, user-facing guidance now built into all data intake steps.
v1.0.2
The security of the smart-charts skill has been enhanced, effectively mitigating SQL injection and file system exposure risks. The repaired code meets enterprise-level security standards and can be safely used in production environments.
v1.0.1
- Added explicit configuration requirements for input directory, output directory, and MySQL configuration file. - Included an environment section outlining the need for sqlconfig.json for database access. - Introduced config parameters (`input_dir`, `output_dir`) with descriptions for required file and output paths. - Enhanced security guidance for MySQL configuration, advising against the use of production credentials. - No changes to core functionality; documentation and configuration setup improved for clarity and user onboarding.
v1.0.0
Initial release of the Data Visualization skill. - Create interactive ECharts visualizations from Excel, CSV, JSON files, and MySQL databases. - Automatically recommend optimal chart types based on data characteristics. - Support for reading, parsing, and locating data files, and querying MySQL databases. - Generate HTML reports with interactive charts. - Includes robust error handling for common data and connection issues.
Metadata
Slug smart-charts
Version 2.0.1
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 5
Frequently Asked Questions

What is smart-charts?

Intelligent chart generation and data analysis skill. Reads user-supplied data files (CSV/Excel/JSON), analyzes data characteristics with LLM assistance, aut... It is an AI Agent Skill for Claude Code / OpenClaw, with 229 downloads so far.

How do I install smart-charts?

Run "/install smart-charts" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is smart-charts free?

Yes, smart-charts is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does smart-charts support?

smart-charts is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created smart-charts?

It is built and maintained by hanli (@neuhanli); the current version is v2.0.1.

💬 Comments