Visualization
Capture matplotlib figures as durable, ledger-tracked artifacts instead of ephemeral inline output, so plots survive session boundaries and show up in reports. Use when the user asks to plot, chart, or visualize data, features, or model results.From its SKILL.md
npx -y skills add spkc83/omds --skill visualizationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.2 KB, as published. Nobody here has run it
Visualization
Tooling. These steps use the
omds-*CLIs (and the in-kernelomds.dstoolshelpers), available once theomdspackage is installed (install instructions) — no agent harness required. If your host runs the OMDS MCP server, the equivalent MCP tools work too; seeskills/README.mdfor the CLI↔tool mapping.
When to use
- The user asks to plot, chart, graph, or otherwise visualize data, a feature distribution, a training curve, or model results.
- A plot is being produced as a side effect of
eda,feature-engineering,model-training, orevaluationand needs to be kept around rather than shown once and lost. - The user asks to see a previously-produced plot again, or asks what plots exist for a session.
Procedure
- Build the figure with matplotlib as usual (
fig, ax = plt.subplots(), or let a plotting call use the current pyplot figure). - Save it with
capture_plot(fig)(or barecapture_plot()to grab the current pyplot figure) — available onbuiltinsonceomds.dstools.install()has run in this kernel, or viafrom omds.dstools.plots import capture_plototherwise. This writes a PNG to<artifacts_root>/plots/<uuid4>.png(matplotlib is imported lazily insidecapture_plot, so nothing here requires matplotlib unless a plot is actually captured) and returns the saved path as a string — capture the return value, don't just call it for effect. - Record the returned path in the
artifactslist of theledger.log_run(...)call for whichever step produced the plot (seemodel-training/evaluation), soreportingcan find and reference it later without re-deriving what plots exist for a session.
References
None yet — this skill is self-contained at its current scope.