agentleFS
tiangong-aitiangong-ai/agent-skills/open-meteo-historical-fetch/SKILL.md

open-meteo-historical-fetch

Skill11 starsChanged 3 months agoMITView on GitHub

Retrieve bounded Open-Meteo historical weather reanalysis through the Tiangong CLI for up to ten known coordinates, one controlled model, and explicit hourly or daily variables. Use for gap-filled historical temperature, precipitation, humidity, wind, radiation, or shallow-soil context; do not use for station observations, forecasts, climate projections or attribution, geocoding, commercial public-endpoint use, or unreviewed cross-model trend conclusions.

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 3 are distinctive, and 7 are 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.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use the CLI-owned open-meteo.historical-weather capability.

    line 8
  2. Distinctive:

    Use the caller- or workspace-resolved stable CLI.

    line 16
  3. Very specific:

    Run data describe with that same CLI.

    line 19
  4. Very specific:

    Run the default static doctor.

    line 23
  5. Very specific:

    Use the returned Discovery Metadata to confirm current model coverage, resolution, update delay, variable availability, public-endpoint …

    line 31
  6. Very specific:

    Use the operation input schema returned by the same data describe response for current variable codes, model meanings, and limits.

    line 76
  7. Distinctive:

    Treat values as gap-filled reanalysis or model-grid estimates, not raw observations from a named station.

    line 98
  8. Very specific:

    Treat partial as incomplete coordinate, section, timestamp, variable, or unit coverage and report the affected paths with the usable series.

    line 107
  9. Very specific:

    Treat blocked as no usable business result and surface the structured errors instead of bypassing limits or switching endpoints.

    line 113
  10. Distinctive:

    Do not use this capability for forecasts, future climate scenarios, causal attribution, significance testing, or safety-critical weather …

    line 121

≈ “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.

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

Open-Meteo Historical Weather

Use the CLI-owned open-meteo.historical-weather capability. This Skill supplies intent routing and result-use boundaries only; the CLI owns source discovery, input/output schemas, HTTP behavior, limits, validation, and receipts.

Before running

  1. Read references/tiangong-data-requirement.json.
  2. Use the caller- or workspace-resolved stable CLI. The requirement declares compatible capability and operation contract majors; it does not select a package build.
  3. Run data describe with that same CLI. Continue only when the capability ID, required contract majors, and the open-meteo.series-all-null operation feature match; then copy the exact current capability/operation versions from that response into the run request.
  4. Run the default static doctor. Do not add --live unless the user explicitly asks for a provider probe.
tiangong-ai data describe open-meteo.historical-weather --json
tiangong-ai data doctor open-meteo.historical-weather --json

Use the returned Discovery Metadata to confirm current model coverage, resolution, update delay, variable availability, public-endpoint terms, attribution, provides, and doesNotProvide. Do not substitute facts remembered from an older Skill revision.

Prepare the request

Build a tiangong.data.run-request.v1 envelope and replace the two version placeholders with the exact versions from the same data describe response. Coordinates are WGS84 decimal degrees. Both variable arrays are required; use an empty array for an unneeded granularity. At least one array must be non-empty. The CLI fixes timezone and units, preserves coordinate order, and normalizes variable order:

{
  "schemaVersion": "tiangong.data.run-request.v1",
  "capabilityId": "open-meteo.historical-weather",
  "capabilityVersion": "<describe.manifest.capabilityVersion>",
  "operationId": "fetch",
  "operationVersion": "<describe.manifest.operations[0].operationVersion>",
  "input": {
    "locations": [
      { "latitude": 52.52, "longitude": 13.41 },
      { "latitude": 48.85, "longitude": 2.35 }
    ],
    "startDate": "2024-01-01",
    "endDate": "2024-01-07",
    "hourlyVariables": [
      "temperature_2m",
      "relative_humidity_2m",
      "precipitation",
      "soil_moisture_0_to_7cm"
    ],
    "dailyVariables": [
      "temperature_2m_max",
      "temperature_2m_min",
      "precipitation_sum",
      "et0_fao_evapotranspiration"
    ],
    "model": "era5",
    "cellSelection": "land"
  }
}

Use the operation input schema returned by the same data describe response for current variable codes, model meanings, and limits. Select era5 or era5_land for a multi-decade analysis where one consistent model family matters. The default best_match favors available local detail but can change model families over time. Do not add an API key: this capability uses the public non-commercial endpoint only. Commercial customer-endpoint access requires a separately reviewed capability. Do not silently geocode names, adjust coordinates, widen the date range, switch models, or add variables beyond the user's intent.

Run

tiangong-ai data run open-meteo.historical-weather fetch \
  --input /absolute/path/to/request.json --json

The command emits a tiangong.data.run-result.v1 envelope. Preserve its contract, warnings, errors, and receipt with data when handing the result to another workflow.

Result boundaries

  • Treat values as gap-filled reanalysis or model-grid estimates, not raw observations from a named station. Preserve requested and returned grid coordinates plus elevation.
  • Retain nulls as unavailable model values. Never convert them to zero or interpolate them without an explicit downstream method.
  • Distinguish series-missing from series-all-null: missing means the provider did not return a requested series, while all-null means it returned a structurally valid, aligned series with no usable numeric values. Preserve an all-null series and report the machine-readable issue code.
  • Treat partial as incomplete coordinate, section, timestamp, variable, or unit coverage and report the affected paths with the usable series.
  • In GMT mode, require exactly 24 strictly ascending hourly timestamps and one strictly ascending daily date per inclusive request date, with a zero provider UTC offset. Preserve count, ordering, timezone, unit, alignment, and non-numeric-value issues; a short axis is not complete coverage.
  • Treat blocked as no usable business result and surface the structured errors instead of bypassing limits or switching endpoints.
  • Report record-limit truncation. The CLI keeps every retained variable aligned to its returned time axis, but a truncated result is not exhaustive.
  • Preserve the selected model in analysis and citations. Do not combine models or interpret a Best Match discontinuity as a weather or climate trend.
  • Choose a station source when instrument provenance, local measurement quality, or regulatory-grade observations are required.
  • Do not use this capability for forecasts, future climate scenarios, causal attribution, significance testing, or safety-critical weather decisions.
  • The fixed public contract intentionally omits the source script's multi-model request, arbitrary timezone and units, optional API-key/customer access, endpoint overrides, and raw JSON/log artifacts. Expand those only through a separately reviewed CLI contract.
  • Attribute Open-Meteo and the underlying data providers. The public endpoint is non-commercial; do not imply commercial-use permission.
  • Cross-source comparison, statistical inference, and research evidence admission belong to the caller or Auto Research, not this atomic Skill.

Reference

  • references/tiangong-data-requirement.json: stable capability requirement; it is not a package lock.

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.