synthetic-sciences/openscience is an AI workbench that carries out scientific research by reading papers, forming hypotheses, writing and running code, conducting experiments, analyzing results, and preparing reports. Researchers use it for work in machine learning, biology, physics, and chemistry with remote or local models. Catalogue add-ons extend its scientific workflows through skills and instructions.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add synthetic-sciences/openscience --skill hdf5-pde-data-loadinggit clone --depth 1 https://github.com/synthetic-sciences/openscienceWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/synthetic-sciences/openscience/hdf5-pde-data-loading)<a href="https://agentmods.dev/skills/synthetic-sciences/openscience/hdf5-pde-data-loading"><img src="https://agentmods.dev/badge/skills/synthetic-sciences/openscience/hdf5-pde-data-loading/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/synthetic-sciences/openscience/hdf5-pde-data-loading"><img src="https://agentmods.dev/badge/skills/synthetic-sciences/openscience/hdf5-pde-data-loading.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00082 | $0.01795 |
| Opus 5.5 | $0.00033 | $0.00718 |
| Sonnet 5.5 | $0.00016 | $0.00359 |
| Haiku 4.5 | $0.00008 | $0.00179 |
Grade A, and why
hdf5-pde-data-loading scanned grade A with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
import urllib.request Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
subprocess.run([ How it starts
The opening of the file, as written. The whole thing — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.
HDF5 PDE Data Loading
When to Use
- Loading PDE simulation datasets stored in HDF5 format
- PDEBench, PhiFlow, JAX-CFD, or custom simulation outputs
- Multi-variable systems (density, velocity, pressure, etc.)
- Need to downsample spatial/temporal dimensions for memory
HDF5 Layout Detection
PDE datasets come in two common layouts:
Layout 1: Single "tensor" dataset
with h5py.File(path, "r") as f:
if "tensor" in f:
ds = f["tensor"] # shape: [N, T, X, C] or [N, T, X]
Layout 2: Separate variable datasets
with h5py.File(path, "r") as f:
# Keys like: "density", "Vx", "pressure", or "t", "x", "u"
rho = f["density"][:] # [N, T, X]
vel = f["Vx"][:]
prs = f["pressure"][:]
data = np.stack([rho, vel, prs], axis=-1) # [N, T, X, 3]
Robust loading (handles both):
def load_pde_hdf5(path, res_x=1, res_t=1):
"""Load PDE data from HDF5, handling multiple layouts."""
with h5py.File(path, "r") as f:
print(f"Keys: {list(f.keys())}")
if "tensor" in f:
ds = f["tensor"]
raw_shape = ds.shape
if len(raw_shape) == 4:
N, T, X, C = raw_shape
else:
N, T, X = raw_shape; C = 1
X_ds = X // res_x
T_ds = T // res_t if res_t > 1 else T
data = np.empty((N, X_ds, T_ds, C if len(raw_shape)==4 else 1), dtype=np.float32)
for s in range(0, N, 500): # Chunk to avoid OOM
e = min(s + 500, N)
chunk = ds[s:e, ::res_t, ::res_x]
if len(chunk.shape) == 3:
data[s:e, :, :, 0] = np.transpose(chunk, (0, 2, 1))
else:
data[s:e] = np.transpose(chunk, (0, 2, 1, 3))
else:
# Separate variables — find and stack them
var_keys = []
for k in sorted(f.keys()):
if isinstance(f[k], h5py.Dataset) and len(f[k].shape) >= 3:
var_keys.append(k)
arrays = [f[k][:, ::res_t, ::res_x] for k in var_keys]
raw = np.stack(arrays, axis=-1) # [N, T, X, C]
data = np.transpose(raw, (0, 2, 1, 3)).astype(np.float32)
# Load grid coordinates
for grid_key in ["x-coordinate", "x", "X"]:
if grid_key in f:
grid = np.array(f[grid_key], dtype=np.float32)[::res_x]
break
else:
grid = np.linspace(0, 1, data.shape[1], dtype=np.float32)
return data, grid # data: [N, X, T, C], grid: [X]
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 174 lines · 82 tokens per session scan A c213261d3c43
hdf5-pde-data-loading is a skill published in the GitHub repository synthetic-sciences/openscience (4,469 stars, last pushed yesterday), licensed Apache-2.0. It adds 82 tokens to every session and 1,795 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
hdf5-pde-data-loading compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| hdf5-pde-data-loadingsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 82 | Claude Code, Codex |
| tool-prompt-optimizationcan1357/oh-my-pi | Skill | 40k | today | MIT | A | 0 | Claude Code, Codex |
| x-cpux-cmd/x-cmd | Skill | 4.8k | 10d ago | Apache-2.0 | A | 61 | Claude Code, Codex |
| promptx-cmd/x-cmd | Skill | 4.8k | 10d ago | Apache-2.0 | A | 22 | Claude Code, Codex |
| admet_geneticPKU-YuanGroup/OpenAI4S | Skill | 680 | 2d ago | MIT | A | 63 | Claude Code, Codex |
| Gene Panel Selection Workflowaristoteleo/PantheonOS | Skill | 499 | today | BSD-2-Clause | A | 110 | Claude Code, Codex |
| Upstream Processing Skills Indexaristoteleo/PantheonOS | Skill | 499 | today | BSD-2-Clause | A | 40 | Claude Code, Codex |