/clio-scientific-io-skills:dataset-explorefrom clio-scientific-io-skills
Inspects structure, shapes, types, and units in HDF5, BP5, Parquet, and compressed files. Guides format-specific reading and warns about stateful HDF5 server traps.
Ships in clio-scientific-io-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.
Every format here separates structure from data. Read the structure first. It is small, and it tells you whether the data is something you can afford to read at all.
A .gz file is not readable by any of the format tools. Run
clio-compression:decompress_file_tool and work with what it produces. Check available disk space and any trusted uncompressed-size metadata first.
A gzip footer is not a reliable size bound for large or concatenated archives;
this decompressor has no output-size limit. Do not expand an untrusted or
unbounded archive merely to inspect its contents.
| File | Server | Opening move |
|---|---|---|
.h5, .hdf5 | clio-hdf5 | open_file, then list_keys |
.bp, .bp5 | clio-adios | list_bp5, then inspect_variables |
.parquet | clio-parquet | summarize_tool |
The HDF5 server is stateful. clio-hdf5:open_file opens the current file, and
every tool after it operates on that file without taking a path.
clio-hdf5:get_filename says which file is actually open. When results look
wrong, check this before anything else.hdf5_batch_read and hdf5_aggregate_stats also require the current file;
their paths refer to datasets inside it. hdf5_parallel_scan instead accepts
a directory and filename pattern for a multi-file structure scan.
Nothing on this server takes file_path. Getting one wrong is worse than a
plain failure: open_file fails, then every later call answers "No file
currently open", which reads as an empty file rather than a failed open.
| Call | Argument |
|---|---|
open_file | path (the FILE) |
list_keys, get_shape, get_dtype, list_attributes | path (a path INSIDE the file) |
read_attribute | path and name |
read_partial_dataset | path, plus start and count as comma-separated strings, not lists |
hdf5_batch_read, hdf5_aggregate_stats | paths, a comma-separated string |
Note path means the file in open_file and a dataset inside it everywhere
else.
Match the number of indices to the dataset's dimensions. For a one-dimensional
array, use start="0", count="3"; for a two-dimensional slice, use
start="0,0", count="3,1". Even a single index is a string, not an integer.
After a validation error, correct the arguments against the live schema; do not
repeat the same invalid call or bypass an explicit user requirement to use MCP.
read_partial_dataset returns the selected shape, dtype and up to 1,000 values.
Larger slices return the first 1,000 values in row-major order with an omitted
count. Check the returned shape and truncation notice before claiming complete
coverage of a slice. Claim full-dataset coverage only if the slice spans every element.
Keep the requested slice small: the server reads it all before truncating its reply.
clio-hdf5:open_fileclio-hdf5:list_keys at the root — groups and datasets at this levelclio-hdf5:visit for the whole tree, when the file is small enough to warrant itget_shape, get_dtype, get_size — before reading anythingclio-hdf5:list_attributes then read_attribute — units, provenance, and
grid metadata live here, and they are what make the numbers mean somethingclio-hdf5:close_fileclio-hdf5:analyze_dataset_structure summarises organisation in one call and is
a good opening move on a file with hundreds of datasets.
BP5 data has steps — it is usually a time series.
clio-adios:list_bp5 on the directory. The path must be absolute; a
relative path is an error, not an empty result.clio-adios:inspect_variables — type, shape, and how many steps existclio-adios:inspect_attributes — global, or for one variableclio-adios:inspect_variables_at_step for one variable at one stepclio-adios:read_variable_at_step to actually readThere is no open/close: every call takes the file. Reading "the variable" without a step reads nothing — the step is part of the address.
clio-parquet:summarize_tool — schema, row count, file sizeclio-parquet:get_column_preview_tool — a few values from one columnclio-parquet:read_slice_tool — a row range, projecting only the columns you
need. Projection is the point of the format; reading all columns throws it away.Once you have the shape and dtype, work out the bytes. Anything large means the
next step is not a read — see large-data-read.
clio-adios:list_bp5.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 file identity, format, dataset paths/shapes/dtypes, units and attributes, and any bounded sample taken. Confirm the open HDF5 filename, check errors before subsequent calls, and close the file when finished.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
3 skills in this plugin
/large-data-readUse when choosing bounded reads and distinguishing sampled summaries from exact large-data statistics. Triggers on "file is huge", "compute this mean", "out of memory". Not for initial format discovery; use dataset-explore./storage-formatUse when selecting scientific file formats, chunk layouts or compression for an access pattern. Triggers on "HDF5 versus Parquet", "chunk size", "should I compress". Calls no tools. Not for interpreting profiler counters; use io-performance.npx claudepluginhub iowarp/clio-kit --plugin clio-scientific-io-skillsOther plugins' skills for the same job