Open-source agent skill
Give your agent the numbers and the story.
Get an infographic for print and social media. Your agent writes a small JSON file, checks it and renders a page you can share as PNG, PDF or web.
npx skills add isatimur/infographic-md
Honest by design
The charts tell the truth.
A pretty chart that misleads is worse than no chart. The engine keeps three promises, and the tests check them.
- Zero baselines.
Bars and columns start at zero. Their lengths stay in proportion to the numbers.
- Never invents.
The engine draws your numbers and does not round, estimate or fill gaps. Numbers must be JSON numbers.
- Always a source.
A page with numbers needs a source line, or a flag that the data is your own. Otherwise it does not validate.
Fictional loans, from the library example. Each bar is its value divided by 5,000.
How it works
Three steps, no design tool.
Tell your agent the story
Say what the numbers are, where they come from and where the page will go. The agent asks for anything missing.
Make a feed post: 46,210 books borrowed in 2025, loans by month. Source: our annual report.
It writes and checks the JSON
Big numbers, charts, icon rows and timelines go into one small file. The checker lists every problem.
{ "type": "bar",
"title": "Loans by branch",
"data": [
{ "label": "Main",
"value": 31200 } ] }
You pick a theme and share
See three themes side by side. Then export a PNG for social media, a PDF for print, or publish the web page.
infographic-md png page.html --out post.png --scale 2
Five themes
Each one has its own voice.
Every image here is real output from the engine, with fictional data. Open one to see the page itself.
Every size
One layout, seven formats.
The same JSON fits a feed post, a story, a long scroll post, a poster or a web page. The text shrinks to fit and never spills off the page.
- feed1080 x 1350
- story1080 x 1920
- long1080 x 3000
- a4210 x 297 mm
- a3297 x 420 mm
- letter8.5 x 11 in
- webresponsive, with data tables
Examples
Six pages, all fictional.
Invented towns, trusts and households. The numbers are made up and each page says so. Each one also has a web version with the text and data tables.
A year at Northgate Library
Editorial · 1080 x 3000 · English
One weekend, one river
Warm · 1080 x 1920 · English
Fenwick is getting on its bike
Bold · 1080 x 1350 · English
How Alder Hill gets to school
Isotype · A4 · English
Where our water goes
Swiss · US Letter · own data
Bicicletas em Vale Verde
Editorial · A3 · Portuguese
Install
Pick the way you work.
Claude Code plugin
/plugin marketplace add isatimur/infographic-md
/plugin install infographic-md@infographic-md
Any agent, via skills.sh
npx skills add isatimur/infographic-md
Command line
npx github:isatimur/infographic-md render infographic.json --out infographic.html
Node 20 or newer. Nothing else to install. PNG and PDF export use Playwright when it is there.




