apple-health-skill
由 nftechie 提供
Apple Apps & Services简介
Talk to your Apple Health data — ask questions about your workouts, heart rate, activity rings, and fitness trends.
描述
该技能的功能
Connects AI agents to Apple Health data via the Transition app. Enables natural language queries about workouts, heart rate trends, VO2 Max, sleep, and training load. Also provides a free workout generator that requires no account.
Exposes structured fitness metrics like CTL, ATL, and TSB alongside raw workout data, so agents can give context-aware training advice rather than just surfacing numbers.
何时使用
- Ask how resting heart rate changed over the past month
- Check training fatigue before scheduling a hard workout
- Compare running pace across two months
- Get a structured 45-minute run workout without signing in
- Review weekly workout count and activity ring completion
示例工作流
User asks: Should I do a hard workout today?
- 1
Call GET /api/v1/performance/pmc to retrieve current TSB value
- 2
Check if TSB is below -20, indicating accumulated fatigue
- 3
Call GET /api/v1/performance/stats to get heart rate zones and threshold paces
- 4
Call POST /api/v1/coach/chat with question about recent training load
Agent reports TSB of -24 and recommends a rest or easy day with supporting heart rate zone context
前置要求
- Transition app installed on iPhone (available at transition.fun)
- Apple Health access granted to Transition
- TRANSITION_API_KEY environment variable (generated in Transition app Settings > API Keys)
安装
clawhub install nftechie/apple-health-skill运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。