# Send Health Auto Log to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "health-auto-log",
    "name": "Health Auto Log",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/klcintw/health-auto-log",
    "canonicalUrl": "https://clawhub.ai/klcintw/health-auto-log",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/health-auto-log",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=health-auto-log",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/record_health_data.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/health-auto-log"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/health-auto-log",
    "downloadUrl": "https://openagent3.xyz/downloads/health-auto-log",
    "agentUrl": "https://openagent3.xyz/skills/health-auto-log/agent",
    "manifestUrl": "https://openagent3.xyz/skills/health-auto-log/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/health-auto-log/agent.md"
  }
}
```
## Documentation

### Overview

Automatically detect health metrics from user messages and record them to AX3 Personal system. Supports weight, blood sugar, and exercise time tracking with flexible input formats.

### When to Use This Skill

Trigger this skill when user messages contain:

Weight measurements (e.g., "體重69.8公斤", "69.8kg", "69.8")
Blood sugar readings (e.g., "血糖120", "120 mg/dL")
Exercise time (e.g., "跑步機30分", "跑步30")

### Quick Start

Use the record_health_data.py script to process any message:

python3 scripts/record_health_data.py "體重69.8公斤"

The script will:

Extract health metrics from the message
Validate the values are within reasonable ranges
Record to AX3 using mcporter
Return confirmation with record IDs

### 1. Weight (體重)

Habit ID: 1
Unit: kg
Range: 40-200 kg

Supported formats:

體重69.8公斤
69.8kg
69.8 (plain number)

### 2. Blood Sugar (血糖)

Habit ID: 4
Unit: mg/dL
Range: 50-500 mg/dL

Supported formats:

血糖120
120 mg/dL

### 3. Running Time (跑步機)

Habit ID: 2
Unit: minutes

Supported formats:

跑步機30分
跑步30

### Automatic Detection Flow

Receive message from WhatsApp or other channel
Run script with message text: python3 scripts/record_health_data.py "<message>"
Extract metrics using regex patterns
Validate values are in reasonable ranges
Record to AX3 via mcporter call to ax3-personal.record_habit
Confirm with user showing what was recorded

### Example Usage

# Single metric
python3 scripts/record_health_data.py "體重69.8公斤"
# Output: ✅ 體重 69.8 kg 已記錄

# Multiple metrics in one message
python3 scripts/record_health_data.py "體重69.8公斤 血糖120"
# Output: 
# ✅ 體重 69.8 kg 已記錄
# ✅ 血糖 120 mg/dL 已記錄

### Integration Pattern

When a user sends a health-related message:

Call the script with the message text
Parse the JSON output to check if data was detected
If detected, respond with confirmation (e.g., "收到！69.8 kg 已記錄 📝")
If not detected, reply normally without mentioning the skill

### Error Handling

The script includes validation:

Out of range values are ignored (e.g., weight of 500kg won't be recorded)
Invalid formats are silently skipped
mcporter failures are captured and returned in the JSON output

### scripts/record_health_data.py

Python script that handles:

Pattern matching for various health data formats
Value validation and range checking
AX3 API calls via mcporter
JSON output for programmatic integration

The script can be called directly or integrated into message handling workflows.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: klcintw
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-23T16:43:11.935Z
- Expires at: 2026-04-30T16:43:11.935Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/health-auto-log)
- [Send to Agent page](https://openagent3.xyz/skills/health-auto-log/agent)
- [JSON manifest](https://openagent3.xyz/skills/health-auto-log/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/health-auto-log/agent.md)
- [Download page](https://openagent3.xyz/downloads/health-auto-log)