Skip to content
Agentmart
Submit a tool

quickchart

Generate chart images for markdown documents using the QuickChart API.

Skill by William Duyck

IndexedMIT★ 4
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/fuzzyfox-quickchart

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Generate chart images for markdown documents using the QuickChart API. Use when writing reports, READMEs, changelogs, dashboards, or any markdown output that needs an embedded chart, graph, sparkline, gauge, or data visualisation.

Use cases: documents, backend, data, writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Node.js package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/quickchart

What's inside

Skill name
quickchart
Description
Generate chart images for markdown documents using the QuickChart API. Use when writing reports, READMEs, changelogs, dashboards, or any markdown output that needs an embedded chart, graph, sparkline, gauge, or data visualisation.
License
MIT
Compatibility
Requires network access to quickchart.io. Helper script needs Node.js 18+ (built-in fetch).
Metadata
author: William Duyck · version: 1.0
Instructions
71 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts
  • Instructions call the network

Files (15)

  • SKILL.md
  • BEST_PRACTICES.md · references/
  • bar.md · references/
  • boxplot-violin.md · references/
  • financial.md · references/
  • gauge.md · references/
  • line.md · references/
  • mixed.md · references/
  • pie-doughnut.md · references/
  • progress-bar.md · references/
  • radar.md · references/
  • sankey.md · references/
  • scatter-bubble.md · references/
  • sparkline.md · references/
  • build-chart.js · scripts/

SKILL.md (first lines)

# QuickChart

Render charts as PNG/SVG images hosted by QuickChart and embed them in markdown via `![alt](url)`. Pick the right transport for the data size, pick the right chart type for the message, then embed the resulting URL.

## Quick start

For a small chart, build a config object and run the helper:

```bash
node scripts/build-chart.js --type bar --title "Sales" \
  --labels "Q1,Q2,Q3,Q4" --data "12,19,8,15"
```

It prints a markdown snippet like:

```markdown
![Sales](https://quickchart.io/chart?c=%7B...%7D)
```

For a complex chart, write the Chart.js config to a JSON file and pipe it:

```bash
cat chart.json | node scripts/build-chart.js --stdin --alt "Revenue by region"
```

The script auto-picks transport: GET (base64-encoded) for small configs, POST to `/chart/create` (short URL) for large ones.

## Workflow

1. **Pick a chart type.** See [Best practices](references/BEST_PRACTICES.md#choosing-the-right-chart) to match the data shape to the chart, then the per-type doc in `references/` for a ready-to-edit config.
2. **Compose the Chart.js config.** Start from the relevant reference file. Keep titles short, label series clearly, use accessible colours.
3. **Build the URL** with `scripts/build-chart.js`.
4. **Embed in markdown.** Paste the `![alt](url)` snippet.
5. **Verify the URL resolves.** `curl -sI` the generated URL and confirm a `200` and an image content-type before embedding; for `--download`, confirm the file was written and is non-empty.

## Chart types

Each reference file contains a working config you can copy, plus type-specific tips. To match data to type, see [Choosing the right chart](references/BEST_PRACTICES.md#choosing-the-right-chart).

- [bar](references/bar.md) — vertical, horizontal, grouped, stacked.
- [line](references/line.md) — multi-series, filled area.
- [pie-doughnut](references/pie-doughnut.md) — pie and doughnut.
- [radar](references/radar.md) — one or two entities across shared axes.
- [scatter-bubble](references/scatter-bubble.md) — scatter and 3-dim bubble.
- [gauge](references/gauge.md) — radial gauge and speedometer.
- [sparkline](references/sparkline.md) — inline mini trends for tables/prose.
- [sankey](references/sankey.md) — flows between stages.
- [progress-bar](references/progress-bar.md) — completion against a target.
- [boxplot-violin](references/boxplot-violin.md) — boxplot and violin.
- [financial](references/financial.md) — OHLC and candlestick.
- [mixed](references/mixed.md) — bar + line combo (e.g. volume + price).

## Transport: when to use what

| Situation | Use | Why |
|---|---|---|
| Small config, < 1.5KB JSON | GET, URL-encoded | Simplest, no extra request. |
| Medium config, 1.5–6KB | GET, `encoding=base64` | Avoids escaping issues. |
| Large config or contains JS callbacks | POST `/chart` (inline render) | No URL limits; functions stay intact. |
| Reusable across many renders or want a stable short link in the markdown | POST `/chart/create` → short URL | Returns a clean `quickchart.io/chart/render/<id>` URL. |
| Templated dashboards (same shape, varying data) | POST once to `/chart/create`, override with `?title=…&labels=…&data1=…` | One config, many renders. |
| Long-lived document (committed report, book, PDF) | `--download path/to.png` | Save the rendered bytes; embed the local path. Survives short-URL expiration. |

The helper script handles the first four automatically. Pass `--download` for long-lived documents (see [Best practices](references/BEST_PRACTICES.md#long-lived-documents)). For templated dashboards see [Best practices](references/BEST_PRACTICES.md#templated-short-urls).

## See also

- [scripts/build-chart.js](scripts/build-chart.js) — composes the config into a URL and picks the transport.
- [QuickChart official documentation](https://quickchart.io/documentation/) — upstream reference for chart types, parameters, and API endpoints if troubleshooting is required.

From fuzzyfox/skills, MIT.

More from fuzzyfox/skills

Signals

Stars
4
Forks
0
Open issues
0
Last commit (this folder)
Jul 10, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from William Duyck

Cite this page

quickchart skill. Agent Mart. https://agentmart.dev/skills/fuzzyfox-quickchart (last updated 2026-10-24)