Automated summary
Generates charts (bar, line, pie, scatter, histogram) from CSV, JSON, or query results using matplotlib.
Strengths
- Supports multiple common chart types
- Accepts inline data, files, or piped input
- Can be combined with other skills (e.g., database) to visualize queries
- Simple command-line interface for quick use
Limitations
- Limited customization (no advanced styling or animations)
- Only supports matplotlib, not other visualization libraries
- Output is static PNG only, no interactive formats
When you need a quick, simple visualization of tabular data without extra setup.
For interactive charts, complex dashboards, or charts requiring advanced styling.
Security analysis
SafeThe skill uses Bash restricted to a specific directory for chart generation with matplotlib. It does not instruct destructive actions, network calls, or exfiltration. While there is potential for shell injection if the underlying script improperly handles arguments, the SKILL.md itself does not describe any unsafe patterns and the allowed-tools limit exposure.
No concerns found
How this analysis is madeExamples
Create a bar chart showing monthly sales: Jan 12000, Feb 15000, Mar 13500, Apr 18000. Title it 'Monthly Sales'.I have a CSV file sales.csv with columns 'month' and 'revenue'. Generate a line chart of revenue over time with title 'Revenue Trend'.Query the database for order status counts and create a pie chart with title 'Order Status'.name: charts description: Generate charts and graphs from data for reports. Use when user wants to visualize data, create charts, graphs, plots, or diagrams from CSV, JSON, or query results. allowed-tools:
- Read
- Bash(~/.claude/skills/charts/:)
Charts Skill
Generate charts and graphs from data using matplotlib.
Commands
| Command | Description |
|---------|-------------|
| charts bar | Bar chart (vertical or horizontal) |
| charts line | Line chart for trends/time series |
| charts pie | Pie chart for proportions |
| charts scatter | Scatter plot for correlations |
| charts histogram | Histogram for distributions |
| charts help | Show help |
Data Input Methods
1. Inline data
charts bar --labels "A,B,C" --values "10,20,30"
2. From CSV/JSON file
charts line --file data.csv --x date --y revenue
3. From stdin (pipe)
echo "name,value
Product A,100
Product B,150" | charts bar --x name --y value
4. Combined with database skill
database query "SELECT status, COUNT(*) as count FROM orders GROUP BY status" | charts pie --x status --y count --title "Order Status"
Common Options
--title "Text"- Set chart title--output file.png- Specify output path (default: /tmp/chart_<type>_<timestamp>.png)--open- Open image after generating--x column- Column for X axis / labels--y column- Column for Y axis / values
Chart-Specific Options
Bar chart
--horizontal- Horizontal bars instead of vertical
Histogram
--column name- Column to analyze--bins N- Number of bins (default: 10)
Output
By default, charts are saved to /tmp/chart_<type>_<timestamp>.png and the path is printed to stdout.
Use the Read tool to view the generated chart image.
Examples
# Sales by month
charts bar --labels "Jan,Feb,Mar,Apr" --values "12000,15000,13500,18000" --title "Monthly Sales"
# Revenue trend from CSV
charts line --file sales.csv --x month --y revenue --title "Revenue Trend"
# Distribution pie chart
charts pie --labels "Desktop,Mobile,Tablet" --values "55,35,10" --title "Traffic by Device"
# Query results visualization
database query "SELECT date, amount FROM transactions ORDER BY date" | charts line --x date --y amount --title "Transaction History"
# Age distribution histogram
charts histogram --file users.csv --column age --bins 15 --title "User Age Distribution"
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/charts-and-graphs-generation-mmh8qqdg/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/charts-and-graphs-generation-mmh8qqdg' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/charts-and-graphs-generation-mmh8qqdg/download' --output '.skill-downloads/charts-and-graphs-generation-mmh8qqdg/SKILL.md.part' && mv '.skill-downloads/charts-and-graphs-generation-mmh8qqdg/SKILL.md.part' '.skill-downloads/charts-and-graphs-generation-mmh8qqdg/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/charts-and-graphs-generation-mmh8qqdg/SKILL.md' && test -s '.skill-downloads/charts-and-graphs-generation-mmh8qqdg/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/charts' && cp -R '.skill-downloads/charts-and-graphs-generation-mmh8qqdg' '.claude/skills/charts'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/charts-and-graphs-generation-mmh8qqdg'openskills read 'charts-and-graphs-generation-mmh8qqdg'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/charts-and-graphs-generation-mmh8qqdg/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Create Interactive Maps with kepler.gl
Data & AI
Create interactive map visualizations and export standalone HTML using the keplergl Python package. Use to plot geospatial data from DataFrames, GeoJSON, or CSV.
Agent-Driven Parameter Optimization
Data & AI
Guide for optimizing configurable systems with a measurable objective, using bounded trials and evidence-based recommendations.
ICP Visitor Outreach
Data & AI
Identify signed-up users matching the ideal customer profile but stalled, and draft personalized outreach to re-engage them.