Skip to content
m4bwav edited this page Oct 4, 2026 · 1 revision

The repository has no issues yet, so these questions come from the README, the source and the runs behind this wiki.

Does my data leave my machine?

Not unless you pick a route that sends it. cw.py reads your CSV locally and writes local files. Four routes reach the network. A quickchart image URL carries the data to quickchart.io. render --target plantuml without a local PlantUML prints a kroki.io link holding the diagram. Web pages load their charting library from a CDN, though the data stays in the page. Rendering Mermaid without mmdc has npx download the Mermaid CLI. The list is in the README's Privacy section and on Render targets. What your AI app does with the conversation is up to that app.

Do I have to install anything besides Python?

No. With only Python you get Mermaid blocks, web specs and pages, QuickChart URLs, Google Sheets requests, PlantUML and D2 text, and terminal charts. Pictures and office files need their renderer: vl-convert-python for Vega-Lite images, matplotlib, python-pptx, openpyxl, and python-docx plus vl-convert-python for Word. cw.py doctor shows what you have. The README's install line leaves out python-docx.

Why did a command print a problem and still exit 0?

cw.py fails soft on purpose: an agent reads the message and decides what to do next. Add --strict to get exit 1 on a problem, as the tests and any script should. See Commands.

Why does build say "mermaid has no recipe" for a chart that exists?

Either Mermaid cannot draw that chart (a heatmap, for example, so use an image target), or the slug is misspelt. build does not check slugs against the knowledge base, so linechart gets the same message. cw.py list shows the real slugs, and cw.py show <slug> --section build shows how each target can draw a chart.

pick suggested a bar chart for nonsense. Why?

Well-established charts get a few points for their evidence and popularity, so pick always returns something. If the why line is missing, nothing in your question matched. Give --shape (from cw.py data) and the words of the question you want the chart to answer. See How charts are picked and built.

The skill asked before building my PowerPoint chart. Why?

Most targets have been tested only on Windows, and several outputs (PowerPoint, Excel, Word) were never opened in the program that reads them. The skill tells you so and asks before going on, and does not switch to another target on its own. If it works for you, let it record the result. See Render targets.

Does it work on macOS and Linux?

cw.py's help says it runs on Windows, macOS and Linux, but the runs behind this wiki were on Windows only, so the other two are not tested. File paths in messages print with your system's separator.

/plugin marketplace add m4bwav/chartwright fails with an SSH error

If the short form fails with "SSH host key is not in your known_hosts file", Claude Code tried to clone over SSH. Use the HTTPS URL instead: /plugin marketplace add https://github.com/m4bwav/chartwright.git. In the test for this wiki the short form cloned over HTTPS and worked.

I installed with gh skill and the skill cannot find cw.py

gh skill install copies only the two skill folders. The skills look for scripts/ and kb/ two folders above each SKILL.md, so copy both from the same tag into the folder that holds skills/. See Getting started.

Can I add my own chart types or notes?

Yes: that is what chartwright-curate is for. Ask it to add a chart, or run cw.py new-chart, cw.py note or cw.py tested yourself, then cw.py --strict validate and cw.py index. Do it in a clone of the repository, since a plugin update replaces the installed copy. Pull requests with new entries or test records are welcome. See Commands and Development.

Why does my Mermaid chart have no legend?

Mermaid's xychart-beta has none, so build writes the series order in a comment. If your host runs Mermaid 11.16 or later, --flag namedSeries names each series. See How charts are picked and built.

Can it draw flowcharts or diagrams of my code?

No. chartwright is for data. The skill's description sends codebase graphs and flowcharts without data elsewhere. The D2 target draws networks and trees, but only from a table of edges.

Clone this wiki locally