answers-charts — Claude Code skill: what it does, how to install
answers-charts is a Claude Code skill that builds Matplotlib charts and embeds them directly into answers. It outputs verified PNG and SVG files strictly from supplied numbers.
GPL-3.0 ★ 171 updated 2026-11-17
npx skills add drawthingsai/local-code-community --skill answers-charts -a claude-codeWhat answers-charts does
The skill generates a standalone runner at outputs/chart_task.py and places exported visuals into outputs/charts/. It relies on an existing Python setup containing Matplotlib 3.11.2 alongside Pillow 13.0.0. Network access and ad-hoc package installations are disallowed. The workflow configures the non-interactive Agg backend and formats figures with constrained layouts.
Every visualization exports to both a scalable SVG and a high-resolution PNG rendered at 180 DPI with minimum dimensions of 800 by 450 pixels. Pillow opens the generated image to confirm integrity before the agent marks the job done. The final graphic is embedded into Markdown output via a project-relative path.
Execution happens entirely inside the workspace root without changing directories or tampering with PYTHONPATH. Whenever a mathematical plotting request omits domain boundaries, the skill pauses to request missing parameters instead of inventing arbitrary samples.
What it helps with
- generate clear line and bar plots from tabular records
- render scatter plots for paired numeric observations without network calls
- validate rendered chart dimensions and file health via Pillow
- embed inline PNG graphics alongside downloadable SVG assets
Example prompts for the agent
- Plot monthly churn rates from metrics.json as a line chart under outputs/charts
- Create a horizontal bar chart ranking API endpoints by latency
- Draw a scatter plot comparing memory usage against request throughput
How to install answers-charts
1Skills CLI (Vercel)
npx skills add drawthingsai/local-code-community --skill answers-charts -a claude-code2Manually: put the files in place
~/.claude/skills/answers-charts/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/answers-charts/
1Skills CLI (Vercel)
npx skills add drawthingsai/local-code-community --skill answers-charts -a codex2Manually: put the files in place
.agents/skills/answers-charts/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add drawthingsai/local-code-community --skill answers-charts -a cursor2Manually: put the files in place
.cursor/skills/answers-charts/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install drawthingsai/local-code-community Apps/LocalCode/Resources/Skills/answers-charts2Manually: put the files in place
.github/skills/answers-charts/SKILL.md1Skills CLI (Vercel)
npx skills add drawthingsai/local-code-community --skill answers-charts -a gemini-cli2Platform CLI
gemini skills install https://github.com/drawthingsai/local-code-community --path Apps/LocalCode/Resources/Skills/answers-chartsManually: put the files in place
.devin/skills/answers-charts/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about answers-charts
How to install answers-charts in Claude Code?
Run npx skills add drawthingsai/local-code-community --skill answers-charts -a claude-code or save the skill definition into ~/.claude/skills/answers-charts/SKILL.md.
What does answers-charts do?
It writes a Matplotlib rendering script, executes it via Bash, verifies image dimensions with Pillow, and links the resulting PNG directly inside the conversation.
What is required to run answers-charts?
A local Python environment with Matplotlib 3.11.2 and Pillow 13.0.0 is required, operating strictly offline with relative file paths.