ghealth

ghealth is a skill for Claude Code, Codex from Google-Health-API/google-health-cli. It costs 41 tokens per session (2,605 once invoked), scanned A, original, Apache-2.0.

A command-line tool for reading data from Google Health API v4, Google's health-data service. It covers measurements and records such as steps, heart rate, exercise, sleep, weight, blood oxygen, heart-rate variability, ECG, blood glucose, and nutrition.

In plain words
What is it for?
Use it to list health readings and exercise or sleep sessions, calculate daily steps or distance, view summaries, and reconcile weight data from several sources.
Why use it?
It provides different operations for daily totals, individual readings, sessions, summaries, and combined data from multiple sources. This avoids mistaking raw time intervals for daily totals.

Skill for Claude CodeCodex

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

Good fit Use it to list health readings and exercise or sleep sessions, calculate daily steps or distance, view summaries, and reconcile weight data from several sources.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/google-health-api/google-health-cli/ghealth
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 Google-Health-API/google-health-cli --skill ghealth
Clone the repo
git clone --depth 1 https://github.com/Google-Health-API/google-health-cli

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 ghealth

README.md
[![agentmods](https://agentmods.dev/badge/skills/google-health-api/google-health-cli/ghealth/github.svg)](https://agentmods.dev/skills/google-health-api/google-health-cli/ghealth)
Your own site
<a href="https://agentmods.dev/skills/google-health-api/google-health-cli/ghealth"><img src="https://agentmods.dev/badge/skills/google-health-api/google-health-cli/ghealth/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 ghealth

Your own site · 80×15
<a href="https://agentmods.dev/skills/google-health-api/google-health-cli/ghealth"><img src="https://agentmods.dev/badge/skills/google-health-api/google-health-cli/ghealth.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,605 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 92
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00041 $0.02605
Opus 5 $0.00020 $0.01303
Sonnet 5 $0.00008 $0.00521
Haiku 4.5 $0.00004 $0.00261

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

Security

Grade A, and why

ghealth 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.

skills/ghealth/SKILL.md · 168 lines

How it starts

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

ghealth

CLI for the Google Health API v4. 40 verified data types.

Prerequisites: See ../ghealth-shared/SKILL.md for auth, setup, global flags.

Choosing the right operation

Goal Operation Example
Daily totals (steps, distance, calories) daily-rollup ghealth data steps daily-rollup --from 2026-03-22 --to 2026-03-29
Individual readings (HR, weight, SpO2) list ghealth data heart-rate list --from today --limit 20
Sessions (exercise, sleep) list ghealth data exercise list --from 2026-03-01
Daily summaries (resting HR, HRV, resp rate) list ghealth data daily-resting-heart-rate list --from 2026-03-01
Merged multi-source data reconcile ghealth data weight reconcile --from 2026-01-01

Why this matters: steps list returns minute-level intervals without counts. Use daily-rollup to get actual step totals (countSum). Same for distance (millimetersSum) and floors.

Types at a glance

Run ghealth schema types for the live version. Quick reference:

Use daily-rollup for totals:

  • stepscountSum per day
  • distancemillimetersSum per day
  • total-calorieskcalSum per day (rollup-only)
  • floorscountSum (rollup-only)
  • active-minutes → (rollup-only)
  • swim-lengths-datastrokeCountSum per day
  • calories-in-heart-rate-zonecaloriesInHeartRateZones per day (rollup-only)

Use list for readings: heart-rate, weight (writable), body-fat (writable), height (writable), oxygen-saturation, heart-rate-variability, altitude, vo2-max, active-zone-minutes, activity-level, basal-energy-burned, active-energy-burned, blood-glucose, core-body-temperature, respiratory-rate-sleep-summary, run-vo2-max, sedentary-period, swim-lengths-data, hydration-log

Use list for sessions:

  • exercise (writable) — includes type, duration, calories, HR summary, notes
  • sleep (writable) — includes summary by default. Add --detail for per-stage breakdown.

Read the full file on GitHub · 168 lines

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 · 168 lines · 41 tokens per session scan A 421e48bb157a

Subscribe to this mod's changes

ghealth is a skill published in the GitHub repository Google-Health-API/google-health-cli (243 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 41 tokens to every session and 2,605 once invoked, about $0.0002 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.