Skip to content
Agentmart
Submit a tool

garmin

Query Garmin Connect health and fitness data including activities, sleep, heart rate, HRV, stress, and body battery.

Skill by eddmann

IndexedMIT★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/eddmann-garmin

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Query Garmin Connect health and fitness data including activities, sleep, heart rate, HRV, stress, and body battery. Use when the user asks about their Garmin data, "how did I sleep", "resting heart rate", "HRV", "stress levels", "body battery", "training status", "Garmin activities", or wants to analyze health metrics from Garmin Connect.

Use cases: data

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/garmin

What's inside

Skill name
garmin
Description
Query Garmin Connect health and fitness data including activities, sleep, heart rate, HRV, stress, and body battery. Use when the user asks about their Garmin data, "how did I sleep", "resting heart rate", "HRV", "stress levels", "body battery", "training status", "Garmin activities", or wants to analyze health metrics from Garmin Connect.
License
MIT
Instructions
216 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Garmin Connect Skill

Query Garmin Connect health data by writing UV inline Python scripts using garminconnect.

## Setup

### Credentials

Requires `GARMIN_EMAIL` and `GARMIN_PASSWORD` in `workspace/.env`.

If not set, ask the user for their Garmin email and password, then append to `.env`:

```bash
echo 'GARMIN_EMAIL=their_email' >> .env
echo 'GARMIN_PASSWORD=their_password' >> .env
```

Consider using app-specific passwords if the user has 2FA enabled.

### Authentication

Once credentials are in `.env`, authenticate and save the session:

```bash
set -a; source .env 2>/dev/null; set +a; uv run - <<'EOF'
# /// script
# requires-python = ">=3.11"
# dependencies = ["garminconnect>=0.2.38"]
# ///
import os
from pathlib import Path
from garminconnect import Garmin

client = Garmin(os.environ["GARMIN_EMAIL"], os.environ["GARMIN_PASSWORD"], return_on_mfa=True)
result1, result2 = client.login()

if result1 == "needs_mfa":
    print("MFA_REQUIRED")
else:
    client.garth.dump("garmin-session")
    Path("garmin-session").chmod(0o700)
    print(f"SUCCESS: Logged in as {client.get_full_name()}")
EOF
```

If the output contains `MFA_REQUIRED`, ask the user for their MFA code, then run:

```bash
set -a; source .env 2>/dev/null; set +a; uv run - MFA_CODE_HERE <<'EOF'
# /// script
# requires-python = ">=3.11"
# dependencies = ["garminconnect>=0.2.38"]
# ///
import os, sys
from pathlib import Path
from garminconnect import Garmin

client = Garmin(os.environ["GARMIN_EMAIL"], os.environ["GARMIN_PASSWORD"], return_on_mfa=True)
result1, result2 = client.login()
client.resume_login(result2, sys.argv[1])

client.garth.dump("garmin-session")
Path("garmin-session").chmod(0o700)
print(f"SUCCESS: Logged in as {client.get_full_name()}")
EOF
```

Session is saved to `workspace/garmin-session/` and lasts ~1 year.

## Query Template

```bash
set -a; source .env 2>/dev/null; set +a; uv run - <<'EOF'
# /// script
# requires-python = ">=3.11"
# dependencies = ["garminconnect>=0.2.38"]
# ///
from datetime import date, timedelta
from pathlib import Path
from garminconnect import Garmin

TOKEN_DIR = Path("garmin-session")
if not TOKEN_DIR.exists():
    print("ERROR: Not authenticated — run Garmin setup first")
    exit(1)

client = Garmin()
client.login(str(TOKEN_DIR))

today = date.today().isoformat()

# === YOUR QUERY CODE HERE ===
stats = client.get_stats(today)
print(f"Steps: {stats.get('totalSteps', 0):,}")
EOF
```

## API Reference

### Health Methods

| Method                         | Description                                           |
| ------------------------------ | ----------------------------------------------------- |
| `get_stats(date)`              | Daily summary (steps, calories, HR, stress durations) |
| `get_sleep_data(date)`         | Sleep stages and scores                               |
| `get_heart_rates(date)`        | Heart rate summary                                    |
| `get_hrv_data(date)`           | Heart rate variability                                |
| `get_stress_data(date)`        | Stress levels (avg/max only, durations in get_stats)  |
| `get_body_battery(start, end)` | Body battery readings                                 |

### Activity Methods

| Method                               | Description               |
| ------------------------------------ | ------------------------- |
| `get_activities(start, limit)`       | List recent activities    |
| `get_activities_by_date(start, end)` | Activities in date range  |
| `get_activity(id)`                   | Single activity details   |
| `get_training_status(date)`          | Training load and VO2 max |

From eddmann/jeeves, MIT.

Signals

Stars
2
Forks
1
Open issues
0
Last commit (this folder)
Feb 12, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from eddmann

Cite this page

garmin skill. Agent Mart. https://agentmart.dev/skills/eddmann-garmin (last updated 2026-10-24)