A lightweight, read-only Go CLI tool designed to fetch and format Google Health v4 data as clean JSON for developers and AI agents.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install google-health-cli-dev
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install google-health-cli-dev using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Google Health CLI is a performant, dependency-free binary written in Go that acts as a secure, read-only client for the Google Health v4 API. Built to support modern developers and automated setups, it streamlines the authentication process using local OAuth2 token caching, allowing automated scripts to query metrics headlessly after a one-time setup. It bypasses complex runtimes like Python, letting users extract raw healthcare and exercise data straight to stdout as clean, parsed JSON.
Rather than locking users into a specific framework, the tool operates on data minimization principles, meaning it performs no internal processing or external data transmissions. Outputting directly to stdout makes it incredibly easy to connect raw health telemetry to modern pipelines, rendering it an ideal pipeline block for orchestrating customized analytics using Openclaw Skills.
config.json file.auth login initiates a single interactive browser window for OAuth2 authorization, caching the access token locally with secure filesystem permissions.--days or --from/--to windows) into compatible URL queries for the Google Health API.stdout as parseable JSON arrays, while system diagnostics and human-readable metadata are directed exclusively to stderr.Get up and running with Google Health CLI integrations in your ecosystem by executing these initial configurations:
go install github.com/stozo04/google-health-cli/cmd/google-health-cli@latest
Generate Desktop Credentials:
Configure a free Desktop Application client within your Google Cloud Console, requesting read-only scopes for Google Health. Detailed walkthroughs are available in the repository's OAUTH_SETUP.md document.
Export Credentials: Expose your OAuth identifiers using standard shell environment variables:
export GOOGLE_HEALTH_CLIENT_ID="your_desktop_client_id"
export GOOGLE_HEALTH_CLIENT_SECRET="your_desktop_client_secret"
Alternatively, specify these values within a gitignored config.json situated in your active working directory:
{
"client_id": "your_desktop_client_id",
"client_secret": "your_desktop_client_secret"
}
google-health-cli auth login
Verify that the configuration is valid and ready to run headlessly:
google-health-cli doctor
The command-line client outputs structured data directly to stdout. Below is an overview of the output schema and structures handled by the tool:
| Command Pattern | Payload Type | Description |
|---|---|---|
data list <type> |
Raw JSON Array | Direct, unfiltered telemetry representing physical data points (e.g., heart-rate, weight, steps). |
rollup daily <type> |
Reconciled Daily Rows | Server-side calendar day consolidations that cleanly reconcile multiple tracking devices. |
sessions |
Flattened Activity Rows | Parsed physical logs reflecting standardized metrics (duration, average heart rate, calories). |
api get <path> |
Raw Endpoint JSON | Freeform GET-only access constrained exclusively to Google Health /v4/ scopes. |
Daily Resting Heart Rate Schema:
[
{
"dataSource": {
"platform": "FITBIT",
"device": {
"displayName": "Google Pixel Watch 4 (45mm)"
}
},
"dailyRestingHeartRate": {
"date": {
"year": 2026,
"month": 6,
"day": 17
},
"beatsPerMinute": "78"
}
}
]
Exercise Session Schema:
[
{
"date": "2026-06-16",
"exercise_type": "ELLIPTICAL",
"duration_min": 35,
"avg_hr": 130,
"calories": 236,
"platform": "FITBIT"
}
]
api get requests to access unmapped endpoints while maintaining strict read-only compliance policies.Loading
A fast, read-only static binary to securely fetch and export your daily Lose It! nutrition and meal data into structured JSON.

An AI skill that designs game rule frameworks, objective loops, and psychological engagement drivers to transform workflows into engaging gamified environments.

A sophisticated D&D 5e adventure module generator supporting 25 narrative paradigms, multi-step structured pipelines, and automatic local indexing.

An AI-driven structured learning skill that deconstructs complex technical information into foundational atomic concepts and maps their logical dependencies.

A command-line skill designed to deploy and operate AnnaAgent, a psychological-counseling seeker simulator that models virtual patient interactions.

An AI home kitchen assistant that creates recipes, guides culinary steps, substitutes missing ingredients, and designs multi-day menus with interactive HTML reports.








































