Agent skill

Plot ML Figure

by probabl-ai in probabl-ai/skills

Pick how to write a figure before custom plot code. An agent skill from probabl-ai/skills.

BSD-3-ClauseAuto-check passedData & Analytics

Install Plot ML Figure

skills CLI
$ npx skills add probabl-ai/skills --skill plot-ml-figure -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install probabl-ai/skills plot-ml-figure --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/probabl-ai/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/plot-ml-figure .claude/skills/plot-ml-figure && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
plot-ml-figure
GitHub stars
137
Token cost
~785 tokens
SKILL.md length
339 words
Files
3 (incl. references)
Skills in repo
23
Repo updated
First seen
Licence
BSD-3-Clause

At a glance

Pick how to write a figure before custom plot code. An agent skill from probabl-ai/skills.

  • Works in 5 steps: If a skore report or sklearn Display… → If interactivity (hover, zoom, pan) is… → If the plot is statistical on a tidy… → …
  • Explore-ml-data
  • SKILL.md covers Sequence and Stop conditions
  • Calls git and uv

What it does

Plot ML Figure is an agent skill from probabl-ai/skills. Pick how to write a figure before custom plot code. Trigger when explore-ml-data, evaluate-ml-pipeline, or audit-ml-pipeline is about to save or display a chart, or when the user asks for a plot. Not a session owner. Not for skore/sklearn Display plots that already exist on a report. HOW TO USE: first match on the tree (owned plot, interactive iframe HTML, seaborn statistical, pandas chart, else matplotlib). In a notebook: save PNG (or HTML) then leave the figure as the cell output; never plt.close. Convert…

Its SKILL.md is about 790 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `evals/evals.json` and `references/when.md`).

It sits in Data & Analytics, covering Data visualization, DataFrames and Machine learning. It works with Python, Matplotlib, pandas and Polars. The repository describes itself as: Tabular Data Science Skills for guardrailing AI Agents. The licence is BSD-3-Clause.

When your agent uses it

  • Explore-ml-data
  • Evaluate-ml-pipeline
  • Audit-ml-pipeline is about to save
  • Display a chart

Example prompts

  • “/plot-ml-figure”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. If a skore report or sklearn Display already plots this,
  2. If interactivity (hover, zoom, pan) is the requirement
  3. If the plot is statistical on a tidy DataFrame (distribution,
  4. If it is a simple Series/DataFrame bar / line / hist /
  5. Else matplotlib. Last resort. In a notebook still save and

What it can do on your machine

Read from SKILL.md and the folder at commit 73564e4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git and uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Plot ML Figure loads about 785 tokens when it runs, and up to ~1.3k if it reads all its reference files. Until then it costs about 166 tokens; SKILL.md has 339 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~166
When it runs · the whole SKILL.md, loaded when a task matches
~785
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from probabl-ai/skills at commit 73564e4, republished under its BSD-3-Clause licence (© probabl-ai). 339 words, ~785 tokens.

Download SKILL.mdSave it as .claude/skills/plot-ml-figure/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
plot-ml-figure
description
Pick how to write a figure before custom plot code. Trigger when explore-ml-data, evaluate-ml-pipeline, or audit-ml-pipeline is about to save or display a chart, or when the user asks for a plot. Not a session owner. Not for skore/sklearn Display plots that already exist on a report. HOW TO USE: first match on the tree (owned plot, interactive iframe HTML, seaborn statistical, pandas chart, else matplotlib). In a notebook: save PNG (or HTML) then leave the figure as the cell output; never `plt.close`. Convert polars at the plot boundary. Missing lib → add-python-package. Confirm symbols with `api get`. The caller names the figure directory.

Plot ML Figure

Worker. Callers own the file and the turn. Do not git end-turn.

Details: references/when.md.

Sequence

  1. If a skore report or sklearn Display already plots this, use it. Stop.
  2. If interactivity (hover, zoom, pan) is the requirement: Plotly Express. Write <caller-figure-dir>/<slug>.html with include_plotlyjs=True (inline, offline). explore-ml-data uses data_analysis/. Do not overwrite that caller’s owned HTML (e.g. data_analysis_<slug>.html). The caller embeds <iframe src="<slug>.html" width="100%" height="640"></iframe> in its markdown beside the implication. Do not add kaleido unless the user asked to export a static image. No Dash. Do not use a CDN.
  3. If the plot is statistical on a tidy DataFrame (distribution, categorical compare, relationship, heatmap, pairplot, facet): seaborn figure-level when a notebook will display it ( displot, relplot, catplot, pairplot, heatmap via FacetGrid / axes only if already on a grid). Not a plt.subplots loop and not a for over columns with a trailing g. One figure-level call as the last expression; facet with col= / col_wrap. Save PNG, leave the figure/grid as the last expression. Never plt.close.
  4. If it is a simple Series/DataFrame bar / line / hist / area from the index or a few columns, no statistical overlay: df.plot(...). Save the figure (ax.figure.savefig(...)), leave ax.figure (or the axes) visible. Never plt.close.
  5. Else matplotlib. Last resort. In a notebook still save and display; do not plt.close.

Notebook cells: save for the caller markdown and show the figure in the notebook. plt.close is for non-notebook scripts only (evaluate/audit scratch probes if they are not notebooks).

Polars → pandas at the plot boundary. Missing import → add-python-package if installed; else name the package and return. api get before new symbols.

Missing this skill from a caller → that caller one-line skips and still follows this tree.

Stop conditions

  • Do not write a long matplotlib script for a hist, box, or bar of a Series.
  • Do not load choose-python-library for matplotlib vs seaborn vs plotly.
  • Do not pixi add / uv add / env add.
  • Do not install plotly on the default EDA path.
  • Do not plt.close a figure that should appear in a notebook.

© probabl-ai, BSD-3-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in skills/plot-ml-figure of probabl-ai/skills.

  • SKILL.md
  • evals/evals.json
  • references/when.md

Open the folder on GitHubat commit 73564e4

Compare with similar skills

Plot ML Figure next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Plot ML Figure compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Plot ML Figure this skillprobabl-ai/skills137—~785Automated safety check: PassBSD-3-Clause
Analytics Data AnalysisMindrally/skills268—~1.6kAutomated safety check: PassApache-2.0
SeabornK-Dense-AI/scientific-agent-skills48k1 repos~3.4kAutomated safety check: NotesBSD-3-Clause
Data Sciencemajiayu000/claude-skill-registry6661 repos~4.3kAutomated safety check: PassMIT
Python Executorcortega26/chile-hub1132 repos~1.5kAutomated safety check: PassMIT
Release Evidence WorkflowAli-Marandi/ClimateDataAnalyzer107—~1.6kAutomated safety check: PassMIT

Similar skills

  • Analytics Data Analysis

    Mindrally/skills

    Best practices for analytics, data analysis, and visualization using Python, pandas, matplotlib, seaborn, and Jupyter notebooks.

    268 GitHub stars~1.6k tokensUpdated 1 mo ago
    Data & AnalyticsAuto-check passed
  • Seaborn

    K-Dense-AI/scientific-agent-skills

    Creates Seaborn statistical visualizations with pandas integration for distributions, relationships, categorical comparisons, regression displays, pair plots, and heatmaps.

    48k GitHub starsUsed in 1 repo~3.4k tokens
    Data & AnalyticsAuto-check: notes
  • Data Science

    majiayu000/claude-skill-registry

    A skill your agent uses when performing exploratory data analysis, statistical testing, data visualization, or building predictive models.

    666 GitHub starsUsed in 1 repo~4.3k tokens
    Data & AnalyticsAuto-check passed
  • Python Executor

    cortega26/chile-hub

    Execute Python code in a safe sandboxed environment via [inference.sh](https://inference.sh).

    113 GitHub starsUsed in 2 repos~1.5k tokens
    Data & AnalyticsAuto-check passed
  • Release Evidence Workflow

    Ali-Marandi/ClimateDataAnalyzer

    Build an auditable release-evidence workflow for a desktop or packaged application.

    107 GitHub stars~1.6k tokensUpdated 1 mo ago
    Data & AnalyticsAuto-check passed
  • Hybrid-Engine Data Analysis

    code-yeongyu/oh-my-openagent

    Analyzes CSV, Parquet and JSON data with DuckDB, Polars, numpy and matplotlib, preferring a persistent kernel over repeated one-shot processes.

    70k GitHub stars~1.4k tokensUpdated today
    Data & AnalyticsAuto-check passed

More from probabl-ai/skills

All 23 skills in this repo
  • Add Python Package

    probabl-ai/skills

    Add a Python dependency through the project env manager, or ask the user to install it when env.managed is false.

    137 GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Build ML Pipeline

    probabl-ai/skills

    Declare the pipeline from data source to predictor as a skrub DataOps graph.

    137 GitHub stars~4.1k tokensUpdated today
    Auto-check passed
  • Evaluate ML Pipeline

    probabl-ai/skills

    Evaluate one learner with skore.evaluate. An agent skill from probabl-ai/skills.

    137 GitHub stars~4.3k tokensUpdated today
    Auto-check passed
  • Setup Workspace

    probabl-ai/skills

    Detect an existing ML workspace or scaffold a fresh one via python -m skoreskills scaffold --package <pkg.

    137 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Audit ML Pipeline

    probabl-ai/skills

    Read-only audit of one persisted skore report: audit/NN<stem.py (jupytext percent), 1:1 with experiments/ and journal/.

    137 GitHub stars~9.4k tokensUpdated today
    Auto-check passed
  • Explore ML Data

    probabl-ai/skills

    Owns data understanding before any model is designed. An agent skill from probabl-ai/skills.

    137 GitHub stars~5.7k tokensUpdated today
    Auto-check passed

Questions about Plot ML Figure

What does Plot ML Figure do?

Pick how to write a figure before custom plot code. An agent skill from probabl-ai/skills. Plot ML Figure is an agent skill from probabl-ai/skills. Pick how to write a figure before custom plot code.

When should I use Plot ML Figure?

Plot ML Figure fits situations like: explore-ml-data; evaluate-ml-pipeline; audit-ml-pipeline is about to save; display a chart.

How do I install Plot ML Figure in Claude Code?

Run `npx skills add probabl-ai/skills --skill plot-ml-figure -a claude-code`. Or copy the skill folder (skills/plot-ml-figure in probabl-ai/skills) into .claude/skills/plot-ml-figure in your project. Claude Code loads it when a task matches its description.

How do I install Plot ML Figure in Codex?

Run `npx skills add probabl-ai/skills --skill plot-ml-figure -a codex`. Or copy the skill folder (skills/plot-ml-figure in probabl-ai/skills) into .agents/skills/plot-ml-figure in your project. Codex loads it when a task matches its description.

Can I use Plot ML Figure in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add probabl-ai/skills --skill plot-ml-figure -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/plot-ml-figure, .gemini/skills/plot-ml-figure, .github/skills/plot-ml-figure and .opencode/skills/plot-ml-figure in your project.

What does Plot ML Figure need to run?

Going by SKILL.md and its folder, Plot ML Figure needs the command-line tools its instructions call (git and uv).

Does Plot ML Figure access the network?

SKILL.md contains no URLs. Its commands use git and uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Plot ML Figure safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Plot ML Figure use?

Plot ML Figure is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Plot ML Figure use?

About 785 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 505 tokens, read only when the agent opens those files.

What are the alternatives to Plot ML Figure?

Skills that share tags, products or a category with Plot ML Figure: Analytics Data Analysis (Mindrally/skills, 268 stars), Seaborn (K-Dense-AI/scientific-agent-skills, 48k stars), Data Science (majiayu000/claude-skill-registry, 666 stars) and Python Executor (cortega26/chile-hub, 113 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Plot ML Figure?

probabl-ai (a GitHub organization) maintains it in probabl-ai/skills, which has 137 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on October 7, 2026.

Source: probabl-ai/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.