@fredthegreenhand/huawei-health-processor-skill
A本技能用于从华为运动健康服务API获取用户的运动健康数据,并进行自动化分析处理。支持步数、心率、睡眠等多种数据类型的获取、清洗、统计分析和可视化。
Install
agr install @fredthegreenhand/huawei-health-processor-skill --target claudeWrites 5 files into .claude/skills/, pinned to git-fae8ab3a.
- .claude/skills/huawei-health-processor-skill/.gitignore
- .claude/skills/huawei-health-processor-skill/LICENSE
- .claude/skills/huawei-health-processor-skill/README.md
- .claude/skills/huawei-health-processor-skill/SKILL.md
- .claude/skills/huawei-health-processor-skill/config.yaml
Document
华为运动健康数据处理 Skill
技能描述
本技能用于从华为运动健康服务API获取用户的运动健康数据,并进行自动化分析处理。支持步数、心率、睡眠等多种数据类型的获取、清洗、统计分析和可视化。
核心功能
- OAuth 2.0 认证授权管理
- 运动健康数据获取(步数、卡路里、心率、睡眠等)
- 数据清洗与异常值处理
- 统计分析与趋势识别
- 自动化报告生成
依赖要求
- Python 3.8+
- requests >= 2.31.0
- pandas >= 2.0.0
- pytz >= 2023.3
配置说明
在使用本技能前,需要完成以下配置:
- 在华为开发者联盟注册应用并获取 client_id 和 client_secret
- 申请运动健康服务权限并通过审核
- 在 config.yaml 中配置认证信息
- 完成OAuth 2.0授权流程获取访问令牌
使用示例
获取最近30天步数数据
请帮我获取最近30天的步数数据,并生成趋势分析报告
分析睡眠质量
分析上周的睡眠数据,告诉我平均睡眠时长和睡眠质量评分
检测运动异常
检测我的运动数据中是否存在异常值,并给出建议
数据隐私声明
本技能处理的数据包含个人健康信息,请确保:
- 遵守当地法律法规和个人信息保护要求
- 妥善保管访问令牌和认证密钥
- 不将数据传输至未授权的第三方服务
- 用户有权随时撤销数据访问权限
版本信息
- 版本: 1.0.0
- 最后更新: 2026-03-23
- 作者: fredthegreenhand
Trustgrade A
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-fae8ab3a9b7d2026-07-31