access-garmin-health-fitness-cli

access-garmin-health-fitness-cli is a skill for Claude Code, Codex from rondoflow/rondoflow. It costs 26 tokens per session (2,649 once invoked), scanned A, original, MIT.

A command-line interface for accessing Garmin Connect health, fitness, and activity data without interactive screens.

In plain words
What is it for?
Use it to log in, check the connection, retrieve data for dates or ranges such as today or the last week, and save results as JSON or to a file.
Why use it?
It lets scripts and coding agents retrieve Garmin data in a consistent, machine-readable format instead of relying on manual browsing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to log in, check the connection, retrieve data for dates or ranges such as today or the last week, and save results as JSON or to a file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rondoflow/rondoflow/access-garmin-health-fitness-cli
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add rondoflow/rondoflow --skill access-garmin-health-fitness-cli
Clone the repo
git clone --depth 1 https://github.com/rondoflow/rondoflow

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for access-garmin-health-fitness-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/rondoflow/rondoflow/access-garmin-health-fitness-cli/github.svg)](https://agentmods.dev/skills/rondoflow/rondoflow/access-garmin-health-fitness-cli)
Your own site
<a href="https://agentmods.dev/skills/rondoflow/rondoflow/access-garmin-health-fitness-cli"><img src="https://agentmods.dev/badge/skills/rondoflow/rondoflow/access-garmin-health-fitness-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for access-garmin-health-fitness-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/rondoflow/rondoflow/access-garmin-health-fitness-cli"><img src="https://agentmods.dev/badge/skills/rondoflow/rondoflow/access-garmin-health-fitness-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,649 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00026 $0.02649
Opus 5 $0.00013 $0.01324
Sonnet 5 $0.00005 $0.00530
Haiku 4.5 $0.00003 $0.00265

Measured 12d ago against content hash 436cf7b3e118, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

access-garmin-health-fitness-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/catalog/content/skills/access-garmin-health-fitness-cli/SKILL.md · 344 lines

How it starts

The opening of the file, as written. The whole thing — 344 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Garmin Connect CLI

This skill provides access to Garmin Connect health and fitness data through the gc CLI.

Setup

  1. Install via Homebrew tap:

    brew tap voydz/homebrew-tap
    brew install garmin-cli
    
  2. Authentication:

    gc login --email [email protected] --password secret
    # With MFA:
    gc login --email [email protected] --password secret --mfa 123456
    
  3. Verify connection:

    gc status
    

Date Shortcuts

Most commands accept a date shortcut as first argument:

  • today — current date
  • yesterday — previous date
  • week — last 7 days (returns a date range)
  • month — last 30 days (returns a date range)
  • YYYY-MM-DD — specific date

For command groups with subcommands (activities, body, stress, heart, menstrual), use --date on the parent command to avoid argument conflicts. Alternatively use --date, --start/--end flags.

Output

All data commands support:

  • --format json for machine-readable output (default: table)
  • --output FILE to write to a file

Always use --format json when parsing output programmatically.

Usage

# Authentication
gc login --email EMAIL --password PASS [--mfa CODE | --wait-mfa]
gc logout
gc status
gc status --profile

# Daily Health
gc health today
gc steps today
gc steps week
gc steps --weekly --weeks N
gc steps --start DATE --end DATE
gc floors today
gc intensity today
gc intensity --weekly --weeks N
gc events today

# Heart Rate
gc heart --date today
gc heart resting --date today

# Sleep
gc sleep today

# Stress & Body Battery
gc stress --date today
gc stress --weekly --weeks N
gc stress all-day --date today
gc battery today
gc battery --start DATE --end DATE
gc battery --events today

# Vitals
gc respiration today
gc spo2 today
gc blood-pressure today [--end DATE]
gc lifestyle today

# Hydration
gc hydration today

# Activities
gc activities                                     # List recent (default 20)
gc activities --limit N --offset N --type TYPE
gc activities --start DATE --end DATE [--type TYPE]
gc activities --date today                        # Activities for a date
gc activities last                                # Most recent activity
gc activities get ID                              # Activity summary by ID
gc activities count                               # Total count
gc activities details ID
gc activities splits ID
gc activities typed-splits ID
gc activities split-summaries ID
gc activities weather ID
gc activities hr-zones ID
gc activities power-zones ID
gc activities exercise-sets ID
gc activities types                               # List all activity types
gc activities gear ID                             # Gear used for activity
gc activities progress --start DATE --end DATE --metric distance|duration|elevation
gc activities download ID --format fit|tcx|gpx|kml|csv [-o FILE]
gc activities upload FILE                         # .fit, .gpx, .tcx

# Body & Weight
gc body --date today [--end DATE]
gc body weighins --date today
gc body weighins --start DATE --end DATE

# Advanced Metrics
gc metrics                                       # Metrics summary
gc metrics --date today
gc metrics vo2max today
gc metrics hrv today
gc metrics training-readiness today
gc metrics morning-readiness today
gc metrics training-status today
gc metrics fitness-age today
gc metrics race-predictions
gc metrics race-predictions --start DATE --end DATE --type daily|monthly
gc metrics endurance-score today [--end DATE]
gc metrics hill-score today [--end DATE]
gc metrics lactate-threshold                      # Latest
gc metrics lactate-threshold --no-latest --start DATE --end DATE --aggregation daily|weekly|monthly|yearly
gc metrics cycling-ftp

# Note: `gc metrics` summary resolves `vo2max` from daily maxmet first and
# falls back to `training-status.mostRecentVO2Max` when the selected date has
# no new maxmet sample.

# Devices
gc devices                                        # List all devices
gc devices last-used
gc devices primary
gc devices settings DEVICE_ID
gc devices alarms
gc devices solar DEVICE_ID today [--end DATE]

# Goals, Records, Badges & Challenges
gc records
gc goals [--status active|future|past] [--limit N]
gc badges earned
gc badges available
gc badges in-progress
gc challenges adhoc [--start N --limit N]
gc challenges badge [--start N --limit N]
gc challenges available [--start N --limit N]
gc challenges non-completed [--start N --limit N]
gc challenges virtual [--start N --limit N]

# Gear
gc gear --user-profile USER_PROFILE_NUMBER        # List gear (profile number from gc status --profile)
gc gear defaults USER_PROFILE_NUMBER
gc gear stats GEAR_UUID
gc gear activities GEAR_UUID [--limit N]

# Workouts & Training Plans
gc workouts [--start N --limit N]
gc workouts get WORKOUT_ID
gc workouts download WORKOUT_ID [-o FILE]
gc workouts scheduled WORKOUT_ID
gc workouts create --file workout.json
gc workouts create --name "Workout Name" --sport cycling --steps '[{"type":"warmup","duration":600},{"type":"interval","duration":1200,"target":"hr_zone:2"},{"type":"cooldown","duration":600}]'
gc workouts update WORKOUT_ID --file workout.json
gc workouts update WORKOUT_ID --name "Workout Name" --sport cycling --steps '[{"type":"warmup","duration":600},{"type":"interval","duration":1200},{"type":"cooldown","duration":600}]'
gc workouts delete WORKOUT_ID
gc training-plans
gc training-plans get PLAN_ID
gc training-plans adaptive PLAN_ID

## Workouts Steps JSON Schema (`--steps`)

`--steps` expects a JSON array of step objects. Each step can be shorthand or Garmin-shaped.

Shorthand step example:
```json
{"type":"interval","duration":1200,"target":"hr_zone:2"}

Supported shorthand fields:

  • type: warmup, interval, recovery, cooldown, rest, repeat
  • duration: seconds (implies endCondition = time)
  • target: hr_zone:2, power_zone:3, pace_zone:4, heart_rate:150, power:220, cadence:90, no_target

Garmin-shaped fields (optional):

  • stepType: {"stepTypeKey":"warmup"} (or any Garmin stepType object)
  • stepOrder: integer
  • endCondition: {"conditionTypeKey":"time|distance|calories|heart_rate|cadence|power|iterations"}
  • endConditionValue: number
  • targetType: {"workoutTargetTypeKey":"no.target|heart.rate|power|speed|cadence|open|heart.rate.zone|power.zone|pace.zone"}
  • targetValue: number

For advanced Garmin payloads (repeat groups, nested steps, etc.), prefer --file with the full Garmin schema.

Menstrual Cycle

gc menstrual --date today gc menstrual calendar --start DATE --end DATE gc menstrual pregnancy

Raw API

gc api /biometric-service/biometric/latestFunctionalThresholdPower/CYCLING gc api /metrics-service/metrics/maxmet/daily/DATE/DATE gc api /metrics-service/metrics/trainingstatus/aggregated/DATE gc api --method POST --body '{"foo":"bar"}' /some/endpoint

Read the full file on GitHub · 344 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 344 lines · 26 tokens per session scan A 436cf7b3e118

Subscribe to this mod's changes

access-garmin-health-fitness-cli is a skill published in the GitHub repository rondoflow/rondoflow (19 stars, last pushed yesterday), licensed MIT. It adds 26 tokens to every session and 2,649 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.