health-guardian
Proactive health monitoring for AI agents. Apple Health integration, pattern detection, anomaly alerts. Built for agents caring for humans with chronic conditions.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/cgtreadw/health-guardianHealth Guardian: Proactive Health Monitoring for AI Agents
What This Skill Does
The Health Guardian skill is a sophisticated tool designed for AI agents to proactively monitor the health of individuals, particularly those with chronic conditions. It integrates with Apple Health data, enabling real-time tracking of vital signs and other health metrics. The skill goes beyond simple data storage by actively detecting patterns, identifying deviations from normal ranges, and alerting caregivers or the agent when potential issues arise. This proactive approach aims to prevent health emergencies by providing early warnings based on learned individual baselines rather than generic population averages. The skill is battle-tested and developed with accessibility in mind, understanding the unique needs of individuals with disabilities.
Key features include integration with Apple Health via the Health Auto Export app, supporting a wide array of metrics such as heart rate, HRV, sleep patterns, temperature, blood pressure, and SpO2. It employs advanced pattern detection algorithms, including rolling averages, day-over-day comparisons, correlation analysis, and trend direction assessment. The skill generates proactive alerts for fever, heart rate anomalies, sleep degradation, and can even infer missed medication. It is built to be accessible, recognizing that 'normal' health metrics can vary significantly among individuals, and supports customized notification patterns for caregivers.
Installation
To install and configure the Health Guardian skill, follow these steps:
-
Install Health Auto Export on the iPhone:
- Download and install the Health Auto Export app from the App Store.
- Configure the app's settings: Ensure the export format is set to JSON, enable iCloud Drive sync, and set the export interval to hourly.
- Note the export folder location:
iCloud Drive/Health Auto Export/.
-
Configure the Skill:
- Create a
config.jsonfile in the health-guardian skill directory. - Populate it with your specific details, including
human_name, the correctdata_sourcepath (adjusting for your iCloud Drive location),import_interval,alert_channel, desiredthresholdsfor key metrics, andbaseline_period_days. - Example
config.json:{ "human_name": "Your Human", "data_source": "~/Library/Mobile Documents/com~apple~CloudDocs/Health Auto Export", "import_interval": "hourly", "alert_channel": "telegram", "thresholds": { "temperature_high": 100.4, "temperature_low": 96.0, "heart_rate_high": 120, "heart_rate_low": 50 }, "baseline_period_days": 14 }
- Create a
-
Set Up Cron Import:
- Add the following to your agent's cron schedule to ensure hourly data import and analysis:
{ "name": "Health Import", "schedule": { "kind": "cron", "expr": "0 * * * *" }, "payload": { "kind": "systemEvent", "text": "Run health import and check for anomalies" }, "sessionTarget": "main" }
- Add the following to your agent's cron schedule to ensure hourly data import and analysis:
-
Integrate with Heartbeat:
- Add a health check to your
HEARTBEAT.mdfile to ensure alerts are generated and actioned:## Health Check (if concerning patterns) If health data shows anomalies, alert human via preferred channel.
- Add a health check to your
-
Install the Skill:
- Use the command:
clawhub install openclaw/skills/skills/cgtreadw/health-guardian
- Use the command:
Use Cases
- Chronic Condition Management: Continuously monitor vital signs for individuals with conditions like heart disease, diabetes, or respiratory illnesses, providing early warnings for potential exacerbations.
- Post-Surgery Recovery: Track recovery progress by monitoring heart rate, sleep quality, and activity levels, alerting caregivers to any signs of complications.
- Elderly Care: Provide peace of mind for caregivers by monitoring seniors' health metrics, detecting anomalies that might indicate falls, infections, or other urgent issues.
- Disability Support: Assist agents in caring for individuals with disabilities by proactively managing their health data and alerting to any changes that require attention.
- Personal Health Awareness: For individuals who want a proactive health companion, the skill can provide insights into personal health trends and potential issues before they become serious.
Example Prompts
- "Run a health analysis for the last 7 days and report any significant anomalies."
- "Generate a weekly summary of [Human Name]'s health data."
- "Are there any critical alerts from the Health Guardian skill regarding [Human Name]'s current condition?"
Tips & Limitations
- Data Accuracy: The accuracy of the health data relies heavily on the sensors and input methods used by Apple Health. Ensure the iPhone's health tracking is correctly configured.
- Baseline Period: Allow the skill at least 7-14 days of data to establish a reliable baseline for detecting meaningful deviations. The
baseline_period_daysparameter inconfig.jsonis crucial for this. - Threshold Customization: The default thresholds in
config.jsonare examples. It is essential to customize these based on the specific medical needs and doctor's recommendations for the individual being monitored. - Privacy: Ensure compliance with all relevant privacy regulations when handling sensitive health data. The skill processes data locally where possible, but data export and potential alert channels introduce external interactions.
- Inference Limitations: The skill's inference of missed medications is based on patterns (e.g., sudden changes in vitals after a medication schedule). It is not a direct substitute for medication adherence tracking or medical advice.
- Apple Health Sync: Reliant on the Health Auto Export app functioning correctly and syncing data to iCloud. Any disruptions in this sync will affect data availability for the Health Guardian.
- Alert Channel Reliability: The effectiveness of alerts depends on the chosen
alert_channel(e.g., Telegram) and its reliable delivery.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-cgtreadw-health-guardian": {
"enabled": true,
"auto_update": true
}
}
}Tags
Flags: file-read, file-write, data-collection, external-api
Related Skills
securityvitals
Security vitals checker for OpenClaw. Scans your installation, scores your setup, and shows you exactly what to fix. First scan in seconds.
feishu-cron-announce
创建定时任务并通过 OpenClaw cron announce 直接推送结果到飞书。当需要设置定时监控任务(如版本发布、天气、股票等)并让结果自动推送到飞书时使用。关键词:飞书定时推送、cron 定时任务、飞书 announce、定时监控、飞书监控通知。
agent-health-diagnostics
Diagnose and fix the 4 most common OpenClaw agent failures — heartbeat spam, API rate limit cascades, channel death loops, and memory/embedding errors. Battle-tested across a 6-agent multi-host deployment.
kami-package-detection
A free skill by Kami SmartHome. Get notified the moment a package arrives at your door. Detects packages, parcels, and bags from RTSP camera streams using AI vision.
clinicaltrials-gov-parser
Monitor and summarize competitor clinical trial status changes from ClinicalTrials.gov. Trigger: When user asks to track clinical trials, monitor trial status changes, get updates on specific trials, or analyze competitor trial activities. Use cases: Pharma competitive intelligence, trial monitoring, status tracking, recruitment updates, completion alerts.