跳至主要内容
小龙虾小龙虾AI
🤖

Skill Health

Analyze wearable health CSV exports (steps, heart rate, sleep, calories, SpO2, exercise, distance) and produce compact JSON reports for hourly, daily, weekly...

下载131
星标0
版本1.0.1
数据分析
安全通过
⚙️脚本

技能说明


name: skill-health description: "Analyze wearable health CSV exports (steps, heart rate, sleep, calories, SpO2, exercise, distance) and produce compact JSON reports for hourly, daily, weekly, monthly, sleep (last 30h) and cross-temporal alerts. Use when running or packaging Skill Health analyses and when explaining output semantics, data quality, or known caveats."

Skill Health

Use

Run analysis scripts from scripts/ with a --data-path (ZIP or folder) or --data-dir (directory holding health_data_*). Each script prints JSON to stdout and can also write a file with --output-dir.

Pass --timezone (IANA, e.g. Europe/Madrid, America/New_York) to interpret naive CSV timestamps correctly before UTC serialization.

Minimal examples:

python scripts/run_sleep.py --data-path data/health_data_latest.zip --output-dir outputs
python scripts/run_daily.py --data-path data/health_data_latest.zip --output-dir outputs
python scripts/run_cross_alerts.py --outputs-dir outputs --output-dir outputs

Notes

  • Sleep metrics use suffix last_{window_hours}h (default last_30h).
  • Outputs are compact JSON (time_window uses s/e/r, data_quality uses cov/rel).
  • Dependencies: Python 3.10+ and pandas.

References

  • references/overview.md (data schemas, outputs, key decisions)
  • references/operations.md (execution windows, quality rules)

如何使用「Skill Health」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Skill Health」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能