# Send Tempest Weather to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "tempest-weather-wf",
    "name": "Tempest Weather",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/mogglemoss/tempest-weather-wf",
    "canonicalUrl": "https://clawhub.ai/mogglemoss/tempest-weather-wf",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/tempest-weather-wf",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=tempest-weather-wf",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "references/obs_fields.md",
      "scripts/fetch_tempest.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/tempest-weather-wf"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/tempest-weather-wf",
    "downloadUrl": "https://openagent3.xyz/downloads/tempest-weather-wf",
    "agentUrl": "https://openagent3.xyz/skills/tempest-weather-wf/agent",
    "manifestUrl": "https://openagent3.xyz/skills/tempest-weather-wf/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/tempest-weather-wf/agent.md"
  }
}
```
## Documentation

### Tempest Weather Skill

Fetches on-demand weather data from a WeatherFlow Tempest station via the REST API and returns clean, structured JSON.

### Configuration

Credentials are read from environment variables — never hardcoded:

Env VarDescriptionTEMPEST_TOKENPersonal Access Token from tempestwx.com → Settings → Data AuthorizationsTEMPEST_STATION_IDNumeric station ID (find it by calling the /stations endpoint with your token)

If either env var is missing, inform the user and show them how to set them:

export TEMPEST_TOKEN="your_token_here"
export TEMPEST_STATION_ID="your_station_id_here"

### Primary Endpoint

GET https://swd.weatherflow.com/swd/rest/observations/station/{STATION_ID}?token={TEMPEST_TOKEN}

This returns the latest observation for the station, including all sensor data.

Fallback (by device): GET https://swd.weatherflow.com/swd/rest/observations/?device_id={DEVICE_ID}&token={TEMPEST_TOKEN}

To list available stations/devices: GET https://swd.weatherflow.com/swd/rest/stations?token={TEMPEST_TOKEN}

### Workflow

Check for credentials — If the user hasn't provided a token and station ID, ask for them.
Fetch the observation — Use bash (curl) or Python to call the REST endpoint.
Parse the response — Extract the relevant fields from obs (see field reference below).
Return structured JSON — Output a clean, normalized JSON object (see Output Schema).
Handle errors gracefully — 401 = bad token, 404 = station not found, empty obs = no data yet.

### Fetching with curl

curl -s "https://swd.weatherflow.com/swd/rest/observations/station/${STATION_ID}?token=${TEMPEST_TOKEN}"

### Fetching with Python

import requests, json

url = f"https://swd.weatherflow.com/swd/rest/observations/station/{STATION_ID}"
resp = requests.get(url, params={"token": TEMPEST_TOKEN})
resp.raise_for_status()
data = resp.json()

### Output Schema

Always return data in this normalized JSON structure:

{
  "station_id": 12345,
  "station_name": "My Backyard",
  "timestamp": "2024-01-15T14:32:00Z",
  "timestamp_epoch": 1705329120,
  "conditions": {
    "temperature_c": 18.5,
    "temperature_f": 65.3,
    "humidity_pct": 62,
    "pressure_mb": 1013.4,
    "pressure_trend": "steady"
  },
  "wind": {
    "speed_avg_ms": 3.2,
    "speed_avg_mph": 7.2,
    "speed_lull_ms": 1.1,
    "speed_gust_ms": 5.8,
    "speed_gust_mph": 13.0,
    "direction_deg": 247,
    "direction_cardinal": "WSW"
  },
  "precipitation": {
    "rain_accumulated_mm": 0.0,
    "rain_daily_mm": 2.4,
    "precip_type": "none",
    "precip_analysis": "rain_check_on"
  },
  "lightning": {
    "strike_count": 0,
    "avg_distance_km": null
  },
  "solar": {
    "uv_index": 3,
    "solar_radiation_wm2": 412,
    "illuminance_lux": 28500
  },
  "battery_volts": 2.42,
  "data_source": "tempest_rest_api"
}

### Field Reference

See references/obs_fields.md for the complete field mapping from Tempest API array indices to human-readable names, units, and conversion formulas.

### Conversion Helpers

°C → °F: (C * 9/5) + 32
m/s → mph: ms * 2.237
Degrees → Cardinal: Read the lookup table in references/obs_fields.md
Precip type codes: 0 = none, 1 = rain, 2 = hail
Precip analysis codes: 0 = none, 1 = rain_check_on, 2 = rain_check_off

### Error Handling

HTTP StatusMeaningAction200SuccessParse and return data401Invalid tokenAsk user to re-check their token403ForbiddenToken doesn't have access to that station404Station not foundAsk user to confirm their station ID200 + empty obsNo dataStation may be offline; inform user

If obs is an empty array or null, report: "Station found but no recent observations available — the device may be offline."

### Example User Interactions

"What's the weather at my Tempest station?"
→ Fetch latest obs, return full JSON output.

"Is it raining?"
→ Fetch obs, check precipitation.precip_type and precipitation.rain_accumulated_mm, return focused JSON.

"Any lightning nearby?"
→ Fetch obs, check lightning.strike_count and lightning.avg_distance_km, return lightning sub-object.

"How windy is it?"
→ Return wind sub-object including gust, lull, avg, direction.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: mogglemoss
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/tempest-weather-wf)
- [Send to Agent page](https://openagent3.xyz/skills/tempest-weather-wf/agent)
- [JSON manifest](https://openagent3.xyz/skills/tempest-weather-wf/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/tempest-weather-wf/agent.md)
- [Download page](https://openagent3.xyz/downloads/tempest-weather-wf)