Token导航 LogoToken导航

Agent Skill · 运维

apple-watch(Apple watch 运维)

apple-watch 用于补充运维相关能力,适合在 OpenClaw 中需要让 Agent 承接运维相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

apple-watch 是运维类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在运维类的 954 个 Skill 里排第 145。

总安装 25,213周安装 1,072GitHub Stars 公开资料未说明下载 8,833核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:apple-watch(Apple watch 运维)
来源仓库:https://github.com/lainnet-42/apple-watch
安装命令:
openclaw skills install apple-watch
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install apple-watch

这个 Skill 是做什么的

运维类 Skill 处理部署、监控、日志和云资源,多数需要较高的执行权限。

同步 Apple Watch 健康数据,支持查询睡眠、心率、步数等指标。适用于个人健康管理或数据分析类应用场景。可在设置健康档案时辅助录入相关生理参数信息。使用前请授权健康应用的数据读取权限。apple-watch 属于运维类 Skill,可作为该场景下的辅助能力补充。注意隐私保护,仅处理必要范围内的个人信息。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install apple-watch;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

apple-watch 怎么安装?

在终端执行 openclaw skills install apple-watch。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

apple-watch 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

apple-watch 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

apple-watch 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

apple-watch 用的人多吗?

公开数据是累计安装 25,213 次,近一周安装 1,072 次,下载 8,833 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

apple-watch 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理运维类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

运维类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
docker-essentials

Docker 基础 · OpenClaw

1,005,15130接触敏感数据MIT-0通过
playwright-scraper-skill

Playwright scraper 技能 · OpenClaw

923,55754接触敏感数据MIT-0有提醒
moltguard

moltguard 搜索 · OpenClaw

825,096110接触敏感数据MIT-0通过
finance-news

财经新闻 · OpenClaw

275,51210需要联网MIT-0有提醒
security-monitor

安全监视器 · OpenClaw

224,1695需要联网MIT-0有提醒
apple-watch

Apple watch 运维 · 本页

25,213—接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
apple-watch
description
|
metadata
{"openclaw":{"requires":{"bins":["python"]}}}

Agent Instructions

This skill has TWO parts: PC setup (automated) and Phone setup (requires user action). Do NOT just run setup.py and say "done". You MUST walk the user through the full flow.

Before setup: confirm prerequisites with user

Ask the user to confirm ALL of these before proceeding:

  • [ ] Do you have an Apple Watch?
  • [ ] Do you have an iPhone paired with it?
  • [ ] Have you installed Health Auto Export app?
  • [ ] Are your iPhone and PC on the same Wi-Fi?

If any is missing, help them resolve it first. Do NOT run setup.py until all are confirmed.

Setup flow

Step 1: Run setup.py

Run python scripts/setup.py - generates server, dashboard, API key, and phone templates. setup.py does NOT start the server. You must start it yourself in step 2.

Step 2: Start server as a persistent background service

The server MUST run independently of any agent session. Do NOT start it in an exec session that will get killed by heartbeat or session recycling.

Windows - register as a startup task:

$action = New-ScheduledTaskAction -Execute "pythonw.exe" -Argument "server.py" -WorkingDirectory "<health-sync-dir>"
$trigger = New-ScheduledTaskTrigger -AtLogon
Register-ScheduledTask -TaskName "HealthSyncServer" -Action $action -Trigger $trigger -RunLevel Highest -Force
Start-ScheduledTask -TaskName "HealthSyncServer"

macOS - use launchd plist:

cat > ~/Library/LaunchAgents/com.health-sync.server.plist << 'EOF'
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>Label</key><string>com.health-sync.server</string>
  <key>ProgramArguments</key><array>
    <string>python3</string><string>server.py</string>
  </array>
  <key>WorkingDirectory</key><string>HEALTH_SYNC_DIR</string>
  <key>RunAtLoad</key><true/>
  <key>KeepAlive</key><true/>
  <key>StandardOutPath</key><string>HEALTH_SYNC_DIR/server.log</string>
  <key>StandardErrorPath</key><string>HEALTH_SYNC_DIR/server.log</string>
</dict>
</plist>
EOF
# replace HEALTH_SYNC_DIR with actual path, then:
launchctl load ~/Library/LaunchAgents/com.health-sync.server.plist

Quick start (if you just need it running now, not persistent):

# Windows
start /B pythonw.exe server.py
# macOS / Linux
nohup python3 server.py > server.log 2>&1 &

Before starting, kill anything already on port 3001:

# Windows
(Get-NetTCPConnection -LocalPort 3001 -State Listen -ErrorAction SilentlyContinue).OwningProcess | ForEach-Object { Stop-Process -Id $_ -Force }
# macOS / Linux
lsof -ti:3001 | xargs kill -9 2>/dev/null

Verify it's running:

curl.exe -s -H "api-key: <key>" http://localhost:3001/api/summary

Note: on Windows use curl.exe (not curl which is a PowerShell alias for Invoke-WebRequest).

Step 3: Phone side (YOU MUST GUIDE THE USER STEP by STEP,once confirm one step is ready then move on to the another)

After server is running, walk the user through phone configuration. Read the API key from .env.json first - you will need to tell the user. SEND THE FILE TO USER.

  1. Send the template JSON from templates/ to the user's iPhone. If your IM channel supports file attachments, send the file directly. Otherwise, paste the key settings as text.
  2. Tell the user to open the file on iPhone to import into Health Auto Export. SEND tutorial_imgs/step1.png with your message TO USER

- This auto-fills URL, metrics, format, and sync settings.

  1. CRITICAL: Tell the user to manually add the API key header after import. SEND tutorial_imgs/step2.png.with your message TO USER

- Open the imported automation -> scroll to Headers -> tap "Add Header" - Key (left field): api-key - Value (right field): the API key from .env.json - Template import does NOT set headers. The user MUST do this step manually.(format: Key:xxx, Value:sk-xxx)

  1. Tell the user to tap "Manual Export" to test. SEND tutorial_imgs/step3.pngwith your message TO USER
  2. Verify data arrives: check /api/summary or /dashboard.
  3. Only after data is confirmed arriving, tell the user setup is complete.

Fallback: if the user is confused by the template import flow, fall back to fully manual setup (Automations -> + -> REST API -> enter URL and header by hand). Only use this fallback when necessary.

If already set up

If server.py and .env.json already exist:

  1. Check if server is running on port 3001.
  2. If running, check if data is flowing (/api/summary).
  3. If yes, skip setup. If no, troubleshoot (server running? correct API key? phone on same WiFi?).

Querying health data for the user

When the user asks about their health (sleep, heart rate, steps, etc.):

  1. Read the API key from .env.json.
  2. Query the API using curl.exe (NOT curl on Windows):
curl.exe -s -H "api-key: <KEY>" "http://localhost:3001/api/latest/metrics/sleep_analysis?n=3"
curl.exe -s -H "api-key: <KEY>" "http://localhost:3001/api/latest/metrics/heart_rate?n=5"
curl.exe -s -H "api-key: <KEY>" http://localhost:3001/api/summary
  1. Summarize the data in a readable format for the user.

Dashboard screenshots

When the user wants to see their health stats visually, or you want to proactively show a summary:

  1. Open http://localhost:3001/dashboard in a browser or take a screenshot.
  2. The dashboard shows cards for each metric with latest values and record counts.
  3. Screenshot the dashboard and send it to the user as a visual health summary.

Heartbeat integration

You can use your native heartbeat capability to periodically check the user's health data (e.g. detect wake-up, monitor heart rate). Add health check tasks to HEARTBEAT.md.

Example HEARTBEAT.md entry:

## Health Check
- Query: curl.exe -s -H "api-key: <KEY>" "http://localhost:3001/api/latest/metrics/sleep_analysis?n=1"
- Query: curl.exe -s -H "api-key: <KEY>" "http://localhost:3001/api/latest/metrics/heart_rate?n=1"
- If sleep ended within last 2 hours: send wake-up greeting with sleep duration
- If no data or server not responding: reply HEARTBEAT_OK (do NOT try to restart server)

IMPORTANT for heartbeat:

  • Use curl.exe not curl on Windows (avoid PowerShell alias issues).
  • Do NOT start/restart the server from heartbeat. Server should be a persistent background service.
  • Keep heartbeat health checks lightweight: 1-2 API calls max per heartbeat.

Health Sync

Sync Apple Watch health data to your PC in real time.

What you need

Hardware:

  • Apple Watch (any model with watchOS 9+)
  • iPhone (paired with the Apple Watch)
  • A PC/Mac on the same Wi-Fi as your iPhone

Software (phone side):

- This is the bridge: it reads Apple HealthKit data and pushes it over HTTP to your server - Free tier only does manual export; Premium enables automatic background sync

Software (PC side):

  • Python 3.8+ (that's it, setup handles the rest)

How it works

Apple Watch -> iPhone HealthKit -> Health Auto Export app -> HTTP POST -> Python server -> JSONL files

Your iPhone periodically sends health data as JSON to a lightweight Python server running on your PC. The server stores everything as append-only JSONL files, queryable via REST API.

One Click Setup

python scripts/setup.py

No git account needed. No Docker needed. Flask is auto-installed if missing.

Setup will:

  1. Auto-install flask (if not already installed)
  2. Generate a random API key -> .env.json (gitignored)
  3. Download upstream repo (reference + optional Grafana dashboards)
  4. Generate lightweight Python server
  5. Generate web dashboard
  6. Let you pick data types, generate phone automation templates
  7. Print step-by-step phone configuration

Phone Setup (after running setup.py)

  1. Send the template JSON from templates/ to your iPhone (AirDrop, email, etc.)
  2. Open the file on iPhone -> import into Health Auto Export

- This sets URL, metrics, format, sync interval etc. automatically

  1. Manually add the API key header (template import does NOT set headers):

- Open the imported automation -> scroll to Headers -> tap "Add Header" - Key (left field): api-key - Value (right field): your API key from .env.json (setup.py prints this)

  1. Tap Manual Export to test
  2. Check http://localhost:3001/dashboard for data

Keep server running

The server must stay running to receive data from your phone.

Windows - scheduled task (survives reboot):

$action = New-ScheduledTaskAction -Execute "pythonw.exe" -Argument "server.py" -WorkingDirectory "<health-sync-dir>"
$trigger = New-ScheduledTaskTrigger -AtLogon
Register-ScheduledTask -TaskName "HealthSyncServer" -Action $action -Trigger $trigger -RunLevel Highest -Force

macOS - launchd (survives reboot):

# create plist at ~/Library/LaunchAgents/com.health-sync.server.plist
# see Agent Instructions section for full plist template
launchctl load ~/Library/LaunchAgents/com.health-sync.server.plist

Quick (non-persistent):

# Windows
start /B pythonw.exe server.py
# macOS / Linux
nohup python3 server.py > server.log 2>&1 &

Directory Structure

health-sync/
  SKILL.md           <- this file
  scripts/setup.py   <- one click setup
  server.py          <- receiver server (generated)
  dashboard.html     <- web dashboard (generated)
  .env.json          <- API key (auto-generated, gitignored)
  .gitignore         <- ignores .env.json, data/, upstream/
  data/              <- received health data
    metrics/         <- heart_rate.jsonl, sleep_analysis.jsonl, ...
    workouts/        <- workouts.jsonl
  templates/         <- phone automation config JSONs (importable)
  upstream/          <- original repo (Grafana dashboards, Docker setup)

Server

python server.py
  • Receives JSON POST on port 3001
  • Dashboard at http://localhost:3001/dashboard
  • API key: auto-generated on first setup, stored in .env.json

Query data

API key is in .env.json (generated by setup.py). Use curl.exe on Windows:

# get your api key
python -c "import json; print(json.load(open('.env.json'))['api_key'])"

# summary of all data
curl.exe -s -H "api-key: YOUR_KEY" http://localhost:3001/api/summary

# latest N records
curl.exe -s -H "api-key: YOUR_KEY" "http://localhost:3001/api/latest/metrics/sleep_analysis?n=5"
curl.exe -s -H "api-key: YOUR_KEY" "http://localhost:3001/api/latest/metrics/heart_rate?n=10"
curl.exe -s -H "api-key: YOUR_KEY" "http://localhost:3001/api/latest/metrics/step_count?n=10"

Key metrics

  • sleep_analysis (sleep start/end, deep/rem/core/awake)
  • heart_rate (min/avg/max bpm)
  • resting_heart_rate
  • step_count
  • active_energy / basal_energy_burned
  • heart_rate_variability
  • blood_oxygen_saturation
  • time_in_daylight
  • headphone_audio_exposure

Visualization

  • Dashboard: http://localhost:3001/dashboard (auto-refresh every 30s, dark theme, card layout)
  • Can screenshot the dashboard to send to user as visual health summary
  • Grafana (optional, heavy): see upstream/README.md (requires Docker + MongoDB)

Limitations

  • iPhone must be unlocked for background auto-sync (iOS restriction)
  • Phone and PC must be on the same Wi-Fi / LAN
  • Server must be running on PC to receive data
  • Health Auto Export Premium required for automatic sync ($24.99 lifetime), but they have a trail version

平台分布

OpenClaw

71.32%
按下载量换算6,300

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills