/probabl-skills:plot-ml-figurefrom probabl-skills
Selects and generates plots using pandas, seaborn, plotly, or matplotlib based on data type and interactivity needs. Handles figure saving and display in notebooks.
Ships in probabl-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Worker. Callers own the file and the turn. Do not git end-turn.
Details: references/when.md.
<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.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.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.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.
choose-python-library for matplotlib vs seaborn
vs plotly.pixi add / uv add / env add.plt.close a figure that should appear in a notebook.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
data-visualization, plotting, python-charts, notebook-figures
26 skills in this plugin
/add-python-packageAdd a dependency through the project env manager, or ask the user when the environment is user-managed. Trigger when a workflow needs a missing import, after choose-python-library picks a library, or for editable install of src/<pkg>/.
SKIP choosing between competing libraries (choose-python-library owns that). SKIP bootstrapping a missing manager directly (setup-python-env). When env.managed is null, load setup-ml-project if it is installed.
HOW TO USE: read status.policy.env.managed, env detect, and env route. Classify this turn first (editable | add-skore | named package). If managed is null, load setup-ml-project and stop. If managed, env add --execute (or --editable). If unmanaged, ask; default is the user handles it — do not wait. When setup-ml-project already chose user-managed this turn, name the package and the manager, then return. Do not ask and do not wait. Never --execute while managed is false.
/audit-ml-pipelineAudit a persisted skore report read-only and produce a reusable digest. Do not execute it. Run `materialize.py` once. Never call `skore.evaluate` or `project.put`.
TRIGGER when a completed run needs an audit, the user asks to audit, show, or re-audit an experiment, a re-run overwrote the same `put()` key, or they want a narrative of a past experiment without `journal/ideas/` files.
STOP when `status.setup.pending` is non-empty (load `setup-ml-project`), or when there is no approved design, no report, or no agent feature: explain and send the user to setup, `evaluate-ml-pipeline`, or `model-ml-pipeline`. Also stop for raw-data exploration or sourcing a future experiment.
HOW TO USE: confirm journal, experiment, smoke, and report; place the file from `templates/audit.py`; copy `templates/materialize.py` to scratch; execute once; derive G-AUDIT-FINDING; then the continue-or-close gate. Resolve skore symbols with `api get`.
npx claudepluginhub probabl-ai/skore-skills --plugin probabl-skillsOther plugins' skills for the same job