/install apple-health-skill
Apple Health Skill
Chat with your Apple Health data using AI. Ask about your workouts, heart rate trends, activity rings, VO2 Max, and more. Powered by Transition, which syncs with Apple Health to give AI agents access to your fitness data.
Setup
- Download Transition and grant Apple Health access
- Go to Settings > API Keys and tap Generate New Key
- Set the environment variable:
export TRANSITION_API_KEY="tr_live_xxxxxxxxxxxxxxxxxxxxx"
No Auth Required
Workout of the Day
Generate a random structured workout — no account needed.
curl "https://api.transition.fun/api/v1/wod?sport=run&duration=45"
Parameters:
sport—run,bike,swim, orstrength(default:run)duration— minutes, 10-300 (default:45)
Authenticated Endpoints
Base URL: https://api.transition.fun
Auth: Pass X-API-Key header on every request.
AI Coach Chat
Ask questions about your Apple Health data. The AI coach has full context on your workouts and health metrics.
curl -X POST -H "X-API-Key: $TRANSITION_API_KEY" \
-H "Content-Type: application/json" \
-d '{"message": "How has my resting heart rate changed over the last month?"}' \
"https://api.transition.fun/api/v1/coach/chat"
Example questions:
- "How many workouts did I do this week?"
- "What's my VO2 Max trend?"
- "How has my sleep been trending this week?"
- "Compare my running pace this month vs last month"
- "Should I take a rest day based on my recent training?"
Get Workouts
Retrieve scheduled workouts for a date range.
curl -H "X-API-Key: $TRANSITION_API_KEY" \
"https://api.transition.fun/api/v1/workouts?start=2026-02-09&end=2026-02-15"
Parameters:
start— Start date (YYYY-MM-DD, required)end— End date (YYYY-MM-DD, required)- Maximum range between
startandendis 90 days.
Performance Management Chart (PMC)
Get CTL (fitness), ATL (fatigue), and TSB (form) calculated from your Apple Health workouts.
curl -H "X-API-Key: $TRANSITION_API_KEY" \
"https://api.transition.fun/api/v1/performance/pmc"
Performance Stats
Get FTP, threshold paces, heart rate zones, and other metrics derived from your Apple Health data.
curl -H "X-API-Key: $TRANSITION_API_KEY" \
"https://api.transition.fun/api/v1/performance/stats"
Athlete Profile
curl -H "X-API-Key: $TRANSITION_API_KEY" \
"https://api.transition.fun/api/v1/profile"
Chat History
curl -H "X-API-Key: $TRANSITION_API_KEY" \
"https://api.transition.fun/api/v1/coach/history"
Rate Limits
| Tier | Read Endpoints | AI Endpoints |
|---|---|---|
| Free | 100/day | 3/day |
| Paid | 10,000/day | 100/day |
Tips for Agents
-
Use coach chat as the primary interface. It has full context on the user's Apple Health workouts, heart rate, and performance — just ask natural questions.
-
Check fatigue before recommending hard workouts. Call
GET /api/v1/performance/pmcand look at TSB. If TSB is below -20, the athlete is fatigued. -
Use the free WOD endpoint for quick workouts. No auth needed — great for users who just want a workout suggestion.
-
Date format is always YYYY-MM-DD for all date parameters.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install apple-health-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/apple-health-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Apple Health Skill 是什么?
Talk to your Apple Health data — ask questions about your workouts, heart rate, activity rings, and fitness trends using AI. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2717 次。
如何安装 Apple Health Skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install apple-health-skill」即可一键安装,无需额外配置。
Apple Health Skill 是免费的吗?
是的,Apple Health Skill 完全免费(开源免费),可自由下载、安装和使用。
Apple Health Skill 支持哪些平台?
Apple Health Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Apple Health Skill?
由 nftechie(@nftechie)开发并维护,当前版本 v1.0.0。