Skip to main content
skill CX Codex

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add drawthingsai/local-code-community --skill answers-charts -a claude-code
Open on GitHub

What 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-code

2Manually: put the files in place

~/.claude/skills/answers-charts/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/answers-charts/

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.

Similar skills

All skills for Data and databases →

From the same set20

The whole set →
waterfall-entry waterfall-entry is a Claude Code rule for staggered bottom-up text arrivals. It runs during kinetic typography sequences in title cards and screen openers. CX Codex +1 ★ 171repo stars stat-bars-and-fills stat-bars-and-fills is a Claude Code rule for animating graphics paired with statistics: bars, progress indicators, or star ratings. It applies when an interface presents a value with a visual measure. CX Codex +1 ★ 171repo stars office The office skill for Claude Code creates and modifies Word documents, Excel workbooks, and PowerPoint decks. It runs when generating or inspecting office files via local scripts. CX Codex +1 ★ 171repo stars introduce-local-code introduce-local-code is a Claude Code skill that explains the assistant and the Local Code app. It activates for questions about the app’s purpose, features, or operation. CX Codex +1 ★ 171repo stars uikit-ui-common-setup uikit-ui-common-setup is a Claude Code skill for writing and refactoring UIKit interfaces. It applies to work involving Workflow, ViewController, SnapKit, and UI state. CX Codex +1 ★ 171repo stars check_lean-and-lean-tools check_lean-and-lean-tools is a Claude Code skill that verifies Lean proofs for universal claims involving induction or recursion. It joins coding, debugging, review, or design tasks when a claim needs machine-checked lemmas. CX Codex +1 ★ 171repo stars use-draw-things-cli use-draw-things-cli is a Claude Code skill that creates or edits images and generates videos through draw-things-cli. It selects a model and its task-specific guidance. CX Codex +1 ★ 171repo stars use-mcp-with-mcporter use-mcp-with-mcporter is a Claude Code skill that routes Model Context Protocol requests through the MCPorter CLI. It triggers when an agent connects to MCP servers, reads schemas, or runs tools. CX Codex +1 ★ 171repo stars

Project sponsors

Companies that keep this analytics open