rockhound
Skill67 starsChanged 10 months agoMITView on GitHub
Maintain or migrate legacy RockHound geoscience dataset downloads, caches and loaders such as PREM. Use when an existing project imports RockHound; prefer maintained Ensaio fetchers for supported new dataset workflows.
In this repository41 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- bouleSkill
- brugesSkill
- devitoSkill
- disbaSkill
- discretizeSkill
- dlisioSkill
- ensaioSkill
- flopySkill
- gemgisSkill
- gempySkill
- geolimeSkill
- geostatspySkill
- gnnwrSkill
- gprpySkill
- harmonicaSkill
- landlabSkill
- lasioSkill
- loopstructuralSkill
- mplstereonetSkill
- mtpySkill
- obspySkill
- pastasSkill
- petropySkill
- poochSkill
- pygimliSkill
- pygmtSkill
- pyleoclimSkill
- pylopsSkill
- pyroliteSkill
- pyvistaSkill
- scikit-gstatSkill
- segyioSkill
- segysakSkill
- simpegSkill
- striplogSkill
- using-geoscience-skillsSkill
- verdeSkill
- wellySkill
- xarraySkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 62
Verify representative values and downstream results before replacing imports.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
RockHound maintenance and migration
RockHound's repository was archived in 2022 and recommends Ensaio. Preserve a working legacy environment while assessing supported replacements; there is no universal one-to-one mapping of fetcher names or return objects.
Inspect an existing workflow
Identify the exact fetcher, data version, source URL/hash, cache location, parser
and scientific conventions. Set ROCKHOUND_DATA_DIR before importing RockHound
if a separate cache is needed. Never delete a user's cache to test a migration.
Legacy PREM load
This fragment uses the upstream registry and may download from EarthScope/IRIS. It loads the 1 s PREM radial Earth model, not a local field observation. The registry URL returned HTTP 404 during the 2026-09-14 check. This example currently needs an existing hash-verified cache or a separately verified source; it is not a successful fresh-download recipe. The test suite exercises the real loader with a clearly synthetic cache fixture, without claiming PREM validation.
# example: legacy-prem
import rockhound
prem = rockhound.fetch_prem()
radius_km = prem["radius"].to_numpy()
depth_km = prem["depth"].to_numpy()
density_g_cm3 = prem["density"].to_numpy()
vpv_km_s = prem["Vpv"].to_numpy()
vsv_km_s = prem["Vsv"].to_numpy()The table contains discontinuities and distinct vertical/horizontal velocities. Preserve repeated boundary radii and choose a side explicitly for interpolation. Zero shear velocity in a fluid region is meaningful, not a missing value. Do not send the full radial model directly to a plane-layer surface-wave solver.
Migration steps
- Find a maintained dataset release, its redistribution license and immutable identifier. If Ensaio has no matching dataset, use a documented Pooch registry and the original provider instead of substituting unrelated sample data.
- Compare downloaded hashes or document changed releases; inspect units, grid registration, coordinates, missingness and source preprocessing.
- Adapt the return contract: an Ensaio path still needs a CSV/NetCDF reader, while RockHound may return a DataFrame or xarray object.
- Verify representative values and downstream results before replacing imports. Diagnose failed old URLs; do not bypass TLS or checksum checks.
See the archived project notice, PREM loader contract and Ensaio catalog.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

