跳至主要内容
小龙虾小龙虾AI
🤖

Surfline (public)

Get surf forecasts and current conditions from Surfline public endpoints (no login). Use to look up Surfline spot IDs, fetch forecasts/conditions for specific spots, and summarize multiple favorite spots.

下载1.5k
星标2
版本0.1.0
其他
安全通过
⚙️脚本

技能说明


name: surfline description: Get surf forecasts and current conditions from Surfline public endpoints (no login). Use to look up Surfline spot IDs, fetch forecasts/conditions for specific spots, and summarize multiple favorite spots.

Surfline (public, no login)

This skill uses Surfline public endpoints (no account, no cookies).

Quick start

  1. Find a spot id:
python3 scripts/surfline_search.py "Cardiff Reef"
python3 scripts/surfline_search.py "D Street"
  1. Get a report for a spot id (prints text + JSON by default):
python3 scripts/surfline_report.py <spotId>
# or only one format:
python3 scripts/surfline_report.py <spotId> --text
python3 scripts/surfline_report.py <spotId> --json
  1. Favorites summary (multiple spots) (prints text + JSON by default):

Create ~/.config/surfline/favorites.json (see references/favorites.json.example).

python3 scripts/surfline_favorites.py

Notes

  • Keep requests gentle: don’t hammer endpoints. Scripts include basic caching.
  • Spot IDs are stable; store them once.
  • If Surfline changes endpoints/fields, update scripts/surfline_client.py.

如何使用「Surfline (public)」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Surfline (public)」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能