تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

stormglass

بواسطة dgorissen

Coding Agents & IDEs
315التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Fetch surf-relevant ocean conditions from Stormglass by spot name or coordinates, including current snapshot.

الوصف

ما الذي تفعله هذه المهارة

Fetches ocean and surf conditions from Stormglass by spot name or coordinates. Returns a structured JSON payload covering wave height, swell, wind, gusts, tides, and water temperature. Supports current snapshots and forecast windows up to 72 hours.

The stable JSON output contract and explicit exit codes make it reliable for automated agent pipelines without additional normalization work.

متى تستخدمها

  • Check surf conditions before heading to the beach
  • Get tide timing for a specific coastal location
  • Pull wind and gust data for a kitesurfing session
  • Automate daily surf reports via cron pipeline
  • Test offline with mock data before going live

مثال على سير العمل

الإدخال

User asks: What are the surf conditions at Highcliffe Beach for the next 48 hours?

الوكيل
  1. 1

    Resolve spot name to coordinates using Google Geocoding or OSM Nominatim fallback

  2. 2

    Call Stormglass API with resolved coordinates and 48h horizon

  3. 3

    Parse response into structured JSON with wave, swell, wind, and tide fields

  4. 4

    Return forecast summary including best windows and tide extremes

الإخراج

JSON payload with waveHeightM, swellPeriodS, windGustMps, waterTemperatureC, and tide extremes for the next 48 hours

المتطلبات

  • STORMGLASS_API_KEY environment variable
  • GOOGLE_GEOCODING_API_KEY environment variable (optional, falls back to OpenStreetMap)

التثبيت

clawhub install dgorissen/stormglass

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط