Claude Code chart for Matplotlib visuals from wiki data
Extract values from wiki entries and save a Matplotlib script plus its PNG for reproducible display in Obsidian.
中文Install in Claude Code
Open KnowledgeBase or a wiki with an equivalent layout in Claude Code. Prepare Python, Matplotlib, and a font for the intended label language.
- Review `.claude/skills/chart/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.claude/skills/chart/` in your project and save the reviewed file as `.claude/skills/chart/SKILL.md`.
- Start Claude Code from that project's root, then select `/chart` in the slash menu.
Example task
The chart-21 event category entry gives {talks: 8, workshops: 3}. Use a bar chart and note the source entry path in the script.What to check
Save topic_counts.py and topic_counts.png under output/charts/. The bar heights match {talks: 8, workshops: 3}, with the source entry traceable from the script.
Original SKILL.md on GitHub · Updated
Frequently asked question
Is the PNG alone enough for reproduction?
Keep the Python script and PNG together. The script identifies where the wiki data came from so you can rerender it after changes.