Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

pp-surfline

БесплатноБез исполняемых скриптовНе проверен

Every Surfline forecast, scriptable from your terminal — plus multi-spot ranking, a local forecast journal Trigger phrases: `is it worth surfing at <spot>`…

mvanhornот mvanhorn★ 2 170 звёзд на GitHub

Об этом скилле

Surfline — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the surfline-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    npx -y @mvanhorn/printing-press-library install surfline --cli-only
    
  2. Verify: surfline-pp-cli --version
  3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer). This installs into $GOPATH/bin (default $HOME/go/bin), so add that directory to $PATH instead:

go install github.com/mvanhorn/printing-press-library/library/other/surfline/cmd/surfline-pp-cli@latest

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

Pulls wave, swell, wind, tide, weather, conditions and rating straight from Surfline's API over a browser-fingerprint transport that clears Cloudflare. The differentiators live in the local SQLite store: 'rank' scans a set of spots and sorts them best-first (Surfline's own comparison is web-only), 'now' collapses one spot's next hours into a paddle/no-paddle readout, 'windows' finds the daylight blocks worth surfing, and 'alert run' evaluates your own threshold rules for cron.

When to Use This CLI

Use this CLI when an agent or script needs Surfline forecast data as structured output: checking whether one break is worth surfing, ranking several spots to choose between them, finding the good daylight windows, or evaluating user-defined surf-condition alerts on a schedule. It is the right tool when you want raw swell/wind/tide numbers rather than a star rating, or a local history of how forecasts read over time.

Anti-triggers

Do not use this CLI for:

  • Do not use this CLI to watch live cam video — it returns cam still/stream/rewind URLs, not a video stream.
  • Do not use it for global non-Surfline weather or for spots Surfline doesn't cover; use a weather API instead.
  • Do not use it to book sessions, post to Surfline, or manage a Surfline account — it is read-only forecast tooling.
  • Do not rely on >6-day forecasts without a premium token; those horizons are gated.

Unique Capabilities

These capabilities aren't available in any other tool for this API.

Decision-shaped readouts

  • now — One spot's next few hours as a paddle/no-paddle line readout: swell, wind, tide and rating joined per hour.

    Reach for this when an agent needs a go/no-go answer for one break without parsing five separate forecast payloads.

    surfline-pp-cli now 5842041f4e65fad6a7708807 --agent
    
  • rank — Score and sort several spots best-first on a transparent sum of wave, wind and swell optimalScore.

    Reach for this to pick today's best break from a set instead of opening N forecast pages.

    surfline-pp-cli rank 5842041f4e65fad6a7708807 5842041f4e65fad6a7708cfd --agent
    
  • windows — Emit only the contiguous time blocks where wave, wind and swell optimalScore are all good, daylight-only.

    Reach for this to find the good time slots at one spot without eyeballing an hourly graph.

    surfline-pp-cli windows 5842041f4e65fad6a7708807 --days 3 --agent
    

Raw data for scripts

  • raw — Pipe-friendly table/JSON of min/max/optimalScore/humanRelation plus swell components and wind directionType/gust, no rating editorializing.

    Reach for this when an agent needs raw numbers to feed its own scoring instead of a pre-judged rating.

    surfline-pp-cli raw 5842041f4e65fad6a7708807 --agent --select data.wave.surf.max,data.wave.swells.period
    
  • buoy-check — Show nearby-buoy observed swell against the spot's wave forecast for the same window, side by side.

    Reach for this to tell whether the forecast is tracking the actual buoy readings before trusting it.

    surfline-pp-cli buoy-check 5842041f4e65fad6a7708807 --agent
    

Local state that compounds

  • alert run — Store swell/wind/tide threshold rules locally; alert run fetches a fresh forecast, evaluates them, prints matches and sets an exit code for cron.

    Reach for this in unattended/cron contexts to get a nonzero exit when conditions a user defined are met.

    su
    
Полный SKILL.md на GitHub

Установить pp-surfline в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash

FAQ

Что делает скилл pp-surfline?

Every Surfline forecast, scriptable from your terminal — plus multi-spot ranking, a local forecast journal Trigger phrases: `is it worth surfing at <spot>`, `rank these surf spots`, `surf forecast for <spot>`, `check the swell and wind at <spot>`, `when is it good to surf this week`, `use surfline`, `run surfline`.

Как установить скилл pp-surfline?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pp-surfline запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить pp-surfline с