{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/tempest-weather-wf",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=tempest-weather-wf",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "references/obs_fields.md",
      "scripts/fetch_tempest.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/tempest-weather-wf",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Tempest Weather Skill",
        "body": "Fetches on-demand weather data from a WeatherFlow Tempest station via the REST API and returns clean, structured JSON."
      },
      {
        "title": "Configuration",
        "body": "Credentials are read from environment variables — never hardcoded:\n\nEnv VarDescriptionTEMPEST_TOKENPersonal Access Token from tempestwx.com → Settings → Data AuthorizationsTEMPEST_STATION_IDNumeric station ID (find it by calling the /stations endpoint with your token)\n\nIf either env var is missing, inform the user and show them how to set them:\n\nexport TEMPEST_TOKEN=\"your_token_here\"\nexport TEMPEST_STATION_ID=\"your_station_id_here\""
      },
      {
        "title": "Primary Endpoint",
        "body": "GET https://swd.weatherflow.com/swd/rest/observations/station/{STATION_ID}?token={TEMPEST_TOKEN}\n\nThis returns the latest observation for the station, including all sensor data.\n\nFallback (by device): GET https://swd.weatherflow.com/swd/rest/observations/?device_id={DEVICE_ID}&token={TEMPEST_TOKEN}\n\nTo list available stations/devices: GET https://swd.weatherflow.com/swd/rest/stations?token={TEMPEST_TOKEN}"
      },
      {
        "title": "Workflow",
        "body": "Check for credentials — If the user hasn't provided a token and station ID, ask for them.\nFetch the observation — Use bash (curl) or Python to call the REST endpoint.\nParse the response — Extract the relevant fields from obs (see field reference below).\nReturn structured JSON — Output a clean, normalized JSON object (see Output Schema).\nHandle errors gracefully — 401 = bad token, 404 = station not found, empty obs = no data yet."
      },
      {
        "title": "Fetching with curl",
        "body": "curl -s \"https://swd.weatherflow.com/swd/rest/observations/station/${STATION_ID}?token=${TEMPEST_TOKEN}\""
      },
      {
        "title": "Fetching with Python",
        "body": "import requests, json\n\nurl = f\"https://swd.weatherflow.com/swd/rest/observations/station/{STATION_ID}\"\nresp = requests.get(url, params={\"token\": TEMPEST_TOKEN})\nresp.raise_for_status()\ndata = resp.json()"
      },
      {
        "title": "Output Schema",
        "body": "Always return data in this normalized JSON structure:\n\n{\n  \"station_id\": 12345,\n  \"station_name\": \"My Backyard\",\n  \"timestamp\": \"2024-01-15T14:32:00Z\",\n  \"timestamp_epoch\": 1705329120,\n  \"conditions\": {\n    \"temperature_c\": 18.5,\n    \"temperature_f\": 65.3,\n    \"humidity_pct\": 62,\n    \"pressure_mb\": 1013.4,\n    \"pressure_trend\": \"steady\"\n  },\n  \"wind\": {\n    \"speed_avg_ms\": 3.2,\n    \"speed_avg_mph\": 7.2,\n    \"speed_lull_ms\": 1.1,\n    \"speed_gust_ms\": 5.8,\n    \"speed_gust_mph\": 13.0,\n    \"direction_deg\": 247,\n    \"direction_cardinal\": \"WSW\"\n  },\n  \"precipitation\": {\n    \"rain_accumulated_mm\": 0.0,\n    \"rain_daily_mm\": 2.4,\n    \"precip_type\": \"none\",\n    \"precip_analysis\": \"rain_check_on\"\n  },\n  \"lightning\": {\n    \"strike_count\": 0,\n    \"avg_distance_km\": null\n  },\n  \"solar\": {\n    \"uv_index\": 3,\n    \"solar_radiation_wm2\": 412,\n    \"illuminance_lux\": 28500\n  },\n  \"battery_volts\": 2.42,\n  \"data_source\": \"tempest_rest_api\"\n}"
      },
      {
        "title": "Field Reference",
        "body": "See references/obs_fields.md for the complete field mapping from Tempest API array indices to human-readable names, units, and conversion formulas."
      },
      {
        "title": "Conversion Helpers",
        "body": "°C → °F: (C * 9/5) + 32\nm/s → mph: ms * 2.237\nDegrees → Cardinal: Read the lookup table in references/obs_fields.md\nPrecip type codes: 0 = none, 1 = rain, 2 = hail\nPrecip analysis codes: 0 = none, 1 = rain_check_on, 2 = rain_check_off"
      },
      {
        "title": "Error Handling",
        "body": "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\n\nIf obs is an empty array or null, report: \"Station found but no recent observations available — the device may be offline.\""
      },
      {
        "title": "Example User Interactions",
        "body": "\"What's the weather at my Tempest station?\"\n→ Fetch latest obs, return full JSON output.\n\n\"Is it raining?\"\n→ Fetch obs, check precipitation.precip_type and precipitation.rain_accumulated_mm, return focused JSON.\n\n\"Any lightning nearby?\"\n→ Fetch obs, check lightning.strike_count and lightning.avg_distance_km, return lightning sub-object.\n\n\"How windy is it?\"\n→ Return wind sub-object including gust, lull, avg, direction."
      }
    ],
    "body": "Tempest Weather Skill\n\nFetches on-demand weather data from a WeatherFlow Tempest station via the REST API and returns clean, structured JSON.\n\nConfiguration\n\nCredentials are read from environment variables — never hardcoded:\n\nEnv Var\tDescription\nTEMPEST_TOKEN\tPersonal Access Token from tempestwx.com → Settings → Data Authorizations\nTEMPEST_STATION_ID\tNumeric station ID (find it by calling the /stations endpoint with your token)\n\nIf either env var is missing, inform the user and show them how to set them:\n\nexport TEMPEST_TOKEN=\"your_token_here\"\nexport TEMPEST_STATION_ID=\"your_station_id_here\"\n\nPrimary Endpoint\nGET https://swd.weatherflow.com/swd/rest/observations/station/{STATION_ID}?token={TEMPEST_TOKEN}\n\n\nThis returns the latest observation for the station, including all sensor data.\n\nFallback (by device): GET https://swd.weatherflow.com/swd/rest/observations/?device_id={DEVICE_ID}&token={TEMPEST_TOKEN}\n\nTo list available stations/devices: GET https://swd.weatherflow.com/swd/rest/stations?token={TEMPEST_TOKEN}\n\nWorkflow\nCheck for credentials — If the user hasn't provided a token and station ID, ask for them.\nFetch the observation — Use bash (curl) or Python to call the REST endpoint.\nParse the response — Extract the relevant fields from obs (see field reference below).\nReturn structured JSON — Output a clean, normalized JSON object (see Output Schema).\nHandle errors gracefully — 401 = bad token, 404 = station not found, empty obs = no data yet.\nFetching with curl\ncurl -s \"https://swd.weatherflow.com/swd/rest/observations/station/${STATION_ID}?token=${TEMPEST_TOKEN}\"\n\nFetching with Python\nimport requests, json\n\nurl = f\"https://swd.weatherflow.com/swd/rest/observations/station/{STATION_ID}\"\nresp = requests.get(url, params={\"token\": TEMPEST_TOKEN})\nresp.raise_for_status()\ndata = resp.json()\n\nOutput Schema\n\nAlways return data in this normalized JSON structure:\n\n{\n  \"station_id\": 12345,\n  \"station_name\": \"My Backyard\",\n  \"timestamp\": \"2024-01-15T14:32:00Z\",\n  \"timestamp_epoch\": 1705329120,\n  \"conditions\": {\n    \"temperature_c\": 18.5,\n    \"temperature_f\": 65.3,\n    \"humidity_pct\": 62,\n    \"pressure_mb\": 1013.4,\n    \"pressure_trend\": \"steady\"\n  },\n  \"wind\": {\n    \"speed_avg_ms\": 3.2,\n    \"speed_avg_mph\": 7.2,\n    \"speed_lull_ms\": 1.1,\n    \"speed_gust_ms\": 5.8,\n    \"speed_gust_mph\": 13.0,\n    \"direction_deg\": 247,\n    \"direction_cardinal\": \"WSW\"\n  },\n  \"precipitation\": {\n    \"rain_accumulated_mm\": 0.0,\n    \"rain_daily_mm\": 2.4,\n    \"precip_type\": \"none\",\n    \"precip_analysis\": \"rain_check_on\"\n  },\n  \"lightning\": {\n    \"strike_count\": 0,\n    \"avg_distance_km\": null\n  },\n  \"solar\": {\n    \"uv_index\": 3,\n    \"solar_radiation_wm2\": 412,\n    \"illuminance_lux\": 28500\n  },\n  \"battery_volts\": 2.42,\n  \"data_source\": \"tempest_rest_api\"\n}\n\nField Reference\n\nSee references/obs_fields.md for the complete field mapping from Tempest API array indices to human-readable names, units, and conversion formulas.\n\nConversion Helpers\n°C → °F: (C * 9/5) + 32\nm/s → mph: ms * 2.237\nDegrees → Cardinal: Read the lookup table in references/obs_fields.md\nPrecip type codes: 0 = none, 1 = rain, 2 = hail\nPrecip analysis codes: 0 = none, 1 = rain_check_on, 2 = rain_check_off\nError Handling\nHTTP Status\tMeaning\tAction\n200\tSuccess\tParse and return data\n401\tInvalid token\tAsk user to re-check their token\n403\tForbidden\tToken doesn't have access to that station\n404\tStation not found\tAsk user to confirm their station ID\n200 + empty obs\tNo data\tStation may be offline; inform user\n\nIf obs is an empty array or null, report: \"Station found but no recent observations available — the device may be offline.\"\n\nExample User Interactions\n\n\"What's the weather at my Tempest station?\" → Fetch latest obs, return full JSON output.\n\n\"Is it raining?\" → Fetch obs, check precipitation.precip_type and precipitation.rain_accumulated_mm, return focused JSON.\n\n\"Any lightning nearby?\" → Fetch obs, check lightning.strike_count and lightning.avg_distance_km, return lightning sub-object.\n\n\"How windy is it?\" → Return wind sub-object including gust, lull, avg, direction."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/mogglemoss/tempest-weather-wf",
    "publisherUrl": "https://clawhub.ai/mogglemoss/tempest-weather-wf",
    "owner": "mogglemoss",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}