[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76YYC5EBT9D1T3YZ15GHT6R":3,"skill-same:01M76YYC5EBT9D1T3YZ15GHT6R":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":48,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M76YYC5EBT9D1T3YZ15GHT6R","sealegs-marine-forecast",null,"Get AI-powered marine weather forecasts for any location worldwide","javimosch\u002Fopen-claw-skills","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M75B8NCTAJG9WH5YNZH7C3D8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsealegs-ai-coder\u002Fsealegs-marine-forecast\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: sealegs-marine-forecast\ndescription: Get AI-powered marine weather forecasts for any location worldwide\nhomepage: https:\u002F\u002Fdeveloper.sealegs.ai\nmetadata: {\"openclaw\": {\"requires\": {\"env\": [\"SEALEGS_API_KEY\"], \"bins\": [\"curl\"]}, \"primaryEnv\": \"SEALEGS_API_KEY\"}, \"emoji\": \"⛵\", \"tags\": [\"weather\", \"marine\", \"forecast\", \"boating\", \"sailing\", \"ocean\", \"waves\", \"wind\"]}\n---\n\n# SeaLegs AI Marine Forecast API\n\nGet AI-powered marine weather forecasts for any location worldwide. Includes wind, waves, visibility, precipitation analysis with GO\u002FCAUTION\u002FNO-GO safety classifications.\n\n## Features\n\n- **SpotCast Forecasts**: Get marine weather forecasts for any coordinates worldwide\n- **AI Safety Analysis**: GO \u002F CAUTION \u002F NO-GO classifications for each day\n- **Vessel-Specific**: Tailored recommendations based on boat type and size\n- **Multi-Language**: Supports English, Spanish, French, Portuguese, Italian, Japanese\n\n## Setup\n\n### 1. Get an API Key\n\n1. Sign up at https:\u002F\u002Fdeveloper.sealegs.ai — you'll get **10 free credits** to get started\n2. Generate an API key from your dashboard\n3. Need more? Add credits anytime ($10 = 200 forecast-days)\n\n### 2. Configure OpenClaw\n\nAdd to your OpenClaw configuration:\n\n```json5\n{\n  skills: {\n    entries: {\n      \"sealegs-marine-forecast\": {\n        enabled: true,\n        apiKey: \"sk_live_your_key_here\"\n      }\n    }\n  }\n}\n```\n\nOr set the environment variable:\n\n```bash\nexport SEALEGS_API_KEY=sk_live_your_key_here\n```\n\n### 3. Install the Skill\n\n```bash\nclawhub install sealegs-marine-forecast\n```\n\n## Usage Example\n\n```jsonc\n\u002F\u002F Miami, FL\nPOST \u002Fv3\u002Fspotcast\n{\n  \"latitude\": 25.7617,\n  \"longitude\": -80.1918,\n  \"start_date\": \"2026-02-10T00:00:00Z\",\n  \"num_days\": 2,\n  \"vessel_info\": {\"type\": \"sailboat\", \"length_ft\": 35}  \u002F\u002F optional\n}\n```\n\n**Sample response:**\n```json\n{\n  \"id\": \"spc_FrZdSAs6T3cxbXiPtNZvxu\",\n  \"coordinates\": {\n    \"latitude\": 25.7617,\n    \"longitude\": -80.1918\n  },\n  \"forecast_period\": {\n    \"start_date\": \"2026-02-10T00:00:00-05:00\",\n    \"end_date\": \"2026-02-11T23:59:59-05:00\",\n    \"num_days\": \"2\"\n  },\n  \"trip_duration_hours\": \"12\",\n  \"metadata\": {\n    \"location_name\": \"Miami Marina\"\n  },\n  \"latest_forecast\": {\n    \"status\": \"completed\",\n    \"ai_analysis\": {\n      \"summary\": \"Ideal conditions both days with light winds\",\n      \"daily_classifications\": [\n        {\n          \"date\": \"2026-02-10\",\n          \"classification\": \"GO\",\n          \"short_summary\": \"Outstanding conditions all day with light winds under 7kt and calm 1.1-1.6ft seas. Best window is morning 5:00 AM-12:00 PM with nearly calm 1-4kt northwest winds and comfortable 1.4ft seas at 11-second periods.\",\n          \"summary\": \"Outstanding sailing conditions throughout Monday with exceptionally light winds and calm seas. Morning hours offer the best window with nearly calm 1-4kt northwest winds and comfortable 1.4ft seas at 11-second periods from the northeast.\"\n        },\n        {\n          \"date\": \"2026-02-11\",\n          \"classification\": \"GO\",\n          \"short_summary\": \"Exceptional conditions with very light winds 1-6kt and minimal 1.2-1.3ft seas all day. Best window 9:00 AM-1:00 PM offers glassy conditions with 1-3kt winds and 1.2ft seas at 11-second periods.\",\n          \"summary\": \"Exceptional boating conditions on Tuesday with very light winds and minimal seas throughout the day. Morning through midday provides ideal glassy conditions with 1-3kt east-southeast winds and 1.2ft seas at 10-11 second periods from the northeast.\"\n        }\n      ]\n    }\n  }\n}\n```\n\n## API Endpoints\n\n| Operation | Endpoint | Cost |\n|-----------|----------|------|\n| Create forecast | POST \u002Fv3\u002Fspotcast | 1 credit\u002Fday |\n| Get forecast | GET \u002Fv3\u002Fspotcast\u002F{id} | Free |\n| Check status | GET \u002Fv3\u002Fspotcast\u002F{id}\u002Fstatus | Free |\n| Refresh forecast | POST \u002Fv3\u002Fspotcast\u002F{id}\u002Frefresh | 1 credit\u002Fday |\n| List forecasts for SpotCast | GET \u002Fv3\u002Fspotcast\u002F{id}\u002Fforecasts | Free |\n| Get specific forecast | GET \u002Fv3\u002Fspotcast\u002F{id}\u002Fforecast\u002F{forecast_id} | Free |\n| List SpotCasts | GET \u002Fv3\u002Fspotcasts | Free |\n| Get balance | GET \u002Fv3\u002Faccount\u002Fbalance | Free |\n\n## Weather Factors Used\n\n- Wind speed, gusts, and direction\n- Wave height, period, and direction\n- Visibility and fog probability\n- Precipitation probability and intensity\n- Air and water temperature\n\n## Authentication\n\nAll requests require:\n```\nAuthorization: Bearer $SEALEGS_API_KEY\nContent-Type: application\u002Fjson\n```\n\n## Rate Limits\n\n- Standard tier: 60 requests per minute\n- Rate limit headers included in all responses: `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset`\n\n## Billing\n\n- 1 credit per forecast-day (3-day forecast = 3 credits)\n- GET operations are free\n- Refreshes cost 1 credit per forecast-day\n\n---\n\n# SpotCast Forecasts\n\nSpotCast generates AI-powered marine weather forecasts for specific coordinates.\n\n## Create SpotCast\n\n**POST** `https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast`\n\nCreates a new forecast request. Processing is asynchronous (typically 30-60 seconds).\n\n**Required parameters:**\n- `latitude` (number): -90 to 90\n- `longitude` (number): -180 to 180\n- `start_date` (string): ISO 8601 format (e.g., \"2025-12-05T00:00:00Z\")\n- `num_days` (integer): 1-5\n\n**Optional parameters:**\n- `webhook_url` (string): HTTPS endpoint for completion notification\n- `metadata` (object): Custom key-value pairs for your reference\n- `trip_duration_hours` (integer): Trip duration in hours\n- `preferences.language`: en, es, fr, pt, it, ja (default: en)\n- `preferences.distance_units`: nm, mi, km (default: nm)\n- `preferences.speed_units`: kts, mph, ms (default: kts)\n- `vessel_info.type`: powerBoat, sailboat, pwc, yacht, catamaran\n- `vessel_info.length_ft`: 1-500\n\n**Example request:**\n```bash\ncurl -X POST https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast \\\n  -H \"Authorization: Bearer $SEALEGS_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"latitude\": 25.7617,\n    \"longitude\": -80.1918,\n    \"start_date\": \"2025-12-05T00:00:00Z\",\n    \"num_days\": 2,\n    \"vessel_info\": {\"type\": \"sailboat\", \"length_ft\": 35}\n  }'\n```\n\n**Response (202 Accepted):**\n```json\n{\n  \"id\": \"spc_abc123xyz\",\n  \"forecast_id\": \"fcst_xyz789\",\n  \"status\": \"processing\",\n  \"created_at\": \"2025-12-01T10:30:00Z\",\n  \"estimated_completion_seconds\": 45,\n  \"credits_charged\": 2,\n  \"credits_remaining\": 98,\n  \"links\": {\n    \"self\": \"https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002Fspc_abc123xyz\",\n    \"forecast\": \"https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002Fspc_abc123xyz\u002Fforecast\u002Ffcst_xyz789\",\n    \"status\": \"https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002Fspc_abc123xyz\u002Fstatus\"\n  }\n}\n```\n\n## Check SpotCast Status\n\n**GET** `https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002F{id}\u002Fstatus`\n\nPoll this endpoint until status is \"completed\" or \"failed\". Recommended poll interval: 10-15 seconds.\n\n**Status values:**\n- `pending`: Queued for processing (no `progress` field)\n- `processing`: Currently generating forecast (includes `progress`)\n- `completed`: Ready to retrieve (includes `progress` at 100%)\n- `failed`: Error occurred\n\n**Progress stages** (only present when status is `processing` or `completed`):\n- fetching_weather\n- processing_data\n- ai_analysis\n- completing\n- completed (100%)\n\n**Example request:**\n```bash\ncurl https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002Fspc_abc123xyz\u002Fstatus \\\n  -H \"Authorization: Bearer $SEALEGS_API_KEY\"\n```\n\n**Response (pending):**\n```json\n{\n  \"id\": \"spc_abc123xyz\",\n  \"forecast_id\": \"fcst_xyz789\",\n  \"status\": \"pending\",\n  \"created_at\": \"2025-12-01T10:30:00Z\"\n}\n```\n\n**Response (processing):**\n```json\n{\n  \"id\": \"spc_abc123xyz\",\n  \"forecast_id\": \"fcst_xyz789\",\n  \"status\": \"processing\",\n  \"created_at\": \"2025-12-01T10:30:00Z\",\n  \"progress\": {\n    \"stage\": \"ai_analysis\",\n    \"percentage\": 75\n  }\n}\n```\n\n**Response (completed):**\n```json\n{\n  \"id\": \"spc_abc123xyz\",\n  \"forecast_id\": \"fcst_xyz789\",\n  \"status\": \"completed\",\n  \"created_at\": \"2025-12-01T10:30:00Z\",\n  \"completed_at\": \"2025-12-01T10:30:45Z\",\n  \"progress\": {\n    \"stage\": \"completed\",\n    \"percentage\": 100\n  }\n}\n```\n\n## Get SpotCast\n\n**GET** `https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002F{id}`\n\nRetrieves the completed forecast with AI analysis.\n\n**Example request:**\n```bash\ncurl https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002Fspc_abc123xyz \\\n  -H \"Authorization: Bearer $SEALEGS_API_KEY\"\n```\n\n**Response (200 OK):**\n```json\n{\n  \"id\": \"spc_abc123xyz\",\n  \"created_at\": \"2025-12-01T10:30:00Z\",\n  \"coordinates\": {\n    \"latitude\": 25.7617,\n    \"longitude\": -80.1918\n  },\n  \"forecast_period\": {\n    \"start_date\": \"2025-12-05T00:00:00Z\",\n    \"end_date\": \"2025-12-06T00:00:00Z\",\n    \"num_days\": 2\n  },\n  \"trip_duration_hours\": 12,\n  \"forecast_count\": 1,\n  \"metadata\": {\n    \"location_name\": \"Miami Marina\"\n  },\n  \"latest_forecast\": {\n    \"forecast_id\": \"fcst_xyz789\",\n    \"status\": \"completed\",\n    \"created_at\": \"2025-12-01T10:30:00Z\",\n    \"completed_at\": \"2025-12-01T10:30:45Z\",\n    \"ai_analysis\": {\n      \"summary\": \"Excellent conditions expected. Light winds 8-12kt from the NE with calm 1-2ft seas.\",\n      \"daily_classifications\": [\n        {\n          \"date\": \"2025-12-05\",\n          \"classification\": \"GO\",\n          \"summary\": \"Light winds 8-12kt from NE. Seas 1-2ft. Visibility excellent at 10+ nm. No precipitation expected.\"\n        },\n        {\n          \"date\": \"2025-12-06\",\n          \"classification\": \"CAUTION\",\n          \"summary\": \"Winds increasing to 15-20kt. Seas building to 3-4ft by afternoon. Morning departure recommended.\"\n        }\n      ]\n    }\n  }\n}\n```\n\n## Refresh SpotCast\n\n**POST** `https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002F{id}\u002Frefresh`\n\nUpdates an existing forecast with the latest weather data. Costs 1 credit per forecast-day.\n\n**Optional body:**\n- `webhook_url` (string): Override webhook for this refresh\n\n**Example request:**\n```bash\ncurl -X POST https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002Fspc_abc123xyz\u002Frefresh \\\n  -H \"Authorization: Bearer $SEALEGS_API_KEY\"\n```\n\n**Response (202 Accepted):**\n```json\n{\n  \"id\": \"spc_abc123xyz\",\n  \"forecast_id\": \"fcst_newxyz789\",\n  \"status\": \"processing\",\n  \"created_at\": \"2025-12-02T08:00:00Z\",\n  \"links\": {\n    \"self\": \"https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002Fspc_abc123xyz\",\n    \"status\": \"https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002Fspc_abc123xyz\u002Fstatus\"\n  }\n}\n```\n\n## List Forecasts\n\n**GET** `https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002F{id}\u002Fforecasts`\n\nLists all forecasts for a SpotCast, sorted by creation date (newest first). Each time you create or refresh a SpotCast, a new forecast is generated.\n\n**Query parameters:**\n- `limit` (integer): Number of results to return (default: 10)\n\n**Example request:**\n```bash\ncurl \"https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002Fspc_abc123xyz\u002Fforecasts?limit=5\" \\\n  -H \"Authorization: Bearer $SEALEGS_API_KEY\"\n```\n\n**Response (200 OK):**\n```json\n{\n  \"spotcast_id\": \"spc_abc123xyz\",\n  \"data\": [\n    {\n      \"forecast_id\": \"fcst_newxyz789\",\n      \"status\": \"completed\",\n      \"created_at\": \"2025-12-02T08:00:00Z\",\n      \"completed_at\": \"2025-12-02T08:00:42Z\"\n    },\n    {\n      \"forecast_id\": \"fcst_xyz789\",\n      \"status\": \"completed\",\n      \"created_at\": \"2025-12-01T10:30:00Z\",\n      \"completed_at\": \"2025-12-01T10:30:45Z\"\n    }\n  ],\n  \"has_more\": false\n}\n```\n\n## Get Forecast\n\n**GET** `https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002F{id}\u002Fforecast\u002F{forecast_id}`\n\nRetrieves a specific forecast with full details including AI analysis. Use this to access any forecast in a SpotCast's history, not just the latest one.\n\n**Example request:**\n```bash\ncurl \"https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002Fspc_abc123xyz\u002Fforecast\u002Ffcst_xyz789\" \\\n  -H \"Authorization: Bearer $SEALEGS_API_KEY\"\n```\n\n**Response (200 OK - Completed):**\n```json\n{\n  \"forecast_id\": \"fcst_xyz789\",\n  \"spotcast_id\": \"spc_abc123xyz\",\n  \"status\": \"completed\",\n  \"created_at\": \"2025-12-01T10:30:00Z\",\n  \"completed_at\": \"2025-12-01T10:30:45Z\",\n  \"forecast_period\": {\n    \"start_date\": \"2025-12-05T00:00:00Z\",\n    \"num_days\": 2\n  },\n  \"ai_analysis\": {\n    \"summary\": \"Excellent conditions expected. Light winds 8-12kt from the NE with calm 1-2ft seas.\",\n    \"daily_classifications\": [\n      {\n        \"date\": \"2025-12-05\",\n        \"classification\": \"GO\",\n        \"summary\": \"Light winds and calm seas throughout the day.\"\n      },\n      {\n        \"date\": \"2025-12-06\",\n        \"classification\": \"CAUTION\",\n        \"summary\": \"Improving conditions with best windows in the afternoon.\"\n      }\n    ]\n  }\n}\n```\n\n**Response (200 OK - Processing):**\n```json\n{\n  \"forecast_id\": \"fcst_xyz789\",\n  \"spotcast_id\": \"spc_abc123xyz\",\n  \"status\": \"processing\",\n  \"created_at\": \"2025-12-01T10:30:00Z\",\n  \"forecast_period\": {\n    \"start_date\": \"2025-12-05T00:00:00Z\",\n    \"num_days\": 2\n  },\n  \"progress\": {\n    \"stage\": \"analyzing\",\n    \"percentage\": 65\n  }\n}\n```\n\n**Response (200 OK - Failed):**\n```json\n{\n  \"forecast_id\": \"fcst_xyz789\",\n  \"spotcast_id\": \"spc_abc123xyz\",\n  \"status\": \"failed\",\n  \"created_at\": \"2025-12-01T10:30:00Z\",\n  \"forecast_period\": {\n    \"start_date\": \"2025-12-05T00:00:00Z\",\n    \"num_days\": 2\n  },\n  \"error\": \"Processing failed\"\n}\n```\n\n## List SpotCasts\n\n**GET** `https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcasts`\n\nRetrieves all SpotCasts for your account.\n\n**Query parameters:**\n- `limit` (integer): 1-100 results (default: 20)\n- `after` (string): Cursor for pagination\n\n**Example request:**\n```bash\ncurl \"https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcasts?limit=10\" \\\n  -H \"Authorization: Bearer $SEALEGS_API_KEY\"\n```\n\n**Response (200 OK):**\n```json\n{\n  \"data\": [\n    {\n      \"id\": \"spc_abc123xyz\",\n      \"created_at\": \"2025-12-01T10:30:00Z\",\n      \"coordinates\": {\n        \"latitude\": 25.7617,\n        \"longitude\": -80.1918\n      },\n      \"start_date\": \"2025-12-05T00:00:00-05:00\",\n      \"end_date\": \"2025-12-06T23:59:59-05:00\",\n      \"num_days\": 2,\n      \"latest_forecast\": {\n        \"forecast_id\": \"fcst_xyz789\",\n        \"status\": \"completed\"\n      }\n    }\n  ],\n  \"has_more\": true,\n  \"next_cursor\": \"spc_def456\"\n}\n```\n\n---\n\n# Account\n\n## Get Balance\n\n**GET** `https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Faccount\u002Fbalance`\n\nReturns your current credit balance and usage.\n\n**Example request:**\n```bash\ncurl https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Faccount\u002Fbalance \\\n  -H \"Authorization: Bearer $SEALEGS_API_KEY\"\n```\n\n**Response (200 OK):**\n```json\n{\n  \"credit_balance\": 100,\n  \"total_credits_purchased\": 200,\n  \"total_credits_used\": 100,\n  \"purchase_url\": \"https:\u002F\u002Fdevelopers.sealegs.ai\u002Fdashboard\u002Fbilling\"\n}\n```\n\n---\n\n# Webhooks\n\nWhen you provide a `webhook_url` during SpotCast creation or refresh, SeaLegs sends a POST request to that URL when processing completes or fails.\n\n## Webhook Headers\n\n```\nContent-Type: application\u002Fjson\nX-SeaLegs-Event: spotcast.forecast.completed\nX-SeaLegs-Signature: sha256=abc123...\nX-SeaLegs-Delivery-ID: whk_abc123xyz\nX-SeaLegs-Timestamp: 1733045400\nUser-Agent: SeaLegs-Webhooks\u002F1.0\n```\n\n## Verifying Signatures\n\nEvery webhook includes an HMAC-SHA256 signature in the `X-SeaLegs-Signature` header. Your webhook secret is available in the Developer Dashboard. Always verify the signature before processing the payload.\n\n**Python:**\n```python\nimport hmac\nimport hashlib\n\ndef verify_webhook(payload: bytes, signature: str, secret: str) -> bool:\n    expected = hmac.new(secret.encode(), payload, hashlib.sha256).hexdigest()\n    return hmac.compare_digest(f\"sha256={expected}\", signature)\n```\n\n**JavaScript:**\n```javascript\nconst crypto = require('crypto');\n\nfunction verifyWebhook(payload, signature, secret) {\n  const expected = crypto.createHmac('sha256', secret).update(payload).digest('hex');\n  return crypto.timingSafeEqual(\n    Buffer.from(`sha256=${expected}`),\n    Buffer.from(signature)\n  );\n}\n```\n\n## Completed Event\n\n```json\n{\n  \"event\": \"spotcast.forecast.completed\",\n  \"created_at\": \"2025-12-01T10:30:45Z\",\n  \"data\": {\n    \"spotcast_id\": \"spc_abc123xyz\",\n    \"forecast_id\": \"fcst_xyz789\",\n    \"status\": \"completed\",\n    \"summary\": \"Excellent conditions expected. Light winds 8-12kt from the NE with calm 1-2ft seas.\",\n    \"metadata\": {\n      \"trip_name\": \"Weekend Fishing Trip\"\n    }\n  }\n}\n```\n\nThe `summary` field is included when AI analysis completes successfully. The `metadata` object is included when you provided metadata in the original `POST \u002Fv3\u002Fspotcast` request, echoed back exactly as sent.\n\n## Failed Event\n\n```json\n{\n  \"event\": \"spotcast.forecast.failed\",\n  \"created_at\": \"2025-12-01T10:31:00Z\",\n  \"data\": {\n    \"spotcast_id\": \"spc_abc123xyz\",\n    \"forecast_id\": \"fcst_xyz789\",\n    \"status\": \"failed\",\n    \"error\": {\n      \"code\": \"processing_failed\",\n      \"message\": \"Unable to fetch weather data for the specified location\"\n    },\n    \"metadata\": {\n      \"trip_name\": \"Weekend Fishing Trip\"\n    }\n  }\n}\n```\n\n## Retry Policy\n\nFailed deliveries are retried up to 4 times: after 5 minutes, 30 minutes, 2 hours, and 24 hours.\n\n---\n\n# Understanding Results\n\n## Daily Classifications\n\nEach forecast day receives a safety classification:\n\n| Classification | Meaning |\n|----------------|---------|\n| **GO** | Safe conditions for the vessel type |\n| **CAUTION** | Proceed with awareness; conditions may be challenging |\n| **NO-GO** | Conditions not recommended for the vessel type |\n\nClassifications are adjusted based on vessel type and size when `vessel_info` is provided.\n\n## Weather Variables Analyzed\n\n- **Wind**: Speed (kts), gusts, direction (degrees)\n- **Waves**: Height (ft), period (seconds), direction, swell\n- **Visibility**: Distance (nm), fog probability\n- **Precipitation**: Probability (%), intensity\n- **Temperature**: Air and water (F\u002FC)\n\n## Vessel-Specific Adjustments\n\nWhen `vessel_info` is provided:\n- **PWC\u002FJet Ski**: Stricter wave height limits\n- **Sailboats**: Wind optimization recommendations\n- **Large Yachts**: Higher tolerance for wave conditions\n- **Small Powerboats**: Balanced wind\u002Fwave thresholds\n\n---\n\n# Error Handling\n\n## Error Response Format\n\n```json\n{\n  \"error\": {\n    \"code\": \"invalid_coordinates\",\n    \"message\": \"Latitude must be between -90 and 90\",\n    \"param\": \"latitude\"\n  }\n}\n```\n\n## HTTP Status Codes\n\n| Code | Meaning | Action |\n|------|---------|--------|\n| 200 | Success | Request completed |\n| 201 | Created | Resource created |\n| 202 | Accepted | Async processing started |\n| 400 | Bad Request | Check parameter values |\n| 401 | Unauthorized | Verify API key is correct |\n| 402 | Payment Required | Add credits at developer.sealegs.ai |\n| 403 | Forbidden | Account not verified or suspended |\n| 404 | Not Found | Check resource ID |\n| 429 | Rate Limited | Wait and retry (60 req\u002Fmin limit) |\n| 500 | Server Error | Retry after brief delay |\n\n## Error Codes\n\n### Authentication (401)\n\n| Code | Description |\n|------|-------------|\n| `missing_api_key` | No API key provided in request |\n| `invalid_api_key` | API key is not recognized |\n| `key_revoked` | API key has been revoked |\n\n### Authorization (403)\n\n| Code | Description |\n|------|-------------|\n| `account_not_verified` | Developer account has not been verified |\n| `account_suspended` | Developer account has been suspended |\n\n### Payment (402)\n\n| Code | Description |\n|------|-------------|\n| `insufficient_balance` | Not enough credits (response includes `current_balance`, `required_credits`, `purchase_url`) |\n\n### Validation (400)\n\n| Code | Description |\n|------|-------------|\n| `invalid_coordinates` | Coordinates out of valid range |\n| `invalid_date_format` | Not ISO 8601 format |\n| `invalid_webhook_url` | Not a valid HTTPS URL |\n| `invalid_preferences` | Preferences format is invalid |\n| `invalid_language` | Language not supported (use: en, es, fr, pt, it, ja) |\n| `invalid_distance_units` | Distance units not supported (use: nm, mi, km) |\n| `invalid_speed_units` | Speed units not supported (use: kts, mph, ms) |\n| `invalid_json` | Request body is not valid JSON |\n\n### Not Found (404)\n\n| Code | Description |\n|------|-------------|\n| `spotcast_not_found` | The specified SpotCast does not exist |\n| `forecast_not_found` | The specified forecast does not exist |\n\n### Rate Limit (429)\n\n| Code | Description |\n|------|-------------|\n| `rate_limit_exceeded` | Too many requests (response includes `retry_after` seconds) |\n\n### Server (500)\n\n| Code | Description |\n|------|-------------|\n| `internal_error` | An unexpected error occurred |\n| `creation_failed` | Failed to create SpotCast |\n| `retrieval_failed` | Failed to retrieve resource |\n\n---\n\n# Common Workflows\n\n## Get a Marine Forecast\n\n1. Create a SpotCast with coordinates and dates\n2. Poll the status endpoint until \"completed\"\n3. Retrieve the full forecast with AI analysis\n4. Present GO\u002FCAUTION\u002FNO-GO classification to user\n\n## Check Conditions Before a Trip\n\n1. Create SpotCast with trip coordinates and date\n2. Include vessel_info for tailored recommendations\n3. Check daily_classifications for each day\n4. Review AI summary for specific concerns\n\n---\n\n## Links\n\n- [Developer Portal](https:\u002F\u002Fdeveloper.sealegs.ai)\n- [API Documentation](https:\u002F\u002Fdeveloper.sealegs.ai\u002Fdocs\u002F)\n- [SeaLegs App](https:\u002F\u002Fsealegs.ai)\n\n## License\n\nMIT\n","# SeaLegs AI Marine Forecast API\n\nGet AI-powered marine weather forecasts for any location worldwide. Includes wind, waves, visibility, precipitation analysis with GO\u002FCAUTION\u002FNO-GO safety classifications.\n\n## Features\n\n- **SpotCast Forecasts**: Get marine weather forecasts for any coordinates worldwide\n- **AI Safety Analysis**: GO \u002F CAUTION \u002F NO-GO classifications for each day\n- **Vessel-Specific**: Tailored recommendations based on boat type and size\n- **Multi-Language**: Supports English, Spanish, French, Portuguese, Italian, Japanese\n\n## Setup\n\n### 1. Get an API Key\n\n1. Sign up at https:\u002F\u002Fdeveloper.sealegs.ai — you'll get **10 free credits** to get started\n2. Generate an API key from your dashboard\n3. Need more? Add credits anytime ($10 = 200 forecast-days)\n\n### 2. Configure OpenClaw\n\nAdd to your OpenClaw configuration:\n\n```json5\n{\n  skills: {\n    entries: {\n      \"sealegs-marine-forecast\": {\n        enabled: true,\n        apiKey: \"sk_live_your_key_here\"\n      }\n    }\n  }\n}\n```\n\nOr set the environment variable:\n\n```bash\nexport SEALEGS_API_KEY=sk_live_your_key_here\n```\n\n### 3. Install the Skill\n\n```bash\nclawhub install sealegs-marine-forecast\n```\n\n## Usage Example\n\n```jsonc\n\u002F\u002F Miami, FL\nPOST \u002Fv3\u002Fspotcast\n{\n  \"latitude\": 25.7617,\n  \"longitude\": -80.1918,\n  \"start_date\": \"2026-02-10T00:00:00Z\",\n  \"num_days\": 2,\n  \"vessel_info\": {\"type\": \"sailboat\", \"length_ft\": 35}  \u002F\u002F optional\n}\n```\n\n**Sample response:**\n```json\n{\n  \"id\": \"spc_FrZdSAs6T3cxbXiPtNZvxu\",\n  \"coordinates\": {\n    \"latitude\": 25.7617,\n    \"longitude\": -80.1918\n  },\n  \"forecast_period\": {\n    \"start_date\": \"2026-02-10T00:00:00-05:00\",\n    \"end_date\": \"2026-02-11T23:59:59-05:00\",\n    \"num_days\": \"2\"\n  },\n  \"trip_duration_hours\": \"12\",\n  \"metadata\": {\n    \"location_name\": \"Miami Marina\"\n  },\n  \"latest_forecast\": {\n    \"status\": \"completed\",\n    \"ai_analysis\": {\n      \"summary\": \"Ideal conditions both days with light winds\",\n      \"daily_classifications\": [\n        {\n          \"date\": \"2026-02-10\",\n          \"classification\": \"GO\",\n          \"short_summary\": \"Outstanding conditions all day with light winds under 7kt and calm 1.1-1.6ft seas. Best window is morning 5:00 AM-12:00 PM with nearly calm 1-4kt northwest winds and comfortable 1.4ft seas at 11-second periods.\",\n          \"summary\": \"Outstanding sailing conditions throughout Monday with exceptionally light winds and calm seas. Morning hours offer the best window with nearly calm 1-4kt northwest winds and comfortable 1.4ft seas at 11-second periods from the northeast.\"\n        },\n        {\n          \"date\": \"2026-02-11\",\n          \"classification\": \"GO\",\n          \"short_summary\": \"Exceptional conditions with very light winds 1-6kt and minimal 1.2-1.3ft seas all day. Best window 9:00 AM-1:00 PM offers glassy conditions with 1-3kt winds and 1.2ft seas at 11-second periods.\",\n          \"summary\": \"Exceptional boating conditions on Tuesday with very light winds and minimal seas throughout the day. Morning through midday provides ideal glassy conditions with 1-3kt east-southeast winds and 1.2ft seas at 10-11 second periods from the northeast.\"\n        }\n      ]\n    }\n  }\n}\n```\n\n## API Endpoints\n\n| Operation | Endpoint | Cost |\n|-----------|----------|------|\n| Create forecast | POST \u002Fv3\u002Fspotcast | 1 credit\u002Fday |\n| Get forecast | GET \u002Fv3\u002Fspotcast\u002F{id} | Free |\n| Check status | GET \u002Fv3\u002Fspotcast\u002F{id}\u002Fstatus | Free |\n| Refresh forecast | POST \u002Fv3\u002Fspotcast\u002F{id}\u002Frefresh | 1 credit\u002Fday |\n| List forecasts for SpotCast | GET \u002Fv3\u002Fspotcast\u002F{id}\u002Fforecasts | Free |\n| Get specific forecast | GET \u002Fv3\u002Fspotcast\u002F{id}\u002Fforecast\u002F{forecast_id} | Free |\n| List SpotCasts | GET \u002Fv3\u002Fspotcasts | Free |\n| Get balance | GET \u002Fv3\u002Faccount\u002Fbalance | Free |\n\n## Weather Factors Used\n\n- Wind speed, gusts, and direction\n- Wave height, period, and direction\n- Visibility and fog probability\n- Precipitation probability and intensity\n- Air and water temperature\n\n## Authentication\n\nAll requests require:\n```\nAuthorization: Bearer $SEALEGS_API_KEY\nContent-Type: application\u002Fjson\n```\n\n## Rate Limits\n\n- Standard tier: 60 requests per minute\n- Rate limit headers included in all responses: `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset`\n\n## Billing\n\n- 1 credit per forecast-day (3-day forecast = 3 credits)\n- GET operations are free\n- Refreshes cost 1 credit per forecast-day\n\n---\n\n# SpotCast Forecasts\n\nSpotCast generates AI-powered marine weather forecasts for specific coordinates.\n\n## Create SpotCast\n\n**POST** `https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast`\n\nCreates a new forecast request. Processing is asynchronous (typically 30-60 seconds).\n\n**Required parameters:**\n- `latitude` (number): -90 to 90\n- `longitude` (number): -180 to 180\n- `start_date` (string): ISO 8601 format (e.g., \"2025-12-05T00:00:00Z\")\n- `num_days` (integer): 1-5\n\n**Optional parameters:**\n- `webhook_url` (string): HTTPS endpoint for completion notification\n- `metadata` (object): Custom key-value pairs for your reference\n- `trip_duration_hours` (integer): Trip duration in hours\n- `preferences.language`: en, es, fr, pt, it, ja (default: en)\n- `preferences.distance_units`: nm, mi, km (default: nm)\n- `preferences.speed_units`: kts, mph, ms (default: kts)\n- `vessel_info.type`: powerBoat, sailboat, pwc, yacht, catamaran\n- `vessel_info.length_ft`: 1-500\n\n**Example request:**\n```bash\ncurl -X POST https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast \\\n  -H \"Authorization: Bearer $SEALEGS_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"latitude\": 25.7617,\n    \"longitude\": -80.1918,\n    \"start_date\": \"2025-12-05T00:00:00Z\",\n    \"num_days\": 2,\n    \"vessel_info\": {\"type\": \"sailboat\", \"length_ft\": 35}\n  }'\n```\n\n**Response (202 Accepted):**\n```json\n{\n  \"id\": \"spc_abc123xyz\",\n  \"forecast_id\": \"fcst_xyz789\",\n  \"status\": \"processing\",\n  \"created_at\": \"2025-12-01T10:30:00Z\",\n  \"estimated_completion_seconds\": 45,\n  \"credits_charged\": 2,\n  \"credits_remaining\": 98,\n  \"links\": {\n    \"self\": \"https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002Fspc_abc123xyz\",\n    \"forecast\": \"https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002Fspc_abc123xyz\u002Fforecast\u002Ffcst_xyz789\",\n    \"status\": \"https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002Fspc_abc123xyz\u002Fstatus\"\n  }\n}\n```\n\n## Check SpotCast Status\n\n**GET** `https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002F{id}\u002Fstatus`\n\nPoll this endpoint until status is \"completed\" or \"failed\". Recommended poll interval: 10-15 seconds.\n\n**Status values:**\n- `pending`: Queued for processing (no `progress` field)\n- `processing`: Currently generating forecast (includes `progress`)\n- `completed`: Ready to retrieve (includes `progress` at 100%)\n- `failed`: Error occurred\n\n**Progress stages** (only present when status is `processing` or `completed`):\n- fetching_weather\n- processing_data\n- ai_analysis\n- completing\n- completed (100%)\n\n**Example request:**\n```bash\ncurl https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002Fspc_abc123xyz\u002Fstatus \\\n  -H \"Authorization: Bearer $SEALEGS_API_KEY\"\n```\n\n**Response (pending):**\n```json\n{\n  \"id\": \"spc_abc123xyz\",\n  \"forecast_id\": \"fcst_xyz789\",\n  \"status\": \"pending\",\n  \"created_at\": \"2025-12-01T10:30:00Z\"\n}\n```\n\n**Response (processing):**\n```json\n{\n  \"id\": \"spc_abc123xyz\",\n  \"forecast_id\": \"fcst_xyz789\",\n  \"status\": \"processing\",\n  \"created_at\": \"2025-12-01T10:30:00Z\",\n  \"progress\": {\n    \"stage\": \"ai_analysis\",\n    \"percentage\": 75\n  }\n}\n```\n\n**Response (completed):**\n```json\n{\n  \"id\": \"spc_abc123xyz\",\n  \"forecast_id\": \"fcst_xyz789\",\n  \"status\": \"completed\",\n  \"created_at\": \"2025-12-01T10:30:00Z\",\n  \"completed_at\": \"2025-12-01T10:30:45Z\",\n  \"progress\": {\n    \"stage\": \"completed\",\n    \"percentage\": 100\n  }\n}\n```\n\n## Get SpotCast\n\n**GET** `https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002F{id}`\n\nRetrieves the completed forecast with AI analysis.\n\n**Example request:**\n```bash\ncurl https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002Fspc_abc123xyz \\\n  -H \"Authorization: Bearer $SEALEGS_API_KEY\"\n```\n\n**Response (200 OK):**\n```json\n{\n  \"id\": \"spc_abc123xyz\",\n  \"created_at\": \"2025-12-01T10:30:00Z\",\n  \"coordinates\": {\n    \"latitude\": 25.7617,\n    \"longitude\": -80.1918\n  },\n  \"forecast_period\": {\n    \"start_date\": \"2025-12-05T00:00:00Z\",\n    \"end_date\": \"2025-12-06T00:00:00Z\",\n    \"num_days\": 2\n  },\n  \"trip_duration_hours\": 12,\n  \"forecast_count\": 1,\n  \"metadata\": {\n    \"location_name\": \"Miami Marina\"\n  },\n  \"latest_forecast\": {\n    \"forecast_id\": \"fcst_xyz789\",\n    \"status\": \"completed\",\n    \"created_at\": \"2025-12-01T10:30:00Z\",\n    \"completed_at\": \"2025-12-01T10:30:45Z\",\n    \"ai_analysis\": {\n      \"summary\": \"Excellent conditions expected. Light winds 8-12kt from the NE with calm 1-2ft seas.\",\n      \"daily_classifications\": [\n        {\n          \"date\": \"2025-12-05\",\n          \"classification\": \"GO\",\n          \"summary\": \"Light winds 8-12kt from NE. Seas 1-2ft. Visibility excellent at 10+ nm. No precipitation expected.\"\n        },\n        {\n          \"date\": \"2025-12-06\",\n          \"classification\": \"CAUTION\",\n          \"summary\": \"Winds increasing to 15-20kt. Seas building to 3-4ft by afternoon. Morning departure recommended.\"\n        }\n      ]\n    }\n  }\n}\n```\n\n## Refresh SpotCast\n\n**POST** `https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002F{id}\u002Frefresh`\n\nUpdates an existing forecast with the latest weather data. Costs 1 credit per forecast-day.\n\n**Optional body:**\n- `webhook_url` (string): Override webhook for this refresh\n\n**Example request:**\n```bash\ncurl -X POST https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002Fspc_abc123xyz\u002Frefresh \\\n  -H \"Authorization: Bearer $SEALEGS_API_KEY\"\n```\n\n**Response (202 Accepted):**\n```json\n{\n  \"id\": \"spc_abc123xyz\",\n  \"forecast_id\": \"fcst_newxyz789\",\n  \"status\": \"processing\",\n  \"created_at\": \"2025-12-02T08:00:00Z\",\n  \"links\": {\n    \"self\": \"https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002Fspc_abc123xyz\",\n    \"status\": \"https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002Fspc_abc123xyz\u002Fstatus\"\n  }\n}\n```\n\n## List Forecasts\n\n**GET** `https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002F{id}\u002Fforecasts`\n\nLists all forecasts for a SpotCast, sorted by creation date (newest first). Each time you create or refresh a SpotCast, a new forecast is generated.\n\n**Query parameters:**\n- `limit` (integer): Number of results to return (default: 10)\n\n**Example request:**\n```bash\ncurl \"https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002Fspc_abc123xyz\u002Fforecasts?limit=5\" \\\n  -H \"Authorization: Bearer $SEALEGS_API_KEY\"\n```\n\n**Response (200 OK):**\n```json\n{\n  \"spotcast_id\": \"spc_abc123xyz\",\n  \"data\": [\n    {\n      \"forecast_id\": \"fcst_newxyz789\",\n      \"status\": \"completed\",\n      \"created_at\": \"2025-12-02T08:00:00Z\",\n      \"completed_at\": \"2025-12-02T08:00:42Z\"\n    },\n    {\n      \"forecast_id\": \"fcst_xyz789\",\n      \"status\": \"completed\",\n      \"created_at\": \"2025-12-01T10:30:00Z\",\n      \"completed_at\": \"2025-12-01T10:30:45Z\"\n    }\n  ],\n  \"has_more\": false\n}\n```\n\n## Get Forecast\n\n**GET** `https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002F{id}\u002Fforecast\u002F{forecast_id}`\n\nRetrieves a specific forecast with full details including AI analysis. Use this to access any forecast in a SpotCast's history, not just the latest one.\n\n**Example request:**\n```bash\ncurl \"https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcast\u002Fspc_abc123xyz\u002Fforecast\u002Ffcst_xyz789\" \\\n  -H \"Authorization: Bearer $SEALEGS_API_KEY\"\n```\n\n**Response (200 OK - Completed):**\n```json\n{\n  \"forecast_id\": \"fcst_xyz789\",\n  \"spotcast_id\": \"spc_abc123xyz\",\n  \"status\": \"completed\",\n  \"created_at\": \"2025-12-01T10:30:00Z\",\n  \"completed_at\": \"2025-12-01T10:30:45Z\",\n  \"forecast_period\": {\n    \"start_date\": \"2025-12-05T00:00:00Z\",\n    \"num_days\": 2\n  },\n  \"ai_analysis\": {\n    \"summary\": \"Excellent conditions expected. Light winds 8-12kt from the NE with calm 1-2ft seas.\",\n    \"daily_classifications\": [\n      {\n        \"date\": \"2025-12-05\",\n        \"classification\": \"GO\",\n        \"summary\": \"Light winds and calm seas throughout the day.\"\n      },\n      {\n        \"date\": \"2025-12-06\",\n        \"classification\": \"CAUTION\",\n        \"summary\": \"Improving conditions with best windows in the afternoon.\"\n      }\n    ]\n  }\n}\n```\n\n**Response (200 OK - Processing):**\n```json\n{\n  \"forecast_id\": \"fcst_xyz789\",\n  \"spotcast_id\": \"spc_abc123xyz\",\n  \"status\": \"processing\",\n  \"created_at\": \"2025-12-01T10:30:00Z\",\n  \"forecast_period\": {\n    \"start_date\": \"2025-12-05T00:00:00Z\",\n    \"num_days\": 2\n  },\n  \"progress\": {\n    \"stage\": \"analyzing\",\n    \"percentage\": 65\n  }\n}\n```\n\n**Response (200 OK - Failed):**\n```json\n{\n  \"forecast_id\": \"fcst_xyz789\",\n  \"spotcast_id\": \"spc_abc123xyz\",\n  \"status\": \"failed\",\n  \"created_at\": \"2025-12-01T10:30:00Z\",\n  \"forecast_period\": {\n    \"start_date\": \"2025-12-05T00:00:00Z\",\n    \"num_days\": 2\n  },\n  \"error\": \"Processing failed\"\n}\n```\n\n## List SpotCasts\n\n**GET** `https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcasts`\n\nRetrieves all SpotCasts for your account.\n\n**Query parameters:**\n- `limit` (integer): 1-100 results (default: 20)\n- `after` (string): Cursor for pagination\n\n**Example request:**\n```bash\ncurl \"https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Fspotcasts?limit=10\" \\\n  -H \"Authorization: Bearer $SEALEGS_API_KEY\"\n```\n\n**Response (200 OK):**\n```json\n{\n  \"data\": [\n    {\n      \"id\": \"spc_abc123xyz\",\n      \"created_at\": \"2025-12-01T10:30:00Z\",\n      \"coordinates\": {\n        \"latitude\": 25.7617,\n        \"longitude\": -80.1918\n      },\n      \"start_date\": \"2025-12-05T00:00:00-05:00\",\n      \"end_date\": \"2025-12-06T23:59:59-05:00\",\n      \"num_days\": 2,\n      \"latest_forecast\": {\n        \"forecast_id\": \"fcst_xyz789\",\n        \"status\": \"completed\"\n      }\n    }\n  ],\n  \"has_more\": true,\n  \"next_cursor\": \"spc_def456\"\n}\n```\n\n---\n\n# Account\n\n## Get Balance\n\n**GET** `https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Faccount\u002Fbalance`\n\nReturns your current credit balance and usage.\n\n**Example request:**\n```bash\ncurl https:\u002F\u002Fapi.sealegs.ai\u002Fv3\u002Faccount\u002Fbalance \\\n  -H \"Authorization: Bearer $SEALEGS_API_KEY\"\n```\n\n**Response (200 OK):**\n```json\n{\n  \"credit_balance\": 100,\n  \"total_credits_purchased\": 200,\n  \"total_credits_used\": 100,\n  \"purchase_url\": \"https:\u002F\u002Fdevelopers.sealegs.ai\u002Fdashboard\u002Fbilling\"\n}\n```\n\n---\n\n# Webhooks\n\nWhen you provide a `webhook_url` during SpotCast creation or refresh, SeaLegs sends a POST request to that URL when processing completes or fails.\n\n## Webhook Headers\n\n```\nContent-Type: application\u002Fjson\nX-SeaLegs-Event: spotcast.forecast.completed\nX-SeaLegs-Signature: sha256=abc123...\nX-SeaLegs-Delivery-ID: whk_abc123xyz\nX-SeaLegs-Timestamp: 1733045400\nUser-Agent: SeaLegs-Webhooks\u002F1.0\n```\n\n## Verifying Signatures\n\nEvery webhook includes an HMAC-SHA256 signature in the `X-SeaLegs-Signature` header. Your webhook secret is available in the Developer Dashboard. Always verify the signature before processing the payload.\n\n**Python:**\n```python\nimport hmac\nimport hashlib\n\ndef verify_webhook(payload: bytes, signature: str, secret: str) -> bool:\n    expected = hmac.new(secret.encode(), payload, hashlib.sha256).hexdigest()\n    return hmac.compare_digest(f\"sha256={expected}\", signature)\n```\n\n**JavaScript:**\n```javascript\nconst crypto = require('crypto');\n\nfunction verifyWebhook(payload, signature, secret) {\n  const expected = crypto.createHmac('sha256', secret).update(payload).digest('hex');\n  return crypto.timingSafeEqual(\n    Buffer.from(`sha256=${expected}`),\n    Buffer.from(signature)\n  );\n}\n```\n\n## Completed Event\n\n```json\n{\n  \"event\": \"spotcast.forecast.completed\",\n  \"created_at\": \"2025-12-01T10:30:45Z\",\n  \"data\": {\n    \"spotcast_id\": \"spc_abc123xyz\",\n    \"forecast_id\": \"fcst_xyz789\",\n    \"status\": \"completed\",\n    \"summary\": \"Excellent conditions expected. Light winds 8-12kt from the NE with calm 1-2ft seas.\",\n    \"metadata\": {\n      \"trip_name\": \"Weekend Fishing Trip\"\n    }\n  }\n}\n```\n\nThe `summary` field is included when AI analysis completes successfully. The `metadata` object is included when you provided metadata in the original `POST \u002Fv3\u002Fspotcast` request, echoed back exactly as sent.\n\n## Failed Event\n\n```json\n{\n  \"event\": \"spotcast.forecast.failed\",\n  \"created_at\": \"2025-12-01T10:31:00Z\",\n  \"data\": {\n    \"spotcast_id\": \"spc_abc123xyz\",\n    \"forecast_id\": \"fcst_xyz789\",\n    \"status\": \"failed\",\n    \"error\": {\n      \"code\": \"processing_failed\",\n      \"message\": \"Unable to fetch weather data for the specified location\"\n    },\n    \"metadata\": {\n      \"trip_name\": \"Weekend Fishing Trip\"\n    }\n  }\n}\n```\n\n## Retry Policy\n\nFailed deliveries are retried up to 4 times: after 5 minutes, 30 minutes, 2 hours, and 24 hours.\n\n---\n\n# Understanding Results\n\n## Daily Classifications\n\nEach forecast day receives a safety classification:\n\n| Classification | Meaning |\n|----------------|---------|\n| **GO** | Safe conditions for the vessel type |\n| **CAUTION** | Proceed with awareness; conditions may be challenging |\n| **NO-GO** | Conditions not recommended for the vessel type |\n\nClassifications are adjusted based on vessel type and size when `vessel_info` is provided.\n\n## Weather Variables Analyzed\n\n- **Wind**: Speed (kts), gusts, direction (degrees)\n- **Waves**: Height (ft), period (seconds), direction, swell\n- **Visibility**: Distance (nm), fog probability\n- **Precipitation**: Probability (%), intensity\n- **Temperature**: Air and water (F\u002FC)\n\n## Vessel-Specific Adjustments\n\nWhen `vessel_info` is provided:\n- **PWC\u002FJet Ski**: Stricter wave height limits\n- **Sailboats**: Wind optimization recommendations\n- **Large Yachts**: Higher tolerance for wave conditions\n- **Small Powerboats**: Balanced wind\u002Fwave thresholds\n\n---\n\n# Error Handling\n\n## Error Response Format\n\n```json\n{\n  \"error\": {\n    \"code\": \"invalid_coordinates\",\n    \"message\": \"Latitude must be between -90 and 90\",\n    \"param\": \"latitude\"\n  }\n}\n```\n\n## HTTP Status Codes\n\n| Code | Meaning | Action |\n|------|---------|--------|\n| 200 | Success | Request completed |\n| 201 | Created | Resource created |\n| 202 | Accepted | Async processing started |\n| 400 | Bad Request | Check parameter values |\n| 401 | Unauthorized | Verify API key is correct |\n| 402 | Payment Required | Add credits at developer.sealegs.ai |\n| 403 | Forbidden | Account not verified or suspended |\n| 404 | Not Found | Check resource ID |\n| 429 | Rate Limited | Wait and retry (60 req\u002Fmin limit) |\n| 500 | Server Error | Retry after brief delay |\n\n## Error Codes\n\n### Authentication (401)\n\n| Code | Description |\n|------|-------------|\n| `missing_api_key` | No API key provided in request |\n| `invalid_api_key` | API key is not recognized |\n| `key_revoked` | API key has been revoked |\n\n### Authorization (403)\n\n| Code | Description |\n|------|-------------|\n| `account_not_verified` | Developer account has not been verified |\n| `account_suspended` | Developer account has been suspended |\n\n### Payment (402)\n\n| Code | Description |\n|------|-------------|\n| `insufficient_balance` | Not enough credits (response includes `current_balance`, `required_credits`, `purchase_url`) |\n\n### Validation (400)\n\n| Code | Description |\n|------|-------------|\n| `invalid_coordinates` | Coordinates out of valid range |\n| `invalid_date_format` | Not ISO 8601 format |\n| `invalid_webhook_url` | Not a valid HTTPS URL |\n| `invalid_preferences` | Preferences format is invalid |\n| `invalid_language` | Language not supported (use: en, es, fr, pt, it, ja) |\n| `invalid_distance_units` | Distance units not supported (use: nm, mi, km) |\n| `invalid_speed_units` | Speed units not supported (use: kts, mph, ms) |\n| `invalid_json` | Request body is not valid JSON |\n\n### Not Found (404)\n\n| Code | Description |\n|------|-------------|\n| `spotcast_not_found` | The specified SpotCast does not exist |\n| `forecast_not_found` | The specified forecast does not exist |\n\n### Rate Limit (429)\n\n| Code | Description |\n|------|-------------|\n| `rate_limit_exceeded` | Too many requests (response includes `retry_after` seconds) |\n\n### Server (500)\n\n| Code | Description |\n|------|-------------|\n| `internal_error` | An unexpected error occurred |\n| `creation_failed` | Failed to create SpotCast |\n| `retrieval_failed` | Failed to retrieve resource |\n\n---\n\n# Common Workflows\n\n## Get a Marine Forecast\n\n1. Create a SpotCast with coordinates and dates\n2. Poll the status endpoint until \"completed\"\n3. Retrieve the full forecast with AI analysis\n4. Present GO\u002FCAUTION\u002FNO-GO classification to user\n\n## Check Conditions Before a Trip\n\n1. Create SpotCast with trip coordinates and date\n2. Include vessel_info for tailored recommendations\n3. Check daily_classifications for each day\n4. Review AI summary for specific concerns\n\n---\n\n## Links\n\n- [Developer Portal](https:\u002F\u002Fdeveloper.sealegs.ai)\n- [API Documentation](https:\u002F\u002Fdeveloper.sealegs.ai\u002Fdocs\u002F)\n- [SeaLegs App](https:\u002F\u002Fsealegs.ai)\n\n## License\n\nMIT\n",{"name":5,"homepage":24,"metadata":25,"description":7},"https:\u002F\u002Fdeveloper.sealegs.ai",{"tags":26,"emoji":35,"openclaw":36},[27,28,29,30,31,32,33,34],"weather","marine","forecast","boating","sailing","ocean","waves","wind","⛵",{"requires":37,"primaryEnv":39},{"env":38,"bins":40},[39],"SEALEGS_API_KEY",[41],"curl","main","f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db","skills\u002Fsealegs-ai-coder\u002Fsealegs-marine-forecast",1,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-06-07 03:34:58",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add javimosch\u002Fopen-claw-skills --skill sealegs-marine-forecast",{"tool":57,"command":58},"bunx","bunx skills add javimosch\u002Fopen-claw-skills --skill sealegs-marine-forecast",{"tool":60,"command":61},"pnpm","pnpm dlx skills add javimosch\u002Fopen-claw-skills --skill sealegs-marine-forecast","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsealegs-ai-coder\u002Fsealegs-marine-forecast\u002FSKILL.md",true,[],[66,74,81,88,95,102],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":73},"01M778GGXG2VQ0YF31W2MKGMQZ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":73},"01M778G7BH8SBJ9FJ6C3G7CB1K","ceaser","Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir\u002FUltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":73},"01M778FYCJQZWFKKX5FYMK3S47","ceaser-send","Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir\u002FUltraHonk zero-knowledge proofs.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser-send\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":73},"01M778FQQNSEYA3HJKZBPQ4M9Z","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":73},"01M778FGVZX7QA2TF9BFMM37FY","moldium","Post and manage content on the Moldium blog platform. Triggered by \"post to Moldium\", \"write a blog post\", \"publish an article\", etc.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyom45\u002Fmoldium\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":73},"01M778F88D8PQ9MQ0KNW2TJ8ZH","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http:\u002F\u002Fweakaccept.top:8000\u002F.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[]]