Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

garmin-tracker

bởi ricardotrevisan

Web & Frontend Development
463Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Rebuild and maintain garmin_tracking.json from Garmin web data (activities + training plan) with a fixed schema.

Mô tả

Kỹ năng này làm gì

Rebuilds and maintains garmin_tracking.json by scraping Garmin Connect for activity history and training plan data. The start date is fixed at 2026-02-01, and all activity data is normalized into a canonical schema with fields like distanceKm, durationSec, and avgHrBpm.

Automates the full rebuild cycle from browser session reuse to schema validation, so no manual Garmin export or data wrangling is needed.

Khi nào nên dùng

  • Syncing Garmin run history after completing a training week
  • Refreshing upcoming training plan weeks in a local JSON file
  • Rebuilding garmin_tracking.json after schema changes or data corruption
  • Validating canonical activity fields across a full training history
  • Tracking cumulative training summary from a fixed control start date

Quy trình ví dụ

ĐẦU VÀO

User asks: Sync my Garmin training data and rebuild the tracking file

AGENT
  1. 1

    Opens Garmin activities list page and collects all activities from 2026-02-01 onward

  2. 2

    Opens Garmin training plan page to refresh currentWeek and upcoming fields

  3. 3

    Rebuilds history array with canonical activity shape (type, distanceKm, durationSec, avgPaceSecPerKm, avgHrBpm, calories, sourceId)

  4. 4

    Recomputes summary totals and sets summary.to to today's date

  5. 5

    Runs reconcile_tracking.py to validate the schema and write the final file

ĐẦU RA

garmin_tracking.json updated with current activity history, recomputed summary, and refreshed upcoming training plan

Yêu cầu

  • Garmin Connect account

Cài đặt

clawhub install ricardotrevisan/garmin-tracker

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết