Creates FAIR reproducibility bundles for materials simulations by collecting file inventories, hashes, units, engine versions, and provenance metadata. Use before publishing or archiving simulation results.
Ships in full. 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; scripts run unread.
Build a minimal reproducibility manifest for materials simulation results so another person or agent can understand what was run, with which inputs, and how outputs should be interpreted.
| Input | Description | Example |
|---|---|---|
| Project name | Human-readable bundle name | al-cu-diffusion-study |
| Engine | Simulation code | LAMMPS, VASP, MOOSE |
| Input files | Files needed to rerun | in.lammps,data.lmp |
| Output files | Files needed to verify results | log.lammps,traj.dump |
| Structure ID | Database or local identifier | mp-149 |
| Units | Field/unit mapping | energy=eV,length=angstrom |
scripts/fair_packager.py --json prints an envelope with two top-level keys:
inputs: the parsed CLI arguments echoed back (note: inputs.inputs is the raw
comma-separated string passed via --inputs, not the per-file records).results: contains a single key manifest.results.manifest contains these fields:
project_name, engine, engine_version, structure_id, unitsfile_inventory with inputs and outputs, each a list of per-file records
(path, exists, and when the file exists, size_bytes and sha256)missing_files: paths that do not exist on diskprovenance (working_directory, manifest_schema)fair_checks: has_inputs, has_outputs, has_units, has_engine_version, and
has_hashes_for_existing_files (true/false, or null when no files exist so the
check is not applicable)recommended_next_stepsParse fields at results.manifest.<field>. When --out PATH is given, only the bare
manifest object (not the inputs/results envelope) is written to PATH.
python3 skills/data-management/fair-simulation-packager/scripts/fair_packager.py \
--project-name al-cu-diffusion \
--engine LAMMPS \
--inputs in.lammps,data.lmp \
--outputs log.lammps,traj.dump \
--units energy=eV,length=angstrom,time=ps \
--structure-id local:alcu-cell-001 \
--json
Use --out manifest.json only when the user wants a manifest file written.
Missing files are reported in missing_files (exit code 0). Invalid input stops with
exit code 2: malformed unit entries, fields containing control characters, fields longer
than 4096 characters, more than 1000 input or output entries, or a file larger than
500 MB. Note that ordinary file paths — including absolute paths and paths containing
.. — are accepted and inventoried; the tool reads file contents only to compute
metadata and SHA-256 hashes.
This skill creates a metadata manifest. It does not upload to NOMAD, Materials Project, or an OPTIMADE provider.
fair_checks.has_hashes_for_existing_files is true (not null or false); a null means no listed file existed on disk, so re-run from the directory where the files actually live before trusting the manifest.missing_files and confirmed it is empty, or recorded an explicit reason for each entry — every missing path means an input/output was named but not hashed, so the bundle is not reproducible as-is.sha256 in results.manifest.file_inventory against an independent sha256sum/Get-FileHash of the same file to confirm the recorded digest matches the bytes on disk.engine_version is a real version string and not the default "unknown"; pass --engine-version so the bundle records the exact code build.units is non-empty and every reported quantity (energy, length, time, etc.) has an entry, so downstream consumers do not have to guess the unit system.structure_id is populated when a Materials Project / NOMAD / OPTIMADE / CIF / POSCAR structure was used, so the structure identity is recoverable.--out PATH was used, opened PATH and confirmed it holds the bare manifest object (not the inputs/results envelope) and that no unintended path outside the working directory was written.| Tempting shortcut | Why it's wrong / what to do |
|---|---|
| "It exited 0, so the bundle is complete." | Exit 0 only means no validation error; missing files are reported in missing_files with exit 0. Inspect missing_files and fair_checks before trusting completeness. |
"has_hashes_for_existing_files is null, close enough to true." | null means no listed file existed on disk — nothing was hashed. Re-run from the correct directory so the files are found and actually digested. |
"Skip --engine-version, the engine name is enough." | The script defaults engine_version to "unknown", which silently breaks reproducibility. Always pass the concrete build/version. |
"Parsing inputs.inputs from the JSON gives me the per-file records." | inputs.inputs is the raw comma-separated CLI string echoed back, not the records. Read per-file data from results.manifest.file_inventory.inputs/outputs. |
| "The manifest captures the structure, so the run is fully reproducible." | This skill only inventories files, hashes, units, and IDs. It does not record code commit, container digest, or parser versions — follow recommended_next_steps and add those yourself. |
"Absolute paths or .. will be rejected, so the inventory is sandboxed." | Paths are not sandboxed — absolute and .. paths are inventoried as given, and --out can write outside the working directory. Verify the paths you pass are the intended ones. |
--project-name and --engine are required and must be non-empty after stripping
whitespace; an empty value stops with exit code 2.--project-name, --engine, --structure-id (when given), and every file path are
checked for control characters (ord < 32) and a 4096-character maximum length; either
condition stops with exit code 2.--inputs and --outputs are split on commas and capped at 1000 entries each; more
entries stop with exit code 2.--units entries must be key=value; both the key and the value must match the
allowlist ^[A-Za-z0-9_.:/@+-]+$. A missing = or a non-matching key/value stops with
exit code 2.size_bytes and SHA-256 hash; files that do not exist are recorded but not read.--out PATH is given, in which case it writes exactly
one file (the bare manifest JSON) to that path; otherwise all output goes to stdout... are accepted for both
the inventoried files and --out. If --out points outside the working directory, the
file is written there as requested.Bash is used to run the bundled scripts/fair_packager.py.Read, Write, Grep, and Glob are declared so the skill can inspect the working
directory and read or write manifest/metadata files when guiding the user; they are not
invoked by the script itself, which performs all of its own file I/O directly.eval, exec, os.system, or subprocess calls; the script does not shell out and
parses arguments with argparse.json.dumps (or a short plain-text summary without
--json).references/fair_manifest.md for recommended manifest fields.--json
output (per-file sha256/size_bytes, units, structure_id, engine_version,
missing_files, and the tri-state has_hashes_for_existing_files) against
committed evals/files/ fixtures.--json envelope shape; made
has_hashes_for_existing_files tri-state (null when no files exist); added entry-count
(1000) and field-length (4096) caps; corrected the Error Handling and Security wording
to describe actual path behavior.CHANGELOG.md (opens in a new tab)evals/evals.json (opens in a new tab)evals/files/OUTCAR (opens in a new tab)evals/files/POSCAR (opens in a new tab)evals/files/data.lmp (opens in a new tab)evals/files/in.lammps (opens in a new tab)evals/files/log.lammps (opens in a new tab)references/fair_manifest.md (opens in a new tab)scripts/fair_packager.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/full:fair-simulation-packagerfrom full
npx claudepluginhub heshamfs/materials-simulation-skills --plugin full23 skills in this plugin
/benchmark-and-mms-plannerPlan verification and validation campaigns for simulation codes using manufactured solutions, canonical benchmark problems, grid/time refinement, uncertainty propagation, and pass/fail acceptance criteria. Use when an agent needs to prove a solver, model, or result is trustworthy rather than only plausible.
/convergence-studyPerform spatial and temporal convergence analysis for solution verification — compute observed convergence orders from grid or timestep refinement studies, apply Richardson extrapolation to estimate discretization error, and calculate the Grid Convergence Index (GCI) per ASME V&V 20 standards. Use when verifying that a numerical solution converges at the expected rate, estimating the error on the finest mesh, checking whether grids are in the asymptotic range, or preparing formal verification reports, even if the user only asks "is my mesh fine enough" or "how accurate is my solution."
/differentiation-schemesSelect and apply numerical differentiation schemes for PDE and ODE discretization — generate finite-difference stencils at arbitrary order and accuracy, choose between central, upwind, compact (Pade), and spectral methods, handle boundary stencils, and estimate truncation error scaling. Use when discretizing spatial derivatives, picking a scheme for advection- or diffusion-dominated problems, building custom stencils for nonstandard operators, or comparing dispersion and dissipation properties of candidate schemes, even if the user just says "how do I approximate this derivative" or "my solution is too diffusive."
/hpc-runtime-doctorDiagnose HPC runtime and scheduler problems for materials simulations, including MPI/OpenMP/GPU layout, modules, CUDA/Kokkos hints, scratch paths, walltime, job arrays, restart strategy, scheduler portability, and resource mismatch. Use when an ALREADY-SUBMITTED job failed, ran slowly, got killed, or behaved differently on a cluster than on a workstation. To author or vet a NEW submission script before running, use slurm-job-script-generator instead.
/linear-solversSelect and configure linear solvers for Ax=b systems arising in numerical simulations — choose between direct (LU, Cholesky) and iterative (CG, GMRES, BiCGSTAB, MINRES) methods, analyze sparsity patterns and matrix conditioning, recommend preconditioners (AMG, ILU, IC), apply row/column scaling, and diagnose convergence stagnation from residual histories. Use when setting up a linear solve for FEM/FVM assembly, debugging slow or stalled Krylov iterations, choosing a preconditioner for SPD or nonsymmetric systems, or investigating ill-conditioning, even if the user only says "my solver is slow" or "GMRES won't converge."
/md-analysis-plannerPlan molecular dynamics post-processing for materials simulations, including RDF, MSD and diffusion, VACF/VDOS, coordination numbers, bond-angle distributions, stress-strain curves, equilibration detection, PBC unwrapping, and trajectory format choices. Use before writing MD analysis scripts or trusting trajectory-derived results.
Other plugins' skills for the same job