Chart Builder
Use this skill whenever the user asks to visualize, chart, plot, or graph data (bar, line, scatter, histogram, pie) from a CSV, table, or DataFrame. It gives the agent prebuilt, parameterized matplotlib functions so charts are produced faster and more reliably — with consistent styling and sane defaults — instead of hand-writing matplotlib each time.
Install
npx skills add microsoft/cat-agent-skills --skill chart-buildergit clone --depth 1 https://github.com/microsoft/cat-agent-skills.git /tmp/cat-agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/cat-agent-skills/submissions/chart-builder ~/.claude/skills/chart-builderPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
Generate charts from tabular data via the bundled `scripts/charts.py` toolkit.
Each function takes a DataFrame or a file path plus the columns to plot, and
saves a PNG (returning the path). It handles theming, figure sizing, label
rotation, NaN dropping, legend placement, and saving.
## Instructions
1. Provide the data source: a pandas DataFrame, or a path to a `.csv` / `.tsv` /
`.json` file.
2. Call the function for the chart you need, passing the column names:
- `bar(data, x, y)` — one value per category (`horizontal=True` for barh)
- `grouped_bar(data, x, y, group)` — value per category split by `group`
(`stacked=True` to stack)
- `line(data, x, y, group=None)` — value over an ordered axis, one line per
`group`
- `scatter(data, x, y, group=None, size=None)` — two numeric columns
- `histogram(data, y, bins=20, group=None)` — distribution of one column
- `pie(data, x, y, donut=False)` — share of `y` per category `x`
3. Optional keyword args on every chart: `title`, `xlabel`, `ylabel` (derived
from column names if omitted), `out` (default `"chart.png"`; pass `None` to
skip saving), `dpi` (default `150`), `figsize`, `palette`.
4. The function returns the saved image path. See `references/cheatsheet.md` for
full signatures and a chart-selection table.
## Usage
Import:
```python
from charts import bar, line, pie
bar("sales.csv", x="region", y="revenue", title="Revenue by region",
out="revenue.png")
```
CLI:Details
- Skill name
chart-builder- Repository
- microsoft/cat-agent-skills
- Path
submissions/chart-builder/SKILL.md- License
- MIT
- Repo updated
- 15 November 2026
FAQ
What does the Chart Builder skill do?
Use this skill whenever the user asks to visualize, chart, plot, or graph data (bar, line, scatter, histogram, pie) from a CSV, table, or DataFrame. It gives the agent prebuilt, parameterized matplotlib functions so charts are produced faster and more reliably — with consistent styling and sane defaults — instead of hand-writing matplotlib each time.
How do I install the Chart Builder skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add microsoft/cat-agent-skills --skill chart-builder. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Chart Builder popular?
It lives in microsoft/cat-agent-skills, which has 110 GitHub stars and 122 forks.
Related skills
3 Statements
110microsoft/cat-agent-skills
Completes existing income statement, balance sheet and cash flow templates while preserving layout, grounding historical inputs and linking forecast formulas with reconciliation checks. Use for "fill in a 3-statement template", "complete an IS/BS/CF framework", "populate my integrated financial model", "link statements in this template", or "finish the forecasts in my three-statement workbook". Do NOT use for blank-slate models or general workbook edits (use xlsx), DCF valuation (use dcf-valuation), or buyout modeling (use lbo-model).
Accessibility Pass
110microsoft/cat-agent-skills
Use this skill whenever the user asks to check, review, or fix the accessibility of a PowerPoint deck, Word document, HTML page, or Markdown file, and before handing over any deck or document this agent just generated, so it does not ship with missing alt text, untitled slides, or unreadable colour contrast.
Accessible Learning Materials
110microsoft/cat-agent-skills
Maintains instructionally equivalent, accessible variants of a set of learning materials — lessons, readings, slides, and handouts — with parity checks against the original learning goals and recorded approvals. Use when the user asks to "make these materials accessible", "audit this lesson set for accessibility", "create an accessible version of this reading", "check reading level and alt text", or "keep my accessible variants in sync". Do NOT use for individual student accommodation or support-plan decisions (IEP, EHCP, or local equivalent), and do NOT use for generic document formatting (us
Copilot Studio Knowledge Readiness
110microsoft/cat-agent-skills
Use when a Copilot Studio maker provides uploaded files, exported text, or a document set and wants to assess whether that corpus is ready for knowledge grounding. Use this before scoring chunkability, freshness signals, conflicts, or whether content belongs in knowledge versus an action or workflow. Do not use for live SharePoint or Dataverse inspection, general agent design, publishing checklists, analytics troubleshooting, or unrelated Power Platform work.
Appeal Draft
110microsoft/cat-agent-skills
Drafts the level-appropriate appeal letter from the cited policy clause and chart evidence already on the contract, with the deadline status in the header. Use when asked to "draft the appeal letter", "write the appeal for this denial", "put together our response to Contoso", "redraft this appeal on the original code". Use after evidence-assemble and deadline-track. Do NOT use to classify a new denial or "start an appeal" from a remittance - use denial-classify instead; do NOT use to gather evidence - use evidence-assemble instead; do NOT use to find policy - use policy-retrieve instead; do NO
Cowork Consumption Advisor
110microsoft/cat-agent-skills
Turns Microsoft 365 admin center Cost Management and Cowork usage exports (CSV) into an interactive Cowork & Work IQ consumption report: service breakdown (prepaid vs pay-as-you-go), spending-limit analysis per policy, group and user consumption, credits per task, forecasts, per-department and per-manager roll-ups (users enriched via Microsoft Graph), and evidence-backed recommendations. Use when the user runs "/analyze-cowork-consumption", says "build a consumption report from these files", "analyze our Cowork consumption", "how many Copilot Credits did we use", "Cowork spend by department or
Browse the most popular Claude skills, all data & analytics skills, or write your own with the skills generator.