Install
openclaw skills install google-health-local-archiveRead a local ghcli archive of Google Health API data for Fitbit/Google health accounts. Uses read-only local JSON queries and never calls Google Health directly.
openclaw skills install google-health-local-archiveUse this skill when the user asks questions about health, activity, sleep,
heart, body, or device/source data archived locally with ghcli from the
Google Health API, including Fitbit-era health history.
ghcli uses the Google Health API for the same underlying health history.
This skill assumes ghcli is already installed. If a query fails because the
local archive is not ready, run only these diagnostics:
ghcli --json --read-only auth status
ghcli --json --read-only doctor
If credentials, token, or archive data are missing, tell the user the exact next command to run. Do not run setup, login, or sync unless the user explicitly asks you to do that step.
Common user-run commands:
ghcli auth setup
ghcli auth login
ghcli sync once
Always pass --json --read-only.
Health check:
ghcli --json --read-only doctor
Local queries:
ghcli --json --read-only daily --since YYYY-MM-DD --until YYYY-MM-DD
ghcli --json --read-only activity --since YYYY-MM-DD --until YYYY-MM-DD
ghcli --json --read-only sleep --since YYYY-MM-DD --until YYYY-MM-DD
ghcli --json --read-only heart --since YYYY-MM-DD --until YYYY-MM-DD
ghcli --json --read-only hrv --since YYYY-MM-DD --until YYYY-MM-DD
ghcli --json --read-only spo2 --since YYYY-MM-DD --until YYYY-MM-DD
ghcli --json --read-only breathing --since YYYY-MM-DD --until YYYY-MM-DD
ghcli --json --read-only temperature --since YYYY-MM-DD --until YYYY-MM-DD
ghcli --json --read-only body --since YYYY-MM-DD --until YYYY-MM-DD
ghcli --json --read-only exercise --since YYYY-MM-DD --until YYYY-MM-DD
ghcli --json --read-only nutrition --since YYYY-MM-DD --until YYYY-MM-DD
Profile/source context:
ghcli --json --read-only profile
ghcli --json --read-only settings
ghcli --json --read-only devices
Only run these commands after the user explicitly asks for setup, login, sync, or export:
ghcli auth ..., except ghcli --json --read-only auth statusghcli sync ...ghcli export unless the user explicitly asks for exportIf the archive is stale or empty, tell the user the exact sync command they can
run themselves, such as ghcli sync once.