Garmin용 Claude 코드 추적기
hackernews
|
|
📦 오픈소스
#anthropic
#claude
#머신러닝/연구
원문 출처: hackernews · Genesis Park에서 요약 및 분석
요약
이 도구는 Claude Code 코딩 세션의 데이터를 실제 가민(Garmin) 활동으로 기록해주는 기능을 제공합니다. 시계는 손목 심박수와 함께 토큰 처리 속도, 도구 사용 빈도, 추정 서버 와트 등 사용자 정의 그래프를 SPORT_GENERIC 활동으로 캡처합니다. 모든 데이터는 로컬 데몬과 Cloudflare 터널을 통해 안전하게 사용자의 시계로만 전송되며, 제3자나 앤트로픽으로 전송되지 않습니다.
본문
Records your Claude Code sessions as real Garmin activities. While you code, your watch captures a SPORT_GENERIC activity with your wrist heart rate alongside custom graphs: tokens/sec, tools/min, estimated server-side watts, and cumulative tokens. The activity syncs to Garmin Connect like any workout. You found this on the internet. Before running any of this: - Read IMPLEMENTATION_PLAN.md — it describes the full architecture, what runs on your machine, and what leaves it. - The daemon runs locally and exposes your laptop to the internet via a Cloudflare Tunnel. It only talks to your own watch, authenticated by a bearer key you generate. Nothing goes to Anthropic or any third party. - The watch app is sideloaded — it is never submitted to the Connect IQ Store. - No Anthropic credentials are involved anywhere. The daemon reads Claude Code's local session files, it does not proxy the API. If any of that sounds wrong for your situation, don't install it. - A Claude Code subscription and the claude CLI - A Garmin watch from the supported list (see IMPLEMENTATION_PLAN.md §4.1 ) - macOS or Linux (Windows requires WSL2) - A free Cloudflare account if you want a stable tunnel URL (optional — there's a no-account quick-tunnel path too) There are no manual install instructions. The install is driven by a Claude Code skill in this repo. - Clone the repo and open it in Claude Code - Say: "install the claude code activity tracker" Claude will walk you through prerequisites, daemon setup, tunnel choice, building the watch app for your specific device, and sideloading it. Claude Code session (your laptop) │ reads local JSONL session files ▼ Daemon (Node, port 7842, localhost only) │ exposed via Cloudflare Tunnel ▼ Your Garmin watch ──────────────────────────────────────▶ Garmin Connect polls every 2s, writes FIT fields activity + graphs The daemon tails Claude Code's local session JSONL files — no API calls, no Anthropic credentials. A Cloudflare Tunnel (quick ephemeral or named stable) bridges the laptop and watch. Bearer key authentication, 404-on-bad-auth, localhost-only binding. SPORT_GENERIC / SUB_SPORT_GENERIC with real wrist HR. This activity type does not affect VO2 max, training load meaningfully, or Strava run/ride totals. Garmin Connect's per-activity "Don't include in stats" toggle is the escape hatch if you want zero influence on health rollups. Full analysis in IMPLEMENTATION_PLAN.md §8 . MIT
Genesis Park 편집팀이 AI를 활용하여 작성한 분석입니다. 원문은 출처 링크를 통해 확인할 수 있습니다.
공유