Google Health
БесплатноБез исполняемых скриптовНе проверенRead your Google Health data from any agent: data points for every Google Health data type (heart rate, sleep, steps, distance, weight, blood oxygen, VO2 max…
от stozo041 238 установок в других каталогахОб этом скилле
Google Health — read-only data extractor
Read your Google Health data from any agent. This is a generic, read-only client
for the Google Health v4 API: it authenticates, pulls data points for any data type, and
prints JSON. The raw commands (data list, rollup daily, sessions --raw, api get) return every
record the API sends for the time window you request (applied server-side), with no filtering, merging, or
interpretation; the parsed sessions view leaves out points it can't date and says so on stderr. You get the data and
parse whatever you care about. Single static binary — no Python or other runtime.
⚠️ Read-only. It requests only read-only Google Health scopes and never writes your health data. Locally, it writes only its own OAuth token cache (at
auth loginand on auto-refresh) and deletes it onauth logout.
🔒 Privacy — sensitive health data leaves on stdout. Every
data list,rollup daily,sessions, andapi getprints your personal health information (heart rate, sleep, weight, exercise, blood oxygen, profile, …) to stdout as JSON. In an agent or pipeline, stdout may be logged, summarized, persisted, or transmitted to other tools, model providers, or third parties. Treat this output as sensitive PII: only run it in contexts you trust to handle health data, and do not persist or forward it unless you intend to. The tool never sends your data anywhere itself (it only talks to Google's API over HTTPS) — what happens to stdout is the caller's responsibility. Every data-emitting command also prints a one-line privacy notice to stderr at run time as an execution-time reminder (it stays on stderr, never on the JSON stdout).
🧭 Data minimization & consent. Request only the data types and the narrowest time window you actually need (
--days/--date/--from/--to, not--all); prefer the typeddata/rollup/sessionscommands overapi get; and don't persist or forward the output beyond the task at hand. Run this only against an account whose owner has knowingly consented to having their health data read by this agent — the one-timeauth loginis the owner consenting to read-only access for the tool, not consent for a downstream agent to collect, retain, or transmit that data more broadly.
🩺
doctorprints local environment metadata. ThedoctorJSON includes your token-cache and config file paths, the configured account (user), and the API base URL — local filesystem layout and account identifiers rather than health data, but still local environment metadata that an agent or pipeline may log, forward, or persist. It exists to diagnose your own setup; treat its output like any other local path/account detail and don't paste it into untrusted contexts.
Setup (one time)
Unlike a simple email/password tool, Google Health uses OAuth, so first-time setup needs a human in a browser once. After that it runs headless (the token auto-refreshes).
- Install the binary:
# A) Download a release for your OS/arch and put it on PATH: # https://github.com/stozo04/google-health-cli/releases # B) Or with Go (1.26+): go install github.com/stozo04/google-health-cli/cmd/google-health-cli@latest - Create a Google Cloud OAuth client (Desktop app, read-only Health scopes, ~10 min, no fees). Full walkthrough: the repo's OAUTH_SETUP.md.
- Provide the client via
GOOGLE_HEALTH_CLIENT_ID/GOOGLE_HEALTH_CLIENT_SECRET(or aconfig.jsonwith those keys in the working directory). - Authorize once (opens a browser, asks a human to consent to read-only access):
The token is cachedgoogle-health-cli auth login google-health-cli doctor # expect "tokenValid": true0600and auto-refreshed; every later run is headless.
Credentials
| Variable | Required | Notes |
|---|---|---|
GOOGLE_HEALTH_CLIENT_ID |
✓ | OAuth client ID (Desktop app) |
GOOGLE_HEALTH_CLIENT_SECRET |
✓ | OAuth client secret |
GOOGLE_HEALTH_CONFIG |
— | Path to a config.json holding the above instead |
GOOGLE_HEALTH_TOKEN_CACHE |
— | Override the cached-token path |
GOOGLE_HEALTH_BASE_URL |
— | API base URL; only https://health.googleapis.com is accepted |
config.json (gitignored) is an alternative to the env vars:
{
"client_id": "PASTE_CLIENT_ID",
"client_secret": "PASTE_CLIENT_SECRET"
}
🔑 Protect your credentials. The OAuth
client_id/client_secretand the cached token are sensitive secrets stored on disk in plaintext. The CLI writestoken.jsonowner-only (0600); it never createsconfig.json, so restrict that file yourself (chmod 600 config.json). Both are gitignored — keep it that way: never commit them, copy them into a shared folder, back them up to an untrusted location, or paste them into logs or chat. Rotate the
Установить Google Health в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Google Health?
Read your Google Health data from any agent: data points for every Google Health data type (heart rate, sleep, steps, distance, weight, blood oxygen, VO2 max, exercise and more), server-side daily roll-ups, a parsed view of exercise sessions, and GET of any read-only v4 API path, all as JSON. `data list`, `rollup daily`, `sessions --raw` and `api get` return every record the API sends for the window you ask for, unfiltered; the parsed `sessions` view leaves out points it can't date and reports how many on stderr. It never writes to Google Health; the only file it writes is its own local OAuth token cache. Also ships auth login/logout/status, doctor, config show/path, version and shell completion. Single static Go binary. Needs your own Google Cloud OAuth client and a one-time browser login; runs headless afterward.
Как установить скилл Google Health?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Google Health запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic