تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

healthkit-sync

بواسطة mneves75

Apple Apps & Services
3.0kالتنزيلات وفق ما يذكره clawskills.sh
11النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

iOS HealthKit data sync CLI commands and patterns.

الوصف

ما الذي تفعله هذه المهارة

healthkit-sync provides CLI commands and patterns for syncing Apple HealthKit data from an iPhone to a Mac over a local network. It uses mTLS certificate pinning and macOS Keychain storage to keep health data on-device and off cloud services. The skill covers pairing, data fetching, and the underlying iOS app architecture.

Syncing over local network with mTLS and TOFU certificate pinning keeps health data off third-party cloud services entirely.

متى تستخدمها

  • Export a week of step counts to CSV for a spreadsheet
  • Pull sleep stage data for a personal health dashboard
  • Fetch heart rate variability trends after workouts
  • Automate daily health data backups to a local file
  • Diagnose pairing or connection issues with the healthsync CLI

مثال على سير العمل

الإدخال

User asks: fetch my step count and heart rate for January 2026 as JSON

الوكيل
  1. 1

    Run healthsync status to confirm device is paired and reachable

  2. 2

    Run healthsync types to confirm steps and heartRate are enabled

  3. 3

    Run healthsync fetch --start 2026-01-01T00:00:00Z --end 2026-01-31T23:59:59Z --types steps,heartRate --format json

  4. 4

    Pipe output through jq to inspect or filter the results

الإخراج

JSON array of timestamped step count and heart rate samples for January 2026

المتطلبات

  • healthsync CLI installed on macOS (~/.healthsync/config.json)
  • iOS Health Sync app installed on iPhone

التثبيت

clawhub install mneves75/healthkit-sync

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط