/clio-analysis-skills:results-summaryfrom clio-analysis-skills
Calculates tabular summaries and plots transformed CSV/Excel data using pandas and plotting tools. Handles file-based handoff between data transformation and visualization.
Ships in clio-analysis-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.
Two servers, and the handoff between them is where this goes wrong.
Every clio-plot tool takes a path to a CSV or Excel file. There is no way to
hand it the result of a pandas operation in memory.
Use the transform's returned output_file when it exists. Otherwise save the
returned records to an absolute CSV path, then plot that file. Never point the
plot at the original input after a transformation.
Almost every tool on both servers takes file_path. Two do not, and they are
the two you reach for early:
| Tool | Argument |
|---|---|
clio-pandas:profile_csv | data_path |
clio-plot:plot_timeseries | data_path |
Fifteen pandas tools and six plot tools use file_path, so the pattern learned
from the rest is wrong for exactly these. Passing file_path to either returns
a validation error naming a missing required argument, which reads like the file
is missing rather than the key being wrong.
1. Look before loading.
clio-pandas:profile_csv gives row and column counts, per-column dtype, null
counts and numeric ranges from a bounded retained sample (default 5,000 rows;
scan cap 250,000). It reads CSV rows and is not a full-data profile. State
these limits; later file-based operations read their inputs independently.
clio-plot:data_info answers a similar question and is the cheaper choice when
plotting is all that is wanted.
2. Load only what you need.
clio-pandas:load_data takes column selection and a row limit. Use both. Reading
40 columns to plot 2 is the same waste as reading a whole array for one number.
3. Profile properly.
clio-pandas:profile_data — shape, types, missing values, distributions, quality
checks. This is where you find out the column is 30% null before the mean is
computed from it. If it needs fixing, see data-clean.
4. Aggregate before plotting.
clio-pandas:groupby_operations for grouped aggregates,
clio-pandas:statistical_summary for descriptives,
clio-pandas:correlation_analysis for relationships between columns,
clio-pandas:pivot_table to reshape into the layout the chart wants.
A million-point scatter is unreadable and slow. Aggregate to the resolution the figure can actually show.
5. Hand off the transformed file or records explicitly.
groupby_operations returns an output_file and a results array. Pass the
returned output_file to the plotting tool. Set output_file when grouping to
choose a destination. Existing output is refused unless overwrite=true; obtain
permission before replacing results. For records already returned, call save_data(data={"data": result["results"]}, file_path="/absolute/path/means.csv", index=False). Do not pass the entire
response envelope: metadata and nested results are not a dataframe.
For a numeric matrix from another server, map each column to its supplied name
before calling save_data, for example data={"time_s": [0, 1], "signal_mV": [2, 4]}.
Do not pass a {"columns": [...], "data": [[...]]} envelope: this tool uses
data alone in that form and loses the column names. Read back the saved schema
before calling statistics or plotting tools.
Verify the saved column names and at least one independently calculated aggregate before plotting. A successful image render alone proves no numerical correctness.
6. Plot from that file.
| Question | Tool |
|---|---|
| How does y change with x | clio-plot:line_plot |
| Several series over time | clio-plot:plot_timeseries |
| Compare across categories | clio-plot:bar_plot |
| Are these two related | clio-plot:scatter_plot |
| How is one variable distributed | clio-plot:histogram_plot |
| Which of many columns move together | clio-plot:heatmap_plot |
Match the chart to the question, not to preference — see
chart-select.
Use units supplied by the input metadata or the user in axis labels and
reported aggregates. A column named runtime does not establish seconds.
When units are absent, label them as unspecified; do not invent or convert them.
Separate a computed statistic, an observed pattern, a fitted model and a physical explanation. Skewness describes asymmetry; coefficient of variation describes relative spread. Neither establishes a growth law, temporal trend or cause: rearranging the same values in time preserves both statistics. The converse does not follow: matching summaries do not establish identical values or distributions. Check the actual data before calling two series permutations of each other.
For a growth claim, inspect the ordered time/value pairs and interval spacing. If values double at each equal interval, report that observation over the measured interval. A fitted exponential model needs its fit and residuals checked; extrapolation or a physical mechanism needs additional evidence. If only summary statistics are available, leave the growth model undetermined.
Keep counts and dimensionless statistics separate from quantities with units. Mean, median and standard deviation retain the input units; variance has squared units; skewness and coefficient of variation are dimensionless. Use a separate unit column in a mixed-statistic table; a shared measurement-unit heading would incorrectly assign units to its count and dimensionless rows.
Mesh and volume data does not belong here. clio-plot reads CSV and Excel; a
simulation field goes to ParaView, which opens it in a live view, instead — see
simulation-visualize.
file_path on profile_csv or plot_timeseries; both take
data_path.Names such as clio-hdf5:open_file identify a server and its tool in this
guide. Your agent may expose a different prefix. Match the server and tool
against its live MCP inventory, then use the advertised name and input schema.
If a required server is unavailable, report it before attempting the workflow.
Report the transformed data path, grouping and missing-value rules, one checked aggregate, and the figure path. Confirm the saved image exists and uses the transformed columns. A row-limited preview is not a full-data statistic.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub iowarp/clio-kit --plugin clio-analysis-skills4 skills in this plugin
/chart-selectUse when choosing a chart, axes, bins or color scale for scientific data. Triggers on "which chart", "log scale", "color map". Calls no tools. Not for rendering a chart; use results-summary./data-cleanUse when profiling missing values, duplicates, outliers and validation rules before analysis. Triggers on "clean this data", "missing values", "validate this CSV". Not for plotting; use results-summary./simulation-visualizeUse when inspecting and rendering simulation fields with ParaView. Triggers on "isosurface", "slice this volume", "render the field". Not for tabular charts; use results-summary.Other plugins' skills for the same job