Chart Generator: Generating SVG Bar, Line, and Pie Charts Directly in Agent Conversations

Introduction

When writing reports, making presentations, or organizing analysis conclusions, data is often ready, but what is often missing is a properly aligned and formatted chart. Setting up matplotlib, ECharts, or front-end chart libraries involves managing dependencies, styles, and export formats, which can feel cumbersome in the workflow of “concluding first, adding charts later.” If you simply want an Agent to generate vector graphics based on existing numbers that can be embedded in documents, it is more suitable to use charting capabilities specifically designed for the Skills ecosystem rather than writing plotting scripts from scratch every time.

Below is an introduction to the “Chart Generator” Skill on SkillHub: within the scope of verified materials, it is positioned to output bar charts, line charts, and pie charts as SVG, and specifies that no API Key is required.

What is this

The Chart Generator (Coord @zcwl/chart-gen-free) is an enterprise-source Skill released by Zhichuang Weilai on SkillHub. The current version is 1.0.2, categorized as data-analysis. The official description is: Data visualization tool producing SVG charts; Bar/Line/Pie charts on demand (Data visualization tool producing SVG charts).

The problem it solves is straightforward: in an environment that supports Agent Skills, passing the request “draw this set of data as a chart” to a Skill-guided workflow to output SVG results that are easy to paste into Markdown, HTML, or design drafts, rather than leaving drawing details to be pieced together by both parties in the conversation.

The SkillHub page labels it with requires_api_key=false, indicating that no additional API Key configuration is required when installing and using it according to the store description.

Core Features

The following capabilities are derived from the official description and SkillHub metadata; details that are not expanded on public pages are not speculated.

  1. Chart Types: Bar charts, line charts, pie charts.
  2. Output Format: SVG.
  3. Usage Barrier: No API Key (requires_api_key=false).
  4. Distribution Form: Standard Skill package, installed into each Agent’s skills directory via the SkillHub CLI, and invoked by the model according to SKILL instructions.

Installation and Enablement

The SkillHub skill page states: Please install @zcwl/chart-gen-free according to SkillHub Installation and Priority Source Configuration.

1. Check or install skillhub CLI

command -v skillhub && skillhub --version

If not installed, you can perform the full installation (CLI + default Skills) according to the official documentation:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

When only the CLI is needed:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install Chart Generator

When installing, you must use --dir to point to the actual skills directory used by the current Agent; otherwise, default installation to ./skills/ may not be recognized. The official documentation lists common paths as follows (choose one based on your product):

Agent / Product skills directory (excerpt)
Cursor ~/.cursor/skills/
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/ or .agents/skills/ under the project
Windsurf ~/.codeium/windsurf/skills/ etc.

Using Cursor as an example, the installation command looks like:

skillhub install zcwl/chart-gen-free --dir ~/.cursor/skills/

When the coordinate syntax matches the page, you can also use skillhub install @zcwl/chart-gen-free --dir <your skills directory>, referring to the local skillhub help information as the standard.

After installation, restart or refresh the Skills list according to your Agent’s requirements, then mention data visualization needs in the conversation for the Agent to load the Skill.

Typical Usage

The public SkillHub page does not attach the full SKILL.md body or copyable command-line examples. The boundaries of reproducible usage are as follows:

  1. In a session where this Skill is enabled, provide structured or natural language description of data (categories, sequences, proportions, etc.).
  2. Specify the required chart type: one of Bar, Line, or Pie (or combined requirements, subject to actual Skill support).
  3. Request output SVG for easy saving as .svg or embedding in documents.

Specific prompt templates, field constraints, and style parameters must be based on SKILL.md inside the installation package; this article does not fabricate example data or interaction scripts not found in official materials.

Applicable Scenarios and Notes

Suitable For

  • Developers or analysts who need to quickly generate charts in Agent workflows and prefer SVG vectors.
  • Teams that want to minimize touching local drawing environments and converge “type selection + charting” into a Skill.

Limitations and Notes

  1. Data Granularity: The store page only summarizes Bar/Line/Pie and SVG; it does not publicly disclose rating algorithms or implementation stacks; whether complex statistical charts, maps, or interactive charts are supported must be based on the Skill body text.
  2. Installation Path: Be sure to use the correct --dir, which is a common issue emphasized by SkillHub documentation.
  3. Metadata: The version in the retrieved data is 1.0.2, source enterprise, category data-analysis; SkillHub shows approximately 1040 downloads and a rating of 100000 (page statistics change over time, refer to the store).
  4. Official Entry: The Skill API address is https://api.skillhub.cn/zcwl/chart-gen-free; see SkillHub Skill Page for browsing and installation instructions.

Conclusion

The Chart Generator puts “Bar Line Pie + SVG” into a data-analysis class Skill, maintained by Zhichuang Weilai on SkillHub. For scenarios where you don’t want to write plotting code for every attached chart, it is a verifiable and installable path. To install or check the version, please visit https://www.skillhub.cn/skills/zcwl/chart-gen-free or install @zcwl/chart-gen-free via the CLI as described above.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye