Command Palette

Search for a command to run...

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

pp-garmin

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

Your whole Garmin history in a local database, not one 28-day page at a time. Trigger phrases: `how did I sleep this month`, `sleep trend for the last 90…

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

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

Garmin Connect — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the garmin-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 garmin --cli-only
    
  2. Verify: garmin-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/health/garmin/cmd/garmin-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.

Garmin Connect caps every daily-stats request at 28 calendar days and issues no personal API token, which is why its ecosystem is a handful of Python libraries rather than a tool an agent can call. history walks the whole account into a local SQLite archive, oldest day first, and insights sleep and insights training answer months-long sleep, training-load and heart-rate-zone questions from that archive with JSON on stdout. auth login keeps each household account in its own home and refuses to store a token that belongs to somebody else.

When to Use This CLI

Reach for this CLI for questions about the owner's own Garmin Connect history: sleep and training trends, VO2 max, resting heart rate, step and intensity-minute totals, heart-rate zones, and the activity feed. It earns its keep on questions that span weeks or years, because those are answered from the local archive instead of from Garmin's 28-day pages. Do not reach for it before the archive is filled: an unfilled archive answers every trend question with nulls and a hint naming history, which is an honest answer but not the one the user asked for.

Anti-triggers

Do not use this CLI for:

  • Writing anything back to Garmin Connect. Every command here reads.
  • Another household member's account from this home. Each account needs its own login in its own home.
  • A live device readout. A metric appears here only after the watch or bike computer has synced to Garmin Connect.
  • Strava, Apple Health, Whoop or Oura data, which live in their own services.

Unique Capabilities

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

Questions answered from the archive

  • insights sleep — Duration, score, stage split and resting heart rate for a window of nights, with the equally long window before it beside them.

    Pick this over per-night endpoint calls whenever the question spans more than a few nights: one local read replaces one request per night, and nights the watch did not measure are counted as missing rather than as zero.

    garmin-pp-cli insights sleep --days 90 --agent --select period,coverage.nights_with_stats,duration_minutes.avg,score.avg
    
  • insights training — Archived activities grouped by type with their time and distance, time summed per heart-rate zone, weekly load buckets, and the VO2-max and readiness trends beside them.

    Pick this over the activity feed when the question is about volume, intensity or balance rather than one workout; it reports how many activities had zones archived so a strapless ride is not read as easy training.

    garmin-pp-cli insights training --days 28 --agent --select totals,by_type.type,by_type.duration_minutes,hr_zones
    

Local state that compounds

  • history — Fills a local SQLite archive of every Garmin daily series from the oldest day forward, keeping one bookmark per series so an interrupted run resumes instead of restarting.

    Run this before any question that reaches past the last 28 days: --since all or --since YYYY-MM-DD is the only depth control it offers, --status reports what each series still owes, --strict makes a scheduled run exit non-zero instead of warning past a series that did not answer, and every insights command reads the archive rather than the API.

    garmin-pp-cli history --since all
    
  • sql — Ask the archive anything in SQL: one read-only SELECT across every series history has filled.

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

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

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

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

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

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

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

Read
Bash

FAQ

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

Your whole Garmin history in a local database, not one 28-day page at a time. Trigger phrases: `how did I sleep this month`, `sleep trend for the last 90 days`, `training load and time in heart rate zones`, `vo2 max trend`, `fill the garmin archive`, `use garmin connect`, `run garmin`.

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

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

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

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

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

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