agentleFS
joevstaasjoevstaas/awesome-claude-skills/skills/odp-dataset-scout/SKILL.md

odp-dataset-scout

Skill6 starsChanged 5 months agoMITView on GitHub

Scout Ocean Data Platform (ODP) datasets for a study — find candidate datasets for a place, period, and set of themes (e.g. species observations, protected areas, fishing effort), verify their metadata, and return a compact comparison table with IDs, links, licences, coverage, fields, provenance, and limitations, plus a proposed common study area and period. Discovery and metadata only — never downloads in bulk, modifies, or ingests. Trigger when the user asks which ODP datasets exist for a region or topic, wants a data inventory or feasibility check before an analysis or map, or asks about provenance, lineage, or coverage of ODP datasets.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read-only. No bulk downloads, no writes, no ingest.

    line 10
  2. Distinctive:

    Every fact in the output is either *verified* (from STAC, catalog record, schema, or a server-side query) or explicitly labelled unknown / …

    line 11
  3. Very specific:

    Check the "Known Datasets" table in odp-stac-api first.

    line 28
  4. Distinctive:

    Prefer an authoritative polygon (e.g.

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

ODP Dataset Scout

A repeatable workflow for "find me datasets for X in region Y and period Z" on the Ocean Data Platform. It combines the public STAC API (odp-stac-api) with authenticated SDK lookups (odp-data-consume) and ends in a verified, clearly-labelled inventory.

Hard rules

  • Read-only. No bulk downloads, no writes, no ingest. Use server-side filters and aggregates for any data check.
  • Every fact in the output is either verified (from STAC, catalog record, schema, or a server-side query) or explicitly labelled unknown / assumption.
  • A dataset missing from STAC is not evidence that it's absent from ODP.

Workflow

1. Frame the request

Pin down the themes, the region (as a bbox, and a named polygon if one exists, e.g. an MPA), and the candidate period. Name each source the user expects (e.g. OBIS, ProtectedSeas, Global Fishing Watch).

2. STAC discovery (public, no auth)

STAC has no free-text search (q is silently ignored), so:

curl -s "https://api.hubocean.earth/api/stac/collections?limit=500" -o cols.json
# match titles/descriptions/keywords locally, then for each hit:
curl -s "https://api.hubocean.earth/api/stac/collections/<collection-id>/items?limit=100"
  • Check the "Known Datasets" table in odp-stac-api first. It may already have the IDs.
  • Also grep collection and item JSON for the source name (e.g. OBIS). Derived products often mention their parent dataset ("extracted from OBIS on ODP"), which proves the parent exists even if it isn't listed.
  • A bbox search returns every global-extent item. Judge regional relevance from each item's own bbox, not from the fact that it matched.

3. Catalog fallback for anything STAC doesn't list

STAC only lists public, published datasets. Public drafts and private datasets are left out (e.g. full OBIS, 0e3985de-…, is public and published but still isn't in STAC).

  1. With a key: GET /api/catalog/v2/datasets returns every dataset the key can see, public and private (~5,000 records in one response). Match name/description locally, as with STAC. Note visibility and publish_status for each hit.
  2. Without a key: try get_dataset_meta_by_name with the most likely exact title (exact matches only).
  3. Otherwise ask the user to find the dataset in https://app.hubocean.earth/catalog and paste its ID (the UUID in /catalog/dataset/<id>).

Authentication and key lookup follow odp-data-consume (see "What needs a key"). If there's no key, say which places you checked. You can still read schemas, stats and aggregates for public datasets with the anonymous client. Only catalog records, catalog listing and private datasets are blocked.

4. Verify each candidate (metadata only)

For each dataset ID:

  • Catalog record GET /api/catalog/v2/datasets/{id} (needs a key, even for public datasets): audit_fields.created_at/updated_at, tabular_metadata_version, publish_status/published_at, visibility, provider, licence.
  • Schema ds.table.schema() and ds.table.stats() (no key needed for public datasets): column names, types, field descriptions, row counts, min/max per column. Read the units from the descriptions; don't infer them from column names.
  • Area/period check via ds.table.aggregate(filter=<geometry within AOI AND time range>, aggr={...}): row count, min/max date. That confirms the dataset really covers the AOI and period. Use aggregate, never select of all rows.

5. Propose a common study area and period

  • Prefer an authoritative polygon (e.g. the MPA boundary from ProtectedSeas) plus a context bbox for activity just outside it.
  • Choose the period as the overlap that every dataset actually supports, confirmed in step 4. STAC dates are local midnight in UTC (2024-11-30T23:00:00Z ≈ 1 Dec UTC+1), so confirm edge months from the data.
  • Point out mismatched time semantics, e.g. a boundary snapshot dated after the analysis year, or slow publication of recent biodiversity records.

Output template

One compact table, one row per dataset:

Dataset · ID · linkProvider / original source / licenceGeographic + temporal coverageFields, units, resolutionAccess + limitations
  • Link format: https://app.hubocean.earth/catalog/dataset/<id>.
  • Mark the licence prominently when it's restrictive (e.g. CC-BY-NC).
  • A row for a dataset that exists but can't yet be verified is fine: put unknown in its cells.

Then short sections:

  1. Provenance & lineage. Available: source version, method, snapshot dates, parent dataset, catalog timestamps. Missing: no processing code or checksums, STAC assets empty, unclear interval semantics, etc.
  2. Proposed study area & period, with the reasoning, and labelled as an assumption where unverified.
  3. Interpretation guardrails (below), only those that apply.
  4. Next steps / blockers: what needs a key, an ID from the user, or a permission rule.

Interpretation guardrails

Data typeIsIs not
OBIS / GBIF occurrencesA record of a taxon at a place and time, with uneven sampling effortAnimal tracks, abundance, absence, or distribution without effort correction
Telemetry / animal trackingMovement paths of tagged individualsPopulation-level distribution
GFW apparent fishing effortA model's estimate of AIS behaviour per grid cell (hours)Confirmed fishing, catch, or illegal activity. It misses vessels without AIS or with AIS off, and under-covers small-scale fleets
Fishing effort inside an MPA polygonSpatial overlapA violation, until the regulations, zoning, dates, and vessel permits are checked
ProtectedSeas protection ratingsA standardised regulatory ratingEnforcement or compliance on the water

Related skills

  • odp-stac-api: STAC endpoints, known collection/item IDs, gotchas
  • odp-data-consume: SDK auth, schema, filtered queries, aggregation, catalog record fields
  • odp-data-exploration: quality check once a file is actually in hand

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.