返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
a

apple-health-skill

Talk to your Apple Health data — ask questions about your workouts, heart rate, activity rings, and fitness trends using AI.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
2,473
下载量
3
收藏
概述
安装方式
版本历史

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](https://www.transition.fun), which syncs with Apple Health to give AI agents access to your fitness data. ## Setup 1. Download [Transition](https://www.transition.fun) and grant Apple Health access 2. Go to **Settings > API Keys** and tap **Generate New Key** 3. Set the environment variable: ```bash export TRANSITION_API_KEY="tr_live_xxxxxxxxxxxxxxxxxxxxx" ``` ## No Auth Required ### Workout of the Day Generate a random structured workout — no account needed. ```bash curl "https://api.transition.fun/api/v1/wod?sport=run&duration=45" ``` **Parameters:** - `sport` — `run`, `bike`, `swim`, or `strength` (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. ```bash 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. ```bash 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 `start` and `end` is 90 days. ### Performance Management Chart (PMC) Get CTL (fitness), ATL (fatigue), and TSB (form) calculated from your Apple Health workouts. ```bash 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. ```bash curl -H "X-API-Key: $TRANSITION_API_KEY" \ "https://api.transition.fun/api/v1/performance/stats" ``` ### Athlete Profile ```bash curl -H "X-API-Key: $TRANSITION_API_KEY" \ "https://api.transition.fun/api/v1/profile" ``` ### Chat History ```bash 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 1. **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. 2. **Check fatigue before recommending hard workouts.** Call `GET /api/v1/performance/pmc` and look at TSB. If TSB is below -20, the athlete is fatigued. 3. **Use the free WOD endpoint for quick workouts.** No auth needed — great for users who just want a workout suggestion. 4. **Date format is always YYYY-MM-DD** for all date parameters.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 apple-health-skill-1776330325 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 apple-health-skill-1776330325 技能

通过命令行安装

skillhub install apple-health-skill-1776330325

下载 Zip 包

⬇ 下载 apple-health-skill v1.0.0

文件大小: 3.57 KB | 发布时间: 2026-4-17 14:20

v1.0.0 最新 2026-4-17 14:20
Initial release of Apple Health Skill.

- Chat with your Apple Health data using AI to get insights on workouts, heart rate, activity rings, VO2 Max, and more.
- Integration with Transition app for secure syncing and API key authentication.
- "Workout of the Day" endpoint available without authentication for quickly generating structured workouts.
- Authenticated endpoints to chat with an AI health coach, retrieve workout history, access performance metrics and charts, and view athlete profiles.
- Flexible API designed for agents, including guidance on using fatigue data and formatting dates.
- Rate limits established for free and paid users.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部