health-auto-log
Automatically detect and log health data (weight, blood sugar, exercise) to AX3 system. Use when user sends health measurements via WhatsApp or other messaging channels, especially messages containing numbers with health-related keywords like "體重", "血糖", or plain numeric values that could be weight measurements.
Why use this skill?
Easily track weight, blood sugar, and exercise by sending simple messages. The OpenClaw health-auto-log skill automates data entry to the AX3 system.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/klcintw/health-auto-logWhat This Skill Does
The health-auto-log skill serves as an intelligent bridge between raw health data inputs and the AX3 Personal system. Its primary function is to parse unstructured text messages received via platforms like WhatsApp and extract specific health metrics—weight, blood sugar, and exercise duration. Once parsed, it validates the numerical values against predefined safety ranges and automatically synchronizes them into the AX3 backend via the mcporter tool. This removes the manual overhead of logging health habits, enabling a seamless tracking experience where you can simply type a measurement as if you were talking to a friend, and the system handles the data entry chores in the background.
Installation
To integrate this skill into your environment, use the OpenClaw command-line interface. Ensure you have the mcporter utility installed as it acts as the primary transport layer for your health metrics. Run the following command in your terminal:
clawhub install openclaw/skills/skills/klcintw/health-auto-log
Once installed, verify that the scripts/record_health_data.py script is executable in your project path. You may need to verify your AX3 environment variables are correctly configured to allow the script to authenticate and write to your personal habit database.
Use Cases
- Daily Weight Tracking: Quickly log morning weigh-ins without opening multiple health apps.
- Diabetes Management: Record blood sugar levels immediately after measurement to prevent forgetting values.
- Fitness Logging: Automatically capture treadmill or cardio session lengths as part of a workout routine.
- Multi-Metric Aggregation: Efficiently log multiple types of health data in a single conversational message.
Example Prompts
- "體重68.5公斤"
- "血糖115"
- "跑步機45分鐘"
Tips & Limitations
- Precision: The system uses regex pattern matching. While flexible, ensure units (like "kg" or "mg/dL") are written clearly if using standard notation.
- Validation: The skill includes built-in safeguards; if you input a weight of 999kg, the system will ignore it to prevent erroneous data corruption.
- Error Handling: If the script detects invalid formats or values outside the set ranges (40-200kg for weight, 50-500mg/dL for blood sugar), it will gracefully skip those entries rather than reporting a system crash.
- Context: This skill is designed for direct message processing. If a message contains non-health text, the logic is designed to ignore the noise and focus purely on the identified metrics, keeping your log clean.
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-klcintw-health-auto-log": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, external-api, code-execution