360 Secure SkillHub
360 安全技能中心

health-reasoner

Health Reasoner 是一个基于生活习惯(睡眠、饮食、运动、压力、烟酒等)输入进行规则评分并给出改善建议的小工具。纯 Python 标准库实现,零外部依赖,规则透明可溯源,历史记录可选;明确声明不提供医疗诊断。

chen-feng123
chen-feng123
热度 29.10
最近更新 2026-07-16 22:09:39
分类:生活依赖:代码执行 / 读写文件应用场景:健康 / 推荐

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add health-reasoner
Metadata
name
health-reasoner
description
Health Reasoner — 日常习惯健康小工具。基于生活习惯(睡眠/饮食/运动/压力/烟酒)输出评分与改善建议。纯规则驱动,纯 Python 标准库。不提供医疗诊断。

Health Reasoner (日常习惯健康小工具)

纯规则驱动的日常习惯评分工具。零外部依赖。非医疗用途。

Quick Start

from health_reasoner import HealthReasoner

hr = HealthReasoner()
result = hr.assess({
    "age": 28,
    "gender": "male",
    "sleep_hours": 6.5,
    "sleep_quality": "fair",
    "diet_type": "high_fat",
    "exercise_frequency": "weekly",
    "stress_level": "high",
})
print(result.score)
print(result.suggestions)

特性

  • 零外部依赖 — 纯 Python 标准库
  • 历史记录可选 — 不传 --history 不留痕
  • 规则透明 — 每条建议可溯源