본문으로 건너뛰기
cccskills
무료GitHub에 공개

apple_healthkit

Review synced Apple Health records, including steps, heart rate, sleep, and workouts. Retrieve daily summaries or detailed samples for a chosen period, and check sync status and missing data before interpreting the results.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

The user's synced Apple Health (HealthKit) data: daily metrics (steps, distance, calories, heart rate, HRV, VO2max), sleep sessions (stages, quality, efficiency), and workouts.

설치 방법 보기

이럴 때 유용합니다

  • Review daily steps and heart rate over time
  • Check sleep stages, duration, and awakenings
  • Review workout duration, distance, and calories
  • Check sync status and gaps in health records

포함된 파일(2)

  • SKILL.md8.7 KB
  • manifest.yaml2.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Apple Health

Read the user's synced Apple HealthKit data with the health-cli binary. Every command below takes --provider healthkit.

This skill serves iOS devices only. If the user's paired device is not an iPhone, it has no data for them — check the platform field returned by device.list when you are unsure.

Data Source

Despite syned from apple healthkit, do not assume the data is originated from ios devices only. It could come from other sources/devices which share data with Apple Healthkit.

When to Use

When the user asks about their synced HealthKit data, sync status, or sources:

  • All-day metrics/vitals: steps, distance, calories, heart rate, HRV, VO2max.
  • Sleep sessions: stages, quality, efficiency, awakenings.
  • Workouts: type, duration, calories, distance, HR.

Tooling

Binary: health-cli. --provider healthkit is required on every command below — it is not optional and has no default; omitting it is a usage error. Commands group by data shape under query:

  • query metrics --provider healthkit — all-day metric rollups
  • query samples --provider healthkit — raw, unbucketed data points (intraday HR/steps, GPS, sleep stages)
  • query sessions --provider healthkit — discrete sessions: sleep, workout
  • status --provider healthkit — data-sync status
  • auth connect --provider healthkit, auth disconnect --provider healthkit
  • delete — erase stored records (destructive; see below)

Multi-device (rare): when a window spans >1 device the envelope adds "multi_node": true — query metrics returns per-device node_groups; query samples/sessions add a node_id to each record (samples CSV gains a leading node_id column). Single-device output is unchanged; never sum or double-count across devices.

query metrics — all-day metric rollups

health-cli query metrics --provider healthkit \
  --start-date <YYYY-MM-DD> [--end-date <YYYY-MM-DD>] \
  [--interval hourly|daily|weekly] [--fields a,b,c] [--timeout-secs N]

daily-metrics is the only domain so there is no --category. One row per --interval bucket (default daily). --start-date required; --end-date defaults to today. Output is an envelope { "coverage": {...}, "records": [...] } (see Coverage below).

--list-fields reads the metric field names from the synced data →
{ ok, provider, category, observed_count, fields: [{ name, observed, count? }] }.
observed: true (with a row count) means the name is present in this user's data — those are exactly the names --fields matches. observed: false means the build knows the field but nothing has synced yet. If the field set can't be read the response carries degraded: true and every observed is null.

query sessions — discrete sessions

health-cli query sessions --provider healthkit --category sleep|workout \
  --start-date <YYYY-MM-DD> [--end-date <YYYY-MM-DD>] [--fields a,b,c]
  • sleep — one row per sleep session.
  • workout — one row per workout/activity.

Sessions are never bucketed (no --interval). Discovery: --list-categories → { ok, provider, categories }; --list-fields (needs --category) → { ok, provider, category, fields } (e.g. workout has is_indoor).

Output: normalized snake_case records; the same concept uses the same field name (e.g. workout average_speed_mps, elevation_gain_meters, hr_average_bpm). Session records carry a provider-prefixed id (healthkit_…) + start_datetime/end_datetime/timezone; metric buckets carry date/hour/week_start + record_count.

Coverage: queries return an envelope { "coverage": {...}, "records": [...] }. coverage.complete is false when days in the window aren't synced from the device; coverage.warning then holds the exact backfill_data_source command to run. Surface that warning to the user / act on it — results are partial until the backfill completes.

query samples — raw, unbucketed data points

health-cli query samples --provider healthkit --start-date <YYYY-MM-DD> \
  [--end-date <YYYY-MM-DD>] [--start-time <HH:MM[:SS]>] [--end-time <HH:MM[:SS]>] \
  [--fields <type1,...>] [--limit <n>] [--format stdout|csv] [--output <path>]
health-cli query samples --provider healthkit --list-fields   # discover sample types

Individual samples — finer than the query metrics rollups (intraday HR/steps, GPS, sleep-stage timelines; query sessions gives stage totals only). --fields selects sample types (not output columns) — run --list-fields to see the types this user has synced. GPS is location (raw lat/lon — don't infer place names from it). For dense reads use --output <path>: it writes CSV into the agent filesystem for a later script step and prints only a summary, keeping thousands of rows out of context.

status — data-sync status

health-cli status --provider healthkit [--timeout-secs N] \
  [--start-date <YYYY-MM-DD>] [--end-date <YYYY-MM-DD>] [--check-missing-entries]

Returns { categories: [{ name, record_count, earliest_datetime, latest_datetime }] }. With --check-missing-entries (requires --start-date): a deep per-30-min-interval gap report (unsynced_dates, missing_intervals, …).

auth connect

health-cli auth connect --provider healthkit [--timeout-secs N]

Run this and follow the instruction to connect to apple healthkit data.

auth disconnect

health-cli auth disconnect --provider healthkit [--timeout-secs N]

Apple Health cannot be disconnected through this CLI or an in-chat widget. Tell the user to open Settings → Connectors → Apple Health and tap
Disconnect.

delete — erase stored Apple Health (HealthKit) records

health-cli delete --provider healthkit --all                # every Apple Health record
health-cli delete --provider healthkit --device NODE_ID     # one paired device
health-cli delete --provider healthkit --start-date 2026-03-01 --end-date 2026-03-31

Use for any request to delete, remove, erase, wipe, or clear HealthKit data. Never improvise it by moving files, disconnecting the connector, or writing to the database — those neither remove records nor leave an audit trail. A delete never spans providers; to clear both, run it once per provider.

--all takes no other filter; --device/--start-date/--end-date are used instead of it. All record kinds go at once — no per-category or per-record-ID delete. Dates are YYYY-MM-DD in JARVIS_USER_TIMEZONE or epoch seconds; a record is in range when it starts before the end and ends after the start, so a session straddling a bound is included. --start-date alone deletes from that day onward, --end-date alone up to and including it.

Destructive and irreversible, behind a fresh one-time approval showing the normalized filters. Run it once per request — settle provider, device and dates in conversation first. Denial exits code 3 with nothing deleted; that is final, so report it rather than retrying other filters or the other provider.

Zero is a success, not a miss — nothing matched, so say so and stop rather than widening dates or re-running with --all. Report deleted.records, not total_rows, which also counts child value rows. Apple Health is device-synced, so records still on the device can return on a later sync.

Auth

Device-synced; no login. Data availability depends on the on-device Health permission + sync. Use status to see synced ranges and the backfill_data_source device action (surfaced in query coverage.warning) to pull a range.

Operating Rules

  1. Pick the command by data shape: query metrics (all-day rollups), query samples (raw points — only when individual samples matter; prefer metrics for trends), or query sessions --category sleep|workout (discrete events).
  2. Always pass --provider healthkit and --start-date; --end-date defaults to today. Use current-date context for relative asks ("today", "last week"); use sample time bounds for narrow intraday windows.
  3. Coverage: if a query metrics/sessions returns coverage.complete: false, tell the user the data is partial and relay/act on coverage.warning (run the backfill_data_source action, then re-query).
  4. query metrics defaults to --interval daily; sleep spans midnight (include both evening start and morning end dates).
  5. On empty results, the range likely has no data; widen it, or check status / coverage and backfill.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

3d-object

무료

Create a 3D object with three.js, inspect it from every angle in an interactive viewer, and download it as OBJ + MTL or GLB for use in other 3D applications.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Create a 3D object and inspect it from every angle
  • Export a model for further editing in Blender
  • Review an object's silhouette and materials
asgeirtj/system_prompts_leaks7만2026년 10월 16일 업데이트

Maintain a private task list with deadlines, next steps, waiting parties, and blockers. Update progress and dependencies, merge duplicate items, and archive closed tasks so ongoing commitments stay clear and easy to follow.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Record tasks and commitments with deadlines
  • Track pending replies and reasons work cannot proceed
  • Update task dependencies when prerequisites are completed
asgeirtj/system_prompts_leaks7만2026년 10월 16일 업데이트

agents

무료

Coordinate a task from a verifiable goal through completion. Handle work directly or split independent tasks across separate agent sessions, track progress, verify results, and arrange pull request merging when included in the goal.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Split independent tasks across agents
  • Check progress across ongoing tasks
  • Resume a previously started project
asgeirtj/system_prompts_leaks7만2026년 10월 16일 업데이트

Create animated HTML pages with smooth scene transitions and playback controls. An editable timeline lets users adjust scene lengths and speeds, with fixed landscape or portrait layouts prepared for video export.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Create an animated product walkthrough
  • Explain a message through moving text and graphics
  • Build a portrait animation for video export
asgeirtj/system_prompts_leaks7만2026년 10월 16일 업데이트

Create and edit Word documents and templates, reorganize text, replace images, and work with tracked changes or comments. Apply proper headings and lists, then render every page to check its appearance before delivery.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Create a structured Word document
  • Reorganize content in an existing document
  • Replace images or text in a document
asgeirtj/system_prompts_leaks7만2026년 10월 16일 업데이트

Create or revise Markdown files for notes, README files, meeting minutes, and documentation. Organize content with headings, lists, and suitable tables, then read the finished file to check formatting and remove unfinished content.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Create a project README
  • Turn meeting notes into minutes
  • Revise a Markdown manual
asgeirtj/system_prompts_leaks7만2026년 10월 16일 업데이트

asgeirtj의 스킬 모두 보기

이 스킬의 문제 신고