{
  "schemaVersion": "1.0",
  "item": {
    "slug": "stormglass",
    "name": "Stormglass Surf & Ocean Data",
    "source": "tencent",
    "type": "skill",
    "category": "数据分析",
    "sourceUrl": "https://clawhub.ai/dgorissen/stormglass",
    "canonicalUrl": "https://clawhub.ai/dgorissen/stormglass",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/stormglass",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=stormglass",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "reference.md",
      "examples.md",
      "README.md",
      "scripts/test_surf_report.py",
      "scripts/normalize_surf_data.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-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.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/stormglass"
    },
    "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/stormglass",
    "agentPageUrl": "https://openagent3.xyz/skills/stormglass/agent",
    "manifestUrl": "https://openagent3.xyz/skills/stormglass/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/stormglass/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": "Purpose",
        "body": "Produce machine-readable surf condition data for cron-driven agent pipelines.\n\nThis skill resolves a surf spot name with Google Geocoding (or uses direct coordinates), queries Stormglass, and returns a stable JSON payload for downstream interpretation/rendering."
      },
      {
        "title": "Inputs",
        "body": "Provide exactly one location mode:\n\n--location \"Spot name\" (optional country/region in string), or\n--lat <float> --lon <float>\n\nOptional controls:\n\n--horizon now|24h|48h|72h (default 72h)\n--output json|pretty (default json, recommended for automation)\n--source <comma-separated provider list>\n--mock (offline deterministic data; useful for tests)"
      },
      {
        "title": "Required Environment Variables",
        "body": "STORMGLASS_API_KEY for Stormglass requests\nGOOGLE_GEOCODING_API_KEY optional for --location (if absent, script falls back to OpenStreetMap Nominatim)\n\nIn --mock mode, no API keys are required."
      },
      {
        "title": "Credential Matrix",
        "body": "ModeSTORMGLASS_API_KEYGOOGLE_GEOCODING_API_KEY--mocknot requirednot requiredlive --lat/--lonrequirednot requiredlive --location with Googlerequiredoptional (preferred when set)live --location with OSM fallbackrequirednot required\n\nPrimary credential is STORMGLASS_API_KEY."
      },
      {
        "title": "Execution Commands",
        "body": "JSON output for cron:\n\npython scripts/surf_report.py --location \"Highcliffe Beach\" --horizon 72h --output json\n\nDirect coordinates:\n\npython scripts/surf_report.py --lat 50.735 --lon -1.705 --horizon 24h --output json\n\nOffline test run:\n\npython scripts/surf_report.py --location \"Highcliffe Beach\" --horizon now --mock --output json"
      },
      {
        "title": "Output Contract (JSON-first)",
        "body": "Top-level keys are stable:\n\nmeta: request metadata, timestamps, input mode, optional warnings\nlocation: resolved place details and coordinates\nnow: instantaneous surf-relevant metrics\nforecast: horizon summaries and best windows\ntides: tide extremes and inferred current tide trend\n\nExpected metric coverage (null if unavailable):\n\nwaveHeightM\nswellHeightM\nswellPeriodS\nswellDirectionDeg\nwindSpeedMps\nwindDirectionDeg\nwindGustMps\nwaterTemperatureC"
      },
      {
        "title": "Exit Codes",
        "body": "0: success\n2: invalid CLI usage/arguments\n3: missing API keys/configuration\n4: external API failure (geocoding/Stormglass)\n5: response parsing/normalization failure"
      },
      {
        "title": "Agent Handoff Rules",
        "body": "Prefer --output json for downstream agents.\nTreat null metrics as \"not provided by source\", not zero.\nRead field-level details in reference.md.\nUse examples.md for prompt and command patterns.\nUse scripts/test_surf_report.py before cron rollout.\nOptional: use scripts/normalize_surf_data.py to enforce strict schema defaults before rendering."
      }
    ],
    "body": "Stormglass Surf Skill\nPurpose\n\nProduce machine-readable surf condition data for cron-driven agent pipelines.\n\nThis skill resolves a surf spot name with Google Geocoding (or uses direct coordinates), queries Stormglass, and returns a stable JSON payload for downstream interpretation/rendering.\n\nInputs\n\nProvide exactly one location mode:\n\n--location \"Spot name\" (optional country/region in string), or\n--lat <float> --lon <float>\n\nOptional controls:\n\n--horizon now|24h|48h|72h (default 72h)\n--output json|pretty (default json, recommended for automation)\n--source <comma-separated provider list>\n--mock (offline deterministic data; useful for tests)\nRequired Environment Variables\nSTORMGLASS_API_KEY for Stormglass requests\nGOOGLE_GEOCODING_API_KEY optional for --location (if absent, script falls back to OpenStreetMap Nominatim)\n\nIn --mock mode, no API keys are required.\n\nCredential Matrix\nMode\tSTORMGLASS_API_KEY\tGOOGLE_GEOCODING_API_KEY\n--mock\tnot required\tnot required\nlive --lat/--lon\trequired\tnot required\nlive --location with Google\trequired\toptional (preferred when set)\nlive --location with OSM fallback\trequired\tnot required\n\nPrimary credential is STORMGLASS_API_KEY.\n\nExecution Commands\n\nJSON output for cron:\n\npython scripts/surf_report.py --location \"Highcliffe Beach\" --horizon 72h --output json\n\n\nDirect coordinates:\n\npython scripts/surf_report.py --lat 50.735 --lon -1.705 --horizon 24h --output json\n\n\nOffline test run:\n\npython scripts/surf_report.py --location \"Highcliffe Beach\" --horizon now --mock --output json\n\nOutput Contract (JSON-first)\n\nTop-level keys are stable:\n\nmeta: request metadata, timestamps, input mode, optional warnings\nlocation: resolved place details and coordinates\nnow: instantaneous surf-relevant metrics\nforecast: horizon summaries and best windows\ntides: tide extremes and inferred current tide trend\n\nExpected metric coverage (null if unavailable):\n\nwaveHeightM\nswellHeightM\nswellPeriodS\nswellDirectionDeg\nwindSpeedMps\nwindDirectionDeg\nwindGustMps\nwaterTemperatureC\nExit Codes\n0: success\n2: invalid CLI usage/arguments\n3: missing API keys/configuration\n4: external API failure (geocoding/Stormglass)\n5: response parsing/normalization failure\nAgent Handoff Rules\nPrefer --output json for downstream agents.\nTreat null metrics as \"not provided by source\", not zero.\nRead field-level details in reference.md.\nUse examples.md for prompt and command patterns.\nUse scripts/test_surf_report.py before cron rollout.\nOptional: use scripts/normalize_surf_data.py to enforce strict schema defaults before rendering."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/dgorissen/stormglass",
    "publisherUrl": "https://clawhub.ai/dgorissen/stormglass",
    "owner": "dgorissen",
    "version": "1.0.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/stormglass",
    "downloadUrl": "https://openagent3.xyz/downloads/stormglass",
    "agentUrl": "https://openagent3.xyz/skills/stormglass/agent",
    "manifestUrl": "https://openagent3.xyz/skills/stormglass/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/stormglass/agent.md"
  }
}