Agent skill

Dataviz AI

by AlexisZ12 in AlexisZ12/DataVizAiAssistant

Generate data visualization charts (line, scatter, bar, stem, fill-between, stackplot, stairs) from natural language descriptions using an LLM-powered matplotlib pipeline.

MITAuto-check passedData & Analytics

Install Dataviz AI

skills CLI
$ npx skills add AlexisZ12/DataVizAiAssistant --skill dataviz-ai -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install AlexisZ12/DataVizAiAssistant dataviz-ai --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/AlexisZ12/DataVizAiAssistant.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skill/dataviz-ai .claude/skills/dataviz-ai && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dataviz-ai
GitHub stars
102
Token cost
~662 tokens
SKILL.md length
214 words
Files
29 (incl. scripts)
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Generate data visualization charts (line, scatter, bar, stem, fill-between, stackplot, stairs) from natural language descriptions using an LLM-powered matplotlib pipeline.

  • Works in 4 steps: Phase 1 — LLM selects the best chart… → Phase 2 — LLM extracts structured data… → Phase 3-5 — LLM designs style… → …
  • Tasks that involve Data visualization
  • SKILL.md covers Usage, Environment Variables, Supported Chart Types and How It Works, plus 1 more section
  • Runs Python scripts from its folder; calls python; needs DATAVIZ_AI_API_KEY

What it does

Dataviz AI is an agent skill from AlexisZ12/DataVizAiAssistant. Generate data visualization charts (line, scatter, bar, stem, fill-between, stackplot, stairs) from natural language descriptions using an LLM-powered matplotlib pipeline. Supports 7 chart types via OpenAI-compatible APIs.

Its SKILL.md is about 660 tokens, which your agent loads only when the skill is triggered. The skill folder holds 30 other files, including scripts (for example `scripts/MatplotlibInterface.py`, `scripts/bar.py` and `scripts/dataviz_ai.py`).

It sits in Data & Analytics, covering Data visualization. It works with Matplotlib, OpenAI and Python. The repository describes itself as: AI-powered data visualization assistant - Automatically generate professional charts from natural language descriptions. Supports 7 chart types and OpenAI/DeepSeek/Ollama… The licence is MIT.

When your agent uses it

  • Tasks that involve Data visualization

Example prompts

  • “/dataviz-ai”

Requirements

  • Python 3
  • A credential in DATAVIZ_AI_API_KEY

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Phase 1 — LLM selects the best chart type (0-6) for the request
  2. Phase 2 — LLM extracts structured data (x, y values, labels) from the description
  3. Phase 3-5 — LLM designs style (markers/colors/line styles), axis ranges,
  4. Phase 6 — Matplotlib renders the chart and saves it as PNG

What it can do on your machine

Read from SKILL.md and the folder at commit 140b560. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 18 files in scripts/ (Python, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • DATAVIZ_AI_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dataviz AI loads about 662 tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 214 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~58
When it runs · the whole SKILL.md, loaded when a task matches
~662

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from AlexisZ12/DataVizAiAssistant at commit 140b560, republished under its MIT licence (© AlexisZ12). 214 words, ~662 tokens.

Download SKILL.mdSave it as .claude/skills/dataviz-ai/SKILL.md (or your agent's skills folder). This skill also uses 28 other files; get the full folder from GitHub.
name
dataviz-ai
description
Generate data visualization charts (line, scatter, bar, stem, fill-between, stackplot, stairs) from natural language descriptions using an LLM-powered matplotlib pipeline. Supports 7 chart types via OpenAI-compatible APIs.

DataViz AI Assistant Skill

Generate matplotlib charts from natural language descriptions using a multi-stage LLM pipeline. The skill analyzes your request, extracts data, designs the visual style, and outputs a PNG image.

Usage

python scripts/dataviz_ai.py "your chart description" [-o output.png]
ArgumentRequiredDescription
descriptionYesNatural language description of the chart
-o, --outputNoOutput image path (default: temp file)

All diagnostic messages go to stderr. Only the image path is printed to stdout.

Example
bash
python scripts/dataviz_ai.py \
  "2024年各月销售额趋势,1月100,2月200,3月150,4月300,5月250,6月400"

python scripts/dataviz_ai.py \
  "画出上海和北京各季度GDP对比" -o ./gdp_chart.png

Environment Variables

All three variables are required:

VariableDescription
DATAVIZ_AI_API_KEYAPI key for the LLM service
DATAVIZ_AI_BASE_URLBase URL for OpenAI-compatible API
DATAVIZ_AI_MODELModel name to use

Supported Chart Types

IDTypeBest for
0line plotTrends and continuous data
1scatter plotRelationships, outliers, correlation
2bar chartComparing categories
3stem plotDiscrete data points with structure
4fill betweenAreas between curves, uncertainty bands
5stackplotMultiple series over a shared axis
6stairs plotStep changes, segmented data

How It Works

  1. Phase 1 — LLM selects the best chart type (0-6) for the request
  2. Phase 2 — LLM extracts structured data (x, y values, labels) from the description
  3. Phase 3-5 — LLM designs style (markers/colors/line styles), axis ranges, and labels (title, axis labels) in parallel
  4. Phase 6 — Matplotlib renders the chart and saves it as PNG

Dependencies

  • openai
  • matplotlib
  • numpy

© AlexisZ12, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 28 other files (scripts) in skill/dataviz-ai of AlexisZ12/DataVizAiAssistant.

  • SKILL.md
  • scripts/MatplotlibInterface.py
  • scripts/bar.py
  • scripts/dataviz_ai.py
  • scripts/fillbetween.py
  • scripts/plot.py
  • scripts/prompts/prompt1a.txt
  • scripts/prompts/prompt2a0.txt
  • scripts/prompts/prompt2a1.txt
  • scripts/prompts/prompt2a2.txt
  • scripts/prompts/prompt2a3.txt
  • scripts/prompts/prompt2a4.txt
  • scripts/prompts/prompt2a5.txt
  • scripts/prompts/prompt2a6.txt
  • scripts/prompts/prompt3a0.txt
  • scripts/prompts/prompt3a1.txt
  • scripts/prompts/prompt3a2.txt
  • scripts/prompts/prompt3a3.txt
  • scripts/prompts/prompt3a4.txt
  • … and 10 more

Open the folder on GitHubat commit 140b560

Compare with similar skills

Dataviz AI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dataviz AI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dataviz AI this skillAlexisZ12/DataVizAiAssistant102—~662Automated safety check: PassMIT
Scientific Figure MakingChenLiu-1996/figures4papers8.3k—~557Automated safety check: PassCustom licence
Plot From ImageTrae1ounG/paper-plot-skills8721 repos~868Automated safety check: PassNone
Python Executorcortega26/chile-hub1132 repos~1.5kAutomated safety check: PassMIT
FigMirror Figure Style TransferVILA-Lab/FigMirror521—~2.1kAutomated safety check: PassNone
Ieee Figure TableCloudWave818/ieee-skills359—~1kAutomated safety check: PassMIT

Similar skills

  • Scientific Figure Making

    ChenLiu-1996/figures4papers

    Covers publication-ready matplotlib figures for academic papers, slides, and reports—bars, trends, scatter, heatmaps, and multi-panel layouts—with this…

    8.3k GitHub stars~557 tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Plot From Image

    Trae1ounG/paper-plot-skills

    Reproduce any academic paper figure from an uploaded image using accumulated style experience.

    872 GitHub starsUsed in 1 repo~868 tokens
    Data & AnalyticsAuto-check passed
  • Python Executor

    cortega26/chile-hub

    Execute Python code in a safe sandboxed environment via [inference.sh](https://inference.sh).

    113 GitHub starsUsed in 2 repos~1.5k tokens
    Data & AnalyticsAuto-check passed
  • Redraws your data as a matplotlib figure in the visual style of a reference paper figure, using a drawer and reviewer loop.

    521 GitHub stars~2.1k tokensUpdated 10 days ago
    Data & AnalyticsAuto-check passed
  • Ieee Figure Table

    CloudWave818/ieee-skills

    Audit, redesign, generate, and improve IEEE manuscript figures, tables, captions, result presentation, plotting scripts, visual polish, hybrid Python/R plus vector-editor workflows…

    359 GitHub stars~1k tokensUpdated 2 mo ago
    Data & AnalyticsAuto-check passed
  • FigMirror

    VILA-Lab/FigMirror

    Mirrors the visual style of a top-conference paper figure onto your own data, producing a camera-ready PDF and a self-contained matplotlib script.

    521 GitHub stars~2.4k tokensUpdated 10 days ago
    Data & AnalyticsAuto-check passed

Questions about Dataviz AI

What does Dataviz AI do?

Generate data visualization charts (line, scatter, bar, stem, fill-between, stackplot, stairs) from natural language descriptions using an LLM-powered matplotlib pipeline. Dataviz AI is an agent skill from AlexisZ12/DataVizAiAssistant. Generate data visualization charts (line, scatter, bar, stem, fill-between, stackplot, stairs) from natural language descriptions using an LLM-powered matplotlib pipeline.

When should I use Dataviz AI?

Dataviz AI fits situations like: tasks that involve Data visualization.

How do I install Dataviz AI in Claude Code?

Run `npx skills add AlexisZ12/DataVizAiAssistant --skill dataviz-ai -a claude-code`. Or copy the skill folder (skill/dataviz-ai in AlexisZ12/DataVizAiAssistant) into .claude/skills/dataviz-ai in your project. Claude Code loads it when a task matches its description.

How do I install Dataviz AI in Codex?

Run `npx skills add AlexisZ12/DataVizAiAssistant --skill dataviz-ai -a codex`. Or copy the skill folder (skill/dataviz-ai in AlexisZ12/DataVizAiAssistant) into .agents/skills/dataviz-ai in your project. Codex loads it when a task matches its description.

Can I use Dataviz AI in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AlexisZ12/DataVizAiAssistant --skill dataviz-ai -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dataviz-ai, .gemini/skills/dataviz-ai, .github/skills/dataviz-ai and .opencode/skills/dataviz-ai in your project.

What does Dataviz AI need to run?

Going by SKILL.md and its folder, Dataviz AI needs Python for the scripts in its folder, the command-line tools its instructions call (python) and credentials named DATAVIZ_AI_API_KEY. Our summary lists: Python 3; A credential in DATAVIZ_AI_API_KEY.

Does Dataviz AI access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Dataviz AI safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Dataviz AI use?

Dataviz AI is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Dataviz AI use?

About 662 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Dataviz AI?

Skills that share tags, products or a category with Dataviz AI: Scientific Figure Making (ChenLiu-1996/figures4papers, 8.3k stars), Plot From Image (Trae1ounG/paper-plot-skills, 872 stars), Python Executor (cortega26/chile-hub, 113 stars) and FigMirror Figure Style Transfer (VILA-Lab/FigMirror, 521 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dataviz AI?

AlexisZ12 (a GitHub user) maintains it in AlexisZ12/DataVizAiAssistant, which has 102 GitHub stars. The repository was last updated on August 9, 2026.

Source: AlexisZ12/DataVizAiAssistant on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.