Overview
- Skill Key
- dgorissen/stormglass
- Author
- dgorissen
- Source Repo
- openclaw/skills
- Version
- 1.0.2
- Source Path
- skills/dgorissen/stormglass
- Latest Commit SHA
- 3f08df399eb143ef17e933660fafed80e8b45772
Fetch surf-relevant ocean conditions from Stormglass by spot name or coordinates, including current snapshot and 1-3 day forecast windows with tides, gusts, and water temperature. Use when users ask for surf reports, wave or swell conditions, tide timing, wind, gusts, or water temperature for a beach or surf spot.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 stormglass-surf-skill 技能。 若已安装,则直接安装 stormglass-surf-skill 技能。
# Stormglass Surf Skill ## Purpose Produce machine-readable surf condition data for cron-driven agent pipelines. This 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. ## Inputs Provide exactly one location mode: - `--location "Spot name"` (optional country/region in string), or - `--lat <float> --lon <float>` Optional controls: - `--horizon now|24h|48h|72h` (default `72h`) - `--output json|pretty` (default `json`, recommended for automation) - `--source <comma-separated provider list>` - `--mock` (offline deterministic data; useful for tests) ## Required Environment Variables - `STORMGLASS_API_KEY` for Stormglass requests - `GOOGLE_GEOCODING_API_KEY` optional for `--location` (if absent, script falls back to OpenStreetMap Nominatim) In `--mock` mode, no API keys are required. ### Credential Matrix | Mode | `STORMGLASS_API_KEY` | `GOOGLE_GEOCODING_API_KEY` | |---|---|---| | `--mock` | not required | not required | | live `--lat/--lon` | required | not required | | live `--location` with Google | required | optional (preferred when set) | | live `--location` with OSM fallback | required | not required | Primary credential is `STORMGLASS_API_KEY`. ## Execution Commands JSON output for cron: ```bash python scripts/surf_report.py --location "Highcliffe Beach" --horizon 72h --output json ``` Direct coordinates: ```bash python scripts/surf_report.py --lat 50.735 --lon -1.705 --horizon 24h --output json ``` Offline test run: ```bash python scripts/surf_report.py --location "Highcliffe Beach" --horizon now --mock --output json ``` ## Output Contract (JSON-first) Top-level keys are stable: - `meta`: request metadata, timestamps, input mode, optional warnings - `location`: resolved place details and coordinates - `now`: instantaneous surf-relevant metrics - `forecast`: horizon summaries and best windows - `tides`: tide extrem...
# Stormglass Surf Skill An OpenClaw-friendly surf data skill that fetches current and 1-3 day ocean forecasts from Stormglass, including: - wave height - swell height/period/direction - wind speed/direction - wind gusts - water temperature - high/low tide extremes It supports querying by: - surf spot name (`--location`, with geocoding), or - direct coordinates (`--lat` + `--lon`). ## Project Layout - `SKILL.md` - skill contract and agent handoff guidance - `scripts/surf_report.py` - main CLI - `scripts/test_surf_report.py` - CLI test runner - `scripts/normalize_surf_data.py` - optional schema normalizer - `examples.md` - practical command/pipeline examples - `reference.md` - API mapping, schema, and behavior details ## Requirements - Python 3.10+ - Stormglass API key for non-mock runs - Google Geocoding key optional (if absent, location mode falls back to OpenStreetMap Nominatim) ## Environment Variables - `STORMGLASS_API_KEY` - required for live Stormglass requests - `GOOGLE_GEOCODING_API_KEY` - optional; used when present for `--location` ### Credential Matrix | Mode | `STORMGLASS_API_KEY` | `GOOGLE_GEOCODING_API_KEY` | |---|---|---| | `--mock` (offline tests) | not required | not required | | live with `--lat/--lon` | required | not required | | live with `--location` + Google geocoder | required | optional (preferred when set) | | live with `--location` + OSM fallback | required | not required | Primary credential for this skill is `STORMGLASS_API_KEY`. ## Quick Start From repository root: ```bash # 1) Offline smoke test (no keys required) python3 scripts/surf_report.py --location "Highcliffe Beach" --horizon now --mock --output pretty # 2) Live request by coordinates (Stormglass key required) export STORMGLASS_API_KEY="..." python3 scripts/surf_report.py --lat 50.735 --lon -1.705 --horizon 24h --output json # 3) Live request by location (Google optional; OSM fallback if missing) python3 scripts/surf_report.py --location "Highcliffe Beach" --ho...
capt-marbles
Control PhantomBuster automation agents via API. List agents, launch automations, get output/results, check status, and abort running agents. Use when the user needs to run LinkedIn scraping, Twitter automation, lead generation phantoms, or any PhantomBuster workflow.
coderaven
Personal knowledge base for capturing and retrieving information about people, places, restaurants, games, tech, events, media, ideas, and organizations. Use when: user mentions a person, place, restaurant, landmark, game, device, event, book/show, idea, or company. Trigger phrases: "remember", "note that", "met this person", "visited", "played", "what do I know about", etc. Brain entries take precedence over daily logs for named entities.
cutthemustard
Forward/reverse geocoding and great-circle distance calculations.
cotyledonlab
Find nearby takeaways in Ireland and browse menus via Deliveroo/Just Eat. Uses Google Places API for discovery and browser automation for menu scraping.
coreyleung-art
使用百度地图Web服务API进行地点搜索、天气查询、路线规划和地理编码。
coreyleung-art
腾讯地图Web服务API集成,用于地点搜索、路线规划、逆地理编码等功能