Install
$ agentstack add skill-yuanruichen-metforge-metforge-data ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
MetForge Data
Obtain the smallest scientifically sufficient dataset, preserve the source product, and leave an auditable path from request to local files.
Workflow
- Define the data contract before downloading:
- scientific variable and accepted source variable names
- product, processing level, experiment/member, or reanalysis stream
- spatial domain, grid, vertical coordinate, time range, and frequency
- units, calendar, accumulation convention, and expected volume
- required credentials, license, and citation
- Inspect existing files and project conventions. Reuse valid local data instead of downloading duplicates.
- Select an authoritative source. Read [references/source-selection.md](references/source-selection.md) when the source or access route is uncertain. Verify current API syntax against official documentation; do not invent product identifiers.
- Plan a restartable request:
- subset at the server when scientifically safe
- batch large requests by year, month, variable, or level
- keep credentials outside scripts and version control
- keep raw files immutable
- Download one representative batch first. Do not launch the full request until the sample passes the checks below.
- Validate the sample, then scale out. Use lazy xarray/dask operations for large collections and reduce before materializing arrays.
- Record provenance. Follow [references/dataset-contract.md](references/dataset-contract.md) for the manifest and handoff fields.
Execution mode and processing record
Before downloading or preprocessing, inspect the current machine, available memory/storage, data volume, network/access constraints, whether sbatch/Slurm is available, whether the session is already inside a Slurm job, and existing project conventions.
- Run metadata inspection, one-file validation, and small downloads directly when they fit safely in the current session.
- Use the site's scheduler for expensive multi-file preprocessing or long transformations. Use a transfer/data node rather than a compute node when site policy or network access requires it.
- Do not guess Slurm account, partition, walltime, modules, or storage paths. Infer them from existing project scripts/configuration or request the missing value.
- For submitted work, capture the job script, job ID, resources, environment activation, stdout/stderr paths, and terminal status.
After every completed download, preprocessing call, or batch stage, append a record to the project's existing log/provenance location. If none exists, use output/logs/YYYYMMDD-HHMM-.md. Record source and inputs, software environment, direct/Slurm decision, commands or request payload, parameters, outputs, checksums when appropriate, validation, deviations, and status. Redact credentials, tokens, cookies, and signed URLs. If files cannot be written, return the same record explicitly in the response.
Validation gate
Check at least:
- requested variables and actual units
- dimension names, sizes, and coordinate ordering
- latitude direction and longitude convention
- time coverage, cadence, calendar, and duplicated/missing timestamps
- pressure-level ordering or hybrid-coordinate metadata
- fill values, missing-data fraction, and plausible numeric range
- accumulation versus instantaneous fields
- sample spatial plot or summary statistics when they can reveal a wrong product
Treat a successful HTTP response as transport success, not scientific validation.
File behavior
- Follow existing project paths. If none exist, use
data/raw/for source files,data/processed/for derived products, anddata/manifests/for request/provenance records. - Never overwrite source data in place.
- Prefer scripts or request manifests over one-off opaque commands for non-trivial acquisitions.
- Keep output chunks and compression compatible with the dominant access pattern.
- Do not silently regrid, interpolate, convert calendars, or change units. Record every such transformation.
Handoff
Return:
- files obtained or the exact executable request script
- source/product and stable documentation link
- contract fields and deviations
- sample validation results
- expected versus actual size
- any credentials, quota, or access blocker
- the next processing step only when requested
- processing record, including scheduler job IDs when used
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: yuanruichen
- Source: yuanruichen/MetForge
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.