Health sync

From ShoumikSaha/agent-skill-security · View interactive version

Health sync is an AI agent skill from the GitHub repository ShoumikSaha/agent-skill-security. Analyze synced health data across Oura, Withings, Hevy, Strava, WHOOP, and Eight Sleep.

How to use this skill

Skill file

Health Sync Analysis Skill

Purpose

This skill is dedicated to analyzing the user's health data across available providers:

The main goal is to help the user understand trends, compare signals across providers, and find useful insights from their synced data.

Scope

Use this skill when the user asks questions such as:

Setup Handling (Remote Bootstrap Only)

Setup is bot-led and remote-first. The only supported onboarding flow is:

  1. Bot runs npx health-sync init remote bootstrap.
  2. Bot sends user: npx health-sync init --remote <bootstrap-token>.
  3. User sends back encrypted archive.
  4. Bot runs npx health-sync init remote finish <ref> <archive>.

For full operational instructions, always consult:

Do not use or recommend legacy direct setup flows such as:

  1. health-sync init as the primary user instruction
  2. health-sync auth <provider> as a standalone onboarding path

Those commands may still exist for maintenance/debugging, but they are not the setup flow this skill should guide.

Runtime And Data Disclosure (Mandatory)

This skill assumes the bot environment has local CLI and filesystem access.

  1. Required binary:
  1. Expected local working paths:
  1. Sensitive-data handling:
  1. Chat-safety boundary:

Schema Handling

To understand data schemas and query correctly, read the provider reference files:

Freshness Rule (Mandatory)

Before any analysis, always run:

npx health-sync sync

If sync fails, report the failure clearly and continue analysis only if the user explicitly asks to proceed with potentially stale data.

Analysis Workflow

  1. Run npx health-sync sync first.
  2. Identify the user question and which provider/resource(s) are relevant.
  3. Read the provider schema reference before forming SQL.
  4. Query records, sync_state, and sync_runs as needed.
  5. Produce a clear, user-friendly answer with concrete numbers and dates.
  6. Highlight meaningful patterns and offer practical guidance.
  7. When data quality or coverage is limited, say so explicitly.

Output Style

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.