{
  "schemaVersion": "1.0",
  "item": {
    "slug": "garmin-connect-thebyteio",
    "name": "Garmin",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/vegasbrianc/garmin-connect-thebyteio",
    "canonicalUrl": "https://clawhub.ai/vegasbrianc/garmin-connect-thebyteio",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/garmin-connect-thebyteio",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=garmin-connect-thebyteio",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/cache-daily.sh",
      "scripts/garmin-login.sh",
      "scripts/get-stats.py",
      "scripts/get-stats.sh",
      "scripts/morning-summary.sh"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/garmin-connect-thebyteio"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/garmin-connect-thebyteio",
    "agentPageUrl": "https://openagent3.xyz/skills/garmin-connect-thebyteio/agent",
    "manifestUrl": "https://openagent3.xyz/skills/garmin-connect-thebyteio/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/garmin-connect-thebyteio/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Garmin Connect Integration Skill",
        "body": "Deep fitness metrics from Garmin Connect for enhanced training insights and recovery-aware nudges."
      },
      {
        "title": "Features",
        "body": "Training Status: Recovery time, training load, VO2 max\nSleep Analysis: Duration, quality, sleep stages\nBody Battery: Energy levels throughout day\nDaily Readiness: Is Brian recovered enough to train hard?\nHeart Rate: Resting HR trends, stress levels\nActivity Details: More detailed metrics than Strava"
      },
      {
        "title": "Why Garmin + Strava?",
        "body": "Strava: Social, activities, segments, ride tracking\nGarmin: Physiological metrics, recovery, sleep, training load\n\nCombined = Smart nudges that respect recovery status!"
      },
      {
        "title": "1. Install Dependencies",
        "body": "pip3 install garminconnect --break-system-packages\n# Or using a virtual environment (recommended):\n# python3 -m venv ./venv\n# source ./venv/bin/activate\n# pip install garminconnect"
      },
      {
        "title": "2. Store Credentials in 1Password",
        "body": "Create a new \"Login\" item in your 1Password vault (e.g., \"Personal\") with the following details:\n\nTitle: Garmin Connect (or a custom name you prefer)\nUsername: Your Garmin Connect email address\nPassword: Your Garmin Connect password\n\nIf you use a custom title or a different vault, set the GARMIN_1P_ITEM_NAME and GARMIN_1P_VAULT environment variables before running the scripts.\nExample:\n\nexport GARMIN_1P_ITEM_NAME=\"My Garmin Login\"\nexport GARMIN_1P_VAULT=\"MyFamilyVault\"\n\nEnsure your OP_SERVICE_ACCOUNT_TOKEN is set up for 1Password CLI authentication:\n\nexport OP_SERVICE_ACCOUNT_TOKEN=$(cat ~/.config/op/service-account-token)"
      },
      {
        "title": "3. Test Connection",
        "body": "./scripts/garmin-login.sh"
      },
      {
        "title": "Get Today's Stats",
        "body": "./scripts/get-stats.sh\n\nReturns:\n\nBody battery (current/forecast)\nSleep last night\nTraining status\nRecovery time remaining\nResting heart rate"
      },
      {
        "title": "Get Sleep Data",
        "body": "./scripts/get-sleep.sh [days_back]\n\nReturns sleep duration, quality, stages for last N days."
      },
      {
        "title": "Check Recovery Status",
        "body": "./scripts/check-recovery.sh\n\nReturns whether Brian is recovered enough for hard training."
      },
      {
        "title": "Integration with Strava Nudges",
        "body": "Enhanced decision logic:\n\nBefore nudging for a hard workout:\n\nCheck Garmin recovery time\nCheck body battery level\nCheck sleep quality last night\nAdjust intensity recommendation\n\nExample:\n\nStrava says: \"Thursday tempo ride\"\nGarmin says: \"Recovery time: 24h, body battery: 45%\"\nNudge becomes: \"Thursday ride scheduled, but recovery still needed. Easy Zone 2 instead of tempo today?\""
      },
      {
        "title": "Stats Object",
        "body": "{\n  \"body_battery\": {\n    \"current\": 75,\n    \"charged\": true,\n    \"forecast\": 85\n  },\n  \"sleep\": {\n    \"duration_hours\": 7.2,\n    \"quality\": \"good\",\n    \"deep_sleep_hours\": 1.8,\n    \"rem_hours\": 1.5\n  },\n  \"training_status\": {\n    \"status\": \"productive\",\n    \"vo2_max\": 52,\n    \"recovery_time_hours\": 12\n  },\n  \"heart_rate\": {\n    \"resting\": 48,\n    \"current\": 62,\n    \"stress_level\": 25\n  }\n}"
      },
      {
        "title": "Scenario 1: Poor Sleep + Hard Workout Day",
        "body": "Without Garmin: \"Thursday tempo ride time!\"\nWith Garmin: \"You only got 5 hours sleep last night. Maybe take today easy? Light Zone 2 or rest.\""
      },
      {
        "title": "Scenario 2: Recovered + Good Conditions",
        "body": "Without Garmin: \"Tuesday ride day\"\nWith Garmin: \"Fully recovered (body battery 85%, 8h sleep) + perfect weather. Great day for that tempo ride! 🚴\""
      },
      {
        "title": "Scenario 3: High Stress Day",
        "body": "Without Garmin: \"Evening gym time!\"\nWith Garmin: \"Stress level high today (68). Maybe skip gym and prioritize recovery?\""
      },
      {
        "title": "Morning Briefing Enhancement",
        "body": "Current:\n\n🚴 Fitness Update:\nLast ride: 2 days ago\nThis week: 3 rides, 87km\n\nWith Garmin:\n\n🚴 Fitness Update:\n**Sleep:** 7.5h (good quality, 2h deep)\n**Recovery:** ✅ Fully recovered\n**Body Battery:** 82% (charged overnight)\n**Resting HR:** 48 bpm (normal)\n\nLast ride: 2 days ago\nThis week: 3 rides, 87km\n**Training Status:** Productive (VO2 max: 52)"
      },
      {
        "title": "Configuration",
        "body": "Edit config.json (create if it doesn't exist):\n\n{\n  \"recovery_thresholds\": {\n    \"body_battery_low\": 40,\n    \"body_battery_good\": 70,\n    \"min_sleep_hours\": 6.5,\n    \"max_recovery_time_hours\": 12\n  },\n  \"nudge_modifications\": {\n    \"respect_recovery\": true,\n    \"downgrade_intensity_if_tired\": true,\n    \"skip_gym_if_high_stress\": true\n  }\n}\n\nNote: This config.json should be created in the skill's root directory (/root/clawd/skills/garmin/)."
      },
      {
        "title": "API Reference",
        "body": "Using garminconnect Python library:\n\nget_stats() - Daily stats summary\nget_sleep_data() - Sleep metrics\nget_body_battery() - Energy levels\nget_training_status() - Training load, recovery\nget_heart_rates() - HR data\n\nRate limits: No official limit, but be reasonable (cache data, don't spam)."
      },
      {
        "title": "Dependencies",
        "body": "Python 3.7+\ngarminconnect library\n1Password CLI (op)\njq for JSON parsing (if needed by other scripts)"
      },
      {
        "title": "Privacy",
        "body": "✅ Credentials stored in 1Password\n✅ Session tokens cached temporarily in /tmp/garmin-session/\n✅ Data queried on-demand, not stored long-term by the skill (though the system might cache in /root/clawd/data/fitness/garmin/ as per TOOLS.md)\n✅ No external sharing\n✅ Read-only access to Garmin"
      },
      {
        "title": "Future Enhancements",
        "body": "Correlate sleep quality → work productivity\nPredict when Brian will be recovered\nCompare son's Garmin data (if he has one)\nLong-term trends (fitness improving?)"
      }
    ],
    "body": "Garmin Connect Integration Skill\n\nDeep fitness metrics from Garmin Connect for enhanced training insights and recovery-aware nudges.\n\nFeatures\nTraining Status: Recovery time, training load, VO2 max\nSleep Analysis: Duration, quality, sleep stages\nBody Battery: Energy levels throughout day\nDaily Readiness: Is Brian recovered enough to train hard?\nHeart Rate: Resting HR trends, stress levels\nActivity Details: More detailed metrics than Strava\nWhy Garmin + Strava?\n\nStrava: Social, activities, segments, ride tracking\nGarmin: Physiological metrics, recovery, sleep, training load\n\nCombined = Smart nudges that respect recovery status!\n\nSetup\n1. Install Dependencies\npip3 install garminconnect --break-system-packages\n# Or using a virtual environment (recommended):\n# python3 -m venv ./venv\n# source ./venv/bin/activate\n# pip install garminconnect\n\n2. Store Credentials in 1Password\n\nCreate a new \"Login\" item in your 1Password vault (e.g., \"Personal\") with the following details:\n\nTitle: Garmin Connect (or a custom name you prefer)\nUsername: Your Garmin Connect email address\nPassword: Your Garmin Connect password\n\nIf you use a custom title or a different vault, set the GARMIN_1P_ITEM_NAME and GARMIN_1P_VAULT environment variables before running the scripts. Example:\n\nexport GARMIN_1P_ITEM_NAME=\"My Garmin Login\"\nexport GARMIN_1P_VAULT=\"MyFamilyVault\"\n\n\nEnsure your OP_SERVICE_ACCOUNT_TOKEN is set up for 1Password CLI authentication:\n\nexport OP_SERVICE_ACCOUNT_TOKEN=$(cat ~/.config/op/service-account-token)\n\n3. Test Connection\n./scripts/garmin-login.sh\n\nUsage\nGet Today's Stats\n./scripts/get-stats.sh\n\n\nReturns:\n\nBody battery (current/forecast)\nSleep last night\nTraining status\nRecovery time remaining\nResting heart rate\nGet Sleep Data\n./scripts/get-sleep.sh [days_back]\n\n\nReturns sleep duration, quality, stages for last N days.\n\nCheck Recovery Status\n./scripts/check-recovery.sh\n\n\nReturns whether Brian is recovered enough for hard training.\n\nIntegration with Strava Nudges\n\nEnhanced decision logic:\n\nBefore nudging for a hard workout:\n\nCheck Garmin recovery time\nCheck body battery level\nCheck sleep quality last night\nAdjust intensity recommendation\n\nExample:\n\nStrava says: \"Thursday tempo ride\"\nGarmin says: \"Recovery time: 24h, body battery: 45%\"\nNudge becomes: \"Thursday ride scheduled, but recovery still needed. Easy Zone 2 instead of tempo today?\"\nData Structure\nStats Object\n{\n  \"body_battery\": {\n    \"current\": 75,\n    \"charged\": true,\n    \"forecast\": 85\n  },\n  \"sleep\": {\n    \"duration_hours\": 7.2,\n    \"quality\": \"good\",\n    \"deep_sleep_hours\": 1.8,\n    \"rem_hours\": 1.5\n  },\n  \"training_status\": {\n    \"status\": \"productive\",\n    \"vo2_max\": 52,\n    \"recovery_time_hours\": 12\n  },\n  \"heart_rate\": {\n    \"resting\": 48,\n    \"current\": 62,\n    \"stress_level\": 25\n  }\n}\n\nSmart Nudge Enhancement Examples\nScenario 1: Poor Sleep + Hard Workout Day\n\nWithout Garmin: \"Thursday tempo ride time!\"\nWith Garmin: \"You only got 5 hours sleep last night. Maybe take today easy? Light Zone 2 or rest.\"\n\nScenario 2: Recovered + Good Conditions\n\nWithout Garmin: \"Tuesday ride day\"\nWith Garmin: \"Fully recovered (body battery 85%, 8h sleep) + perfect weather. Great day for that tempo ride! 🚴\"\n\nScenario 3: High Stress Day\n\nWithout Garmin: \"Evening gym time!\"\nWith Garmin: \"Stress level high today (68). Maybe skip gym and prioritize recovery?\"\n\nMorning Briefing Enhancement\n\nCurrent:\n\n🚴 Fitness Update:\nLast ride: 2 days ago\nThis week: 3 rides, 87km\n\n\nWith Garmin:\n\n🚴 Fitness Update:\n**Sleep:** 7.5h (good quality, 2h deep)\n**Recovery:** ✅ Fully recovered\n**Body Battery:** 82% (charged overnight)\n**Resting HR:** 48 bpm (normal)\n\nLast ride: 2 days ago\nThis week: 3 rides, 87km\n**Training Status:** Productive (VO2 max: 52)\n\nConfiguration\n\nEdit config.json (create if it doesn't exist):\n\n{\n  \"recovery_thresholds\": {\n    \"body_battery_low\": 40,\n    \"body_battery_good\": 70,\n    \"min_sleep_hours\": 6.5,\n    \"max_recovery_time_hours\": 12\n  },\n  \"nudge_modifications\": {\n    \"respect_recovery\": true,\n    \"downgrade_intensity_if_tired\": true,\n    \"skip_gym_if_high_stress\": true\n  }\n}\n\n\nNote: This config.json should be created in the skill's root directory (/root/clawd/skills/garmin/).\n\nAPI Reference\n\nUsing garminconnect Python library:\n\nget_stats() - Daily stats summary\nget_sleep_data() - Sleep metrics\nget_body_battery() - Energy levels\nget_training_status() - Training load, recovery\nget_heart_rates() - HR data\n\nRate limits: No official limit, but be reasonable (cache data, don't spam).\n\nDependencies\nPython 3.7+\ngarminconnect library\n1Password CLI (op)\njq for JSON parsing (if needed by other scripts)\nPrivacy\n✅ Credentials stored in 1Password\n✅ Session tokens cached temporarily in /tmp/garmin-session/\n✅ Data queried on-demand, not stored long-term by the skill (though the system might cache in /root/clawd/data/fitness/garmin/ as per TOOLS.md)\n✅ No external sharing\n✅ Read-only access to Garmin\nFuture Enhancements\nCorrelate sleep quality → work productivity\nPredict when Brian will be recovered\nCompare son's Garmin data (if he has one)\nLong-term trends (fitness improving?)"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/vegasbrianc/garmin-connect-thebyteio",
    "publisherUrl": "https://clawhub.ai/vegasbrianc/garmin-connect-thebyteio",
    "owner": "vegasbrianc",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/garmin-connect-thebyteio",
    "downloadUrl": "https://openagent3.xyz/downloads/garmin-connect-thebyteio",
    "agentUrl": "https://openagent3.xyz/skills/garmin-connect-thebyteio/agent",
    "manifestUrl": "https://openagent3.xyz/skills/garmin-connect-thebyteio/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/garmin-connect-thebyteio/agent.md"
  }
}