Token导航 LogoToken导航

Agent Skill · 研究检索

apple-health-analyst(Apple health analyst 搜索)

apple-health-analyst 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

apple-health-analyst 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 47,174。

总安装 745周安装 32GitHub Stars 46下载 261核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/ruochenlyu/apple-health-analyst --skill apple-health-analyst

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选 Apple Health 数据分析相关信息。适用于 Codex、Claude、Cursor、Gemini CLI,支持基于关键词的任务场景匹配。通过 npx skills add 命令安装,需结合来源仓库 README 确认具体使用方法。

安装前建议核实是否会触发联网或数据处理操作,避免隐私泄露风险。apple-health-analyst 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/apple-health-analyst

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/ruochenlyu/apple-health-analyst --skill apple-…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

apple-health-analyst 怎么安装?

在终端执行 npx skills add https://github.com/ruochenlyu/apple-health-analyst --skill apple-health-ana…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

apple-health-analyst 支持哪些 AI 工具?

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

apple-health-analyst 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

apple-health-analyst 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

apple-health-analyst 用的人多吗?

公开数据是累计安装 745 次,近一周安装 32 次,下载 261 次,GitHub 46 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

apple-health-analyst 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

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

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
apple-health-analyst

Apple health analyst 搜索 · 本页

74546只读未明确有提醒

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

SKILL.md 原文

Apple Health Advisor

Use this skill when a user wants to analyze an Apple Health export ZIP. The ZIP is too large to fit directly into context, so the skill uses a local CLI pipeline to parse and structure the data first.

This is one skill that ships two complementary reports:

  • Default (recommended): generate BOTH reports — health report + training report, rendered into the same output/ folder and cross-linked via an in-page link in the topbar. prepare runs once, then render runs twice.
  • Explicit health-only: user says "只要健康报告" / "health report only" / similar → skip training render.
  • Explicit training-only: user says "只要运动报告" / "training report only" / names a sport exclusively → skip health render.

Language Detection

Detect the user's language from their message:

  • If the user writes in Chinese, use --lang zh
  • For all other languages, use --lang en

The narrative language must match the language declared in insights.json:

  • Health report: narrativeContext.language
  • Training report: training.narrativeContext.language

Intent Routing

Default: generate both health + training reports. Only drop one when the user is explicit.

  • Default (both) examples:

- Analyze my Apple Health export - 帮我分析 Apple Health 导出 - Generate a report from my Apple Health export

  • Health-only examples (skip training render):

- Only generate the health report - 只要健康报告 - 不用生成运动报告

  • Training-only examples (skip health render):

- Only generate the training report - 只要运动报告 - 重点分析拳击训练状态 (user is only asking about a specific sport) - 分析跑步和骑行训练趋势

Ambiguous-but-lean-training keywords still default to both reports (the training report alone is rarely enough context). The keywords below only matter as hints — they do NOT suppress the health report unless the user also says "只" / "only":

  • training, workout, 运动, 训练, 专项
  • named sports such as boxing, running, cycling, walking, hiking, strength training, 拳击, 跑步, 骑行, 力量训练

Your Role

Two roles share the same pipeline:

  1. Health management advisor:

- Integrate sleep, recovery, activity, and body metrics into an overall health view - Prioritize cross-metric reasoning over metric-by-metric reporting

  1. Training status advisor:

- Judge load, recovery support, consistency, and sport-specific trends - Give actionable training-management advice without pretending to be Garmin or a coach writing a periodized plan

Workflow

  1. Confirm the input is an official Apple Health export ZIP and that the main XML has HealthData as its root node.
  2. Run local prepare once with the correct --lang, producing summary.json and insights.json.
  3. Read summary.json, then insights.json.
  4. Decide which reports to produce (default = both unless the user is explicit; see Intent Routing).
  5. For each selected report, write the narrative JSON:

- health: report.llm.json - training: training.report.llm.json

  1. Run render for each selected report:

- health: default render - training: render --type training

  1. Both HTML reports share the same output/ folder. The topbar carries a cross-link between them, so the user can jump back and forth. File names are fixed (report.html ↔ training.report.html) — do not rename.

insights.json Keys You Must Use

Shared

KeyWhat it contains
metadatatool, version, language, schemaVersion, generatedAt
historicalContextRecent 30d, baseline 90d, trailing 180d, all-time context
charts[]Health chart groups
crossMetricCross-metric health reasoning
riskFlags[]Health risks with evidence
notableChanges[]Significant changes
dataGaps[]Missing or sparse data warnings
sourceConfidence[]Device/source reliability signals

Health report

KeyWhat it contains
analysis.sleepSleep duration, stages, timing, regularity
analysis.recoveryRHR, HRV, blood oxygen, respiratory rate, VO2 max
analysis.activityActive energy, exercise minutes, stand hours, workouts
analysis.bodyCompositionWeight, body fat %
analysis.menstrualCycleCycle analysis if present
narrativeContextHealth-report audience, goal, schema version, boundaries

Training report

KeyWhat it contains
training.summaryTraining state, readiness, recent load, recovery support, primary sport
training.summary.trainingLoadCTL / ATL / TSB snapshot + 30-day & 90-day CTL deltas (null when < 28 days of data or < 6 workouts)
training.sports[]Top sports (dormant ones filtered, topSportCount configurable via --top-sports, default 5) with recent/baseline/trailing/all-time windows, recovery-after-workout, consistency, tags
training.charts[]training_load (CTL/ATL monthly curve), training_recovery, and sport_<slug>_trend charts
training.narrativeContextTraining-report audience, goal, schema version, boundaries

Commands

Default flow — prepare once, render twice so the folder contains both report sets. Pass --with-cross-link to both render calls so the topbar/footer cross-link lights up; omit it on single-report runs to avoid a dead link to a file that will not exist.

# 1. Prepare once (shared by both reports)
#    Optional: --top-sports N to cap the training-report sport list (default 5)
npx apple-health-analyst prepare /path/to/export.zip --lang en --out ./output

# 2. Health render (fixed file name: report.html)
npx apple-health-analyst render \
  --insights ./output/insights.json \
  --narrative ./output/report.llm.json \
  --with-cross-link \
  --out ./output

# 3. Training render (fixed file name: training.report.html)
npx apple-health-analyst render \
  --type training \
  --insights ./output/insights.json \
  --narrative ./output/training.report.llm.json \
  --with-cross-link \
  --out ./output

The two HTML files auto-link to each other via the topbar and footer only when --with-cross-link is set on both renders. Always write both into the same --out directory to keep the cross-links working.

Single-report mode: if the user is explicit about only wanting the health or the training report (see Intent Routing), run render once without --with-cross-link — otherwise the lone HTML will point at a companion file that never gets generated.

Health Narrative Framework

Use the existing health schema in references/report-llm-json.md.

Prioritize:

  1. crossMetric.compositeAssessment
  2. crossMetric.sleepRecoveryLink
  3. crossMetric.sleepConsistency
  4. crossMetric.activityRecoveryBalance
  5. crossMetric.recoveryCoherence
  6. crossMetric.patterns
  7. riskFlags and notableChanges

Health writing rules:

  • Every conclusion must cite concrete values or dates from summary.json or insights.json
  • key_findings must be cross-metric, not single-metric trivia
  • actions_next_2_weeks must specify time, frequency, or numeric targets
  • questions_for_doctor must be data-driven and specific

Training Narrative Framework

Use the training schema in references/training-report-llm-json.md.

Prioritize:

  1. training.summary.trainingState and training.summary.readiness
  2. training.summary.trainingLoad — the CTL / ATL / TSB snapshot (primary load signal)
  3. training.summary.loadTrend and training.summary.recoverySupport (legacy 30d-vs-90d views, use as corroboration)
  4. training.sports[] in descending importance
  5. training.charts[]
  6. dataGaps[] and missing metric coverage

Training writing rules:

  • Use neutral wording inspired by public training-status concepts (CTL / ATL / TSB), not branded Garmin claims
  • When training.summary.trainingLoad is non-null, lead with CTL direction + TSB value; cite ctlDelta30dPct and ctlDelta90dPct rather than the legacy 30-day-vs-90-day numbers
  • If trainingLoad is null, fall back to loadTrend and say so explicitly (e.g. "数据覆盖不足 28 天,暂以 30 天对比为准")
  • Sport sections must focus on the actual top sports in training.sports[]
  • Only discuss heart rate or distance when the structured data includes those metrics
  • Recommendations are for training management and health monitoring, not race plans or diagnosis

Required Reading Before Writing Narrative

Constraints

  • Only reference facts from summary.json and insights.json
  • Do not fabricate sport metrics, chart IDs, or medical risks
  • Provide health management and training adjustment advice, not diagnoses or treatment plans
  • If a module is insufficient_data, say so plainly
  • Do not generate final HTML directly; write the narrative JSON first, then run render

Error Handling

  • ZIP format error: if prepare cannot find the HealthData XML, verify the user provided the official Apple Health export ZIP. The main XML filename is not fixed and may be localized (for example 导出.xml) or appear as mojibake. export_cda.xml / ClinicalDocument is auxiliary only and should not be used as the main analysis input.
  • Out of memory: large ZIPs may need --from and --to
  • Health narrative validation failure: verify report.llm.json matches schema v2
  • Training narrative validation failure: verify training.report.llm.json matches schema v1 and only references existing sport/chart IDs
  • npm cache EPERM: use npm_config_cache=./.npm-cache
  • Sandbox/policy rejection: do not chain destructive commands with prepare / render; create directories separately if needed

Output Files

Always produced by prepare:

  • summary.json
  • insights.json

Health render (file names are fixed; do not rename):

  • report.llm.json
  • report.md
  • report.html

Training render (file names are fixed; do not rename):

  • training.report.llm.json
  • training.report.md
  • training.report.html

The two HTML reports cross-link via the topbar and footer using relative paths (./report.html ↔ ./training.report.html). Keep both in the same output/ directory for the links to work.

平台分布

Codex

33.83%
按下载量换算88

Claude

30.76%
按下载量换算80

Cursor

19.06%
按下载量换算50

Gemini CLI

9.68%
按下载量换算25

安全审计

Gen Agent Trust Hub

可疑

Socket

可疑

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

继续浏览同类 Skills