Agent skill

AI Analyzer

by huifer in huifer/WellAlly-health

AI驱动的综合健康分析系统,整合多维度健康数据、识别异常模式、预测健康风险、提供个性化建议。支持智能问答和AI健康报告生成。

MITAuto-check passedProductivity & Automation

Install AI Analyzer

skills CLI
$ npx skills add huifer/WellAlly-health --skill ai-analyzer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install huifer/WellAlly-health ai-analyzer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/huifer/WellAlly-health.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ai-analyzer .claude/skills/ai-analyzer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ai-analyzer
GitHub stars
960
Used in
5 other repos
Token cost
~1k tokens
SKILL.md length
242 words
Files
1
Skills in repo
15
Repo updated
First seen
Licence
MIT

At a glance

AI驱动的综合健康分析系统,整合多维度健康数据、识别异常模式、预测健康风险、提供个性化建议。支持智能问答和AI健康报告生成。

  • Works in 5 steps: 智能健康分析 → 健康风险预测 → 个性化建议引擎 → …
  • Productivity & Automation work in your project
  • SKILL.md covers 核心功能, 使用说明, 数据源 and 算法说明, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

AI Analyzer is an agent skill from huifer/WellAlly-health. AI驱动的综合健康分析系统,整合多维度健康数据、识别异常模式、预测健康风险、提供个性化建议。支持智能问答和AI健康报告生成。

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Productivity & Automation. The repository describes itself as: Ally-Health is an intelligent healthcare assistant that harnesses advanced AI technology and medical expertise to transform personal health management. Through natural language…. The licence is MIT.

When your agent uses it

  • Productivity & Automation work in your project

Example prompts

  • “/ai-analyzer”

Requirements

  • Pre-approved tools (allowed-tools): Read, Grep, Glob, Write

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. 智能健康分析
  2. 健康风险预测
  3. 个性化建议引擎
  4. 自然语言交互
  5. AI健康报告生成

What it can do on your machine

Read from SKILL.md and the folder at commit f604350. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob
    • Write

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

AI Analyzer loads about 1k tokens when it runs. Until then it costs about 19 tokens; SKILL.md has 242 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~19
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from huifer/WellAlly-health at commit f604350, republished under its MIT licence (© huifer). 242 words, ~1,029 tokens.

Download SKILL.mdSave it as .claude/skills/ai-analyzer/SKILL.md (or your agent's skills folder).
name
ai-analyzer
description
AI驱动的综合健康分析系统,整合多维度健康数据、识别异常模式、预测健康风险、提供个性化建议。支持智能问答和AI健康报告生成。
allowed-tools
Read, Grep, Glob, Write

AI健康分析器

基于AI技术的综合健康分析系统,提供智能健康洞察、风险预测和个性化建议。

核心功能

1. 智能健康分析
  • 多维度数据整合: 整合基础指标、生活方式、心理健康、医疗历史等4类数据源
  • 异常模式识别: 使用CUSUM、Z-score等算法检测异常值和变化点
  • 相关性分析: 计算不同健康指标之间的相关性(皮尔逊、斯皮尔曼)
  • 趋势预测: 基于历史数据进行趋势分析和预测
2. 健康风险预测
  • 高血压风险: 基于Framingham风险评分模型
  • 糖尿病风险: 基于ADA糖尿病风险评分标准
  • 心血管疾病风险: 基于ACC/AHA ASCVD指南
  • 营养缺乏风险: 基于RDA达成率和饮食模式分析
  • 睡眠障碍风险: 基于PSQI和睡眠模式分析
3. 个性化建议引擎
  • 基础个性化: 基于年龄、性别、BMI、活动水平等静态档案
  • 建议分级: Level 1(一般性)、Level 2(参考性)、Level 3(医疗建议)
  • 循证依据: 基于医学指南和循证医学证据
  • 可操作性: 提供具体、可行的改进建议
4. 自然语言交互
  • 智能问答: 支持健康数据查询、趋势分析、相关性查询等
  • 上下文理解: 维护对话历史,支持多轮对话
  • 意图识别: 识别用户查询意图,提供精准回复
5. AI健康报告生成
  • 综合报告: 包含所有维度健康数据、AI洞察、风险评估
  • 快速摘要: 关键指标概览、异常警示、主要建议
  • 风险评估报告: 各类疾病风险、风险因素分析、预防措施
  • 趋势分析报告: 多维度趋势、变化点识别、预测分析
  • HTML交互式报告: ECharts图表、Tailwind CSS样式

使用说明

触发条件

当用户提到以下场景时,使用此技能:

通用询问:

  • ✅ "AI分析我的健康状况"
  • ✅ "我的健康有什么风险?"
  • ✅ "生成AI健康报告"
  • ✅ "AI分析所有数据"

风险预测:

  • ✅ "预测我的高血压风险"
  • ✅ "我有糖尿病风险吗?"
  • ✅ "评估我的心血管风险"
  • ✅ "AI预测健康风险"

智能问答:

  • ✅ "我的睡眠怎么样?"
  • ✅ "运动对我的健康有什么影响?"
  • ✅ "我应该如何改善健康状况?"
  • ✅ "AI健康助手问答"

报告生成:

  • ✅ "生成AI健康报告"
  • ✅ "创建综合分析报告"
  • ✅ "AI风险评估报告"
执行步骤
步骤 1: 读取AI配置
javascript
const aiConfig = readFile('data/ai-config.json');
const aiHistory = readFile('data/ai-history.json');

检查AI功能是否启用,验证数据源配置。

步骤 2: 读取用户档案
javascript
const profile = readFile('data/profile.json');

获取基础信息:年龄、性别、身高、体重、BMI等。

步骤 3: 读取健康数据

根据配置的数据源读取相关数据:

javascript
// 基础健康指标
const indexData = readFile('data/index.json');

// 生活方式数据
const fitnessData = readFile('data-example/fitness-tracker.json');
const sleepData = readFile('data-example/sleep-tracker.json');
const nutritionData = readFile('data-example/nutrition-tracker.json');

// 心理健康数据
const mentalHealthData = readFile('data-example/mental-health-tracker.json');

// 医疗历史
const medications = exists('data/medications.json') ? readFile('data/medications.json') : null;
const allergies = exists('data/allergies.json') ? readFile('data/allergies.json') : null;
步骤 4: 数据整合和预处理

整合所有数据源,进行数据清洗、时间对齐和缺失值处理。

步骤 5: 多维度分析

相关性分析: 计算睡眠↔情绪、运动↔体重、营养↔生化指标等关联

趋势分析: 使用线性回归、移动平均等方法识别趋势方向

异常检测: 使用CUSUM、Z-score算法检测异常值和变化点

步骤 6: 风险预测

基于Framingham、ADA、ACC/AHA等标准进行风险预测:

  • 高血压风险(10年概率)
  • 糖尿病风险(10年概率)
  • 心血管疾病风险(10年概率)
  • 营养缺乏风险
  • 睡眠障碍风险
步骤 7: 生成个性化建议

根据分析结果生成三级建议:

  • Level 1: 一般性建议(基于标准指南)
  • Level 2: 参考性建议(基于个人数据)
  • Level 3: 医疗建议(需医生确认,包含免责声明)
步骤 8: 生成分析报告

文本报告: 包含总体评估、风险预测、关键趋势、相关性发现、个性化建议

HTML报告: 调用 scripts/generate_ai_report.py 生成包含ECharts图表的交互式报告

步骤 9: 更新AI历史记录

记录分析结果到 data/ai-history.json

数据源

数据源文件路径数据内容
用户档案data/profile.json年龄、性别、身高、体重、BMI
医疗记录data/index.json生化指标、影像检查
运动追踪data-example/fitness-tracker.json运动类型、时长、强度、MET值
睡眠追踪data-example/sleep-tracker.json睡眠时长、质量、PSQI评分
营养追踪data-example/nutrition-tracker.json饮食记录、营养素摄入、RDA达成率
心理健康data-example/mental-health-tracker.jsonPHQ-9、GAD-7评分
用药记录data/medications.json药物名称、剂量、用法、依从性
过敏史data/allergies.json过敏原、严重程度

算法说明

相关性分析
  • 皮尔逊相关系数: 连续变量(如睡眠时长与情绪评分)
  • 斯皮尔曼相关系数: 有序变量(如症状严重程度)
异常检测
  • CUSUM算法: 时间序列变化点检测
  • Z-score方法: 统计异常值检测(|z| > 2)
  • IQR方法: 四分位数异常值检测
风险预测
  • Framingham风险评分: 高血压、心血管疾病风险
  • ADA风险评分: 2型糖尿病风险
  • ASCVD计算器: 动脉粥样硬化心血管病风险

安全与合规

必须遵循
  • ❌ 不给出医疗诊断
  • ❌ 不给出具体用药剂量建议
  • ❌ 不判断生死预后
  • ❌ 不替代医生建议
  • ✅ 所有分析必须标注"仅供参考"
  • ✅ Level 3建议必须包含免责声明
  • ✅ 高风险预测必须建议咨询医生
隐私保护
  • ✅ 所有数据保持本地
  • ✅ 无外部API调用
  • ✅ HTML报告独立运行

相关命令

  • /ai analyze - AI综合分析
  • /ai predict [risk_type] - 健康风险预测
  • /ai chat [query] - 自然语言问答
  • /ai report generate [type] - 生成AI健康报告
  • /ai status - 查看AI功能状态

技术实现

工具限制

此Skill仅使用以下工具:

  • Read: 读取JSON数据文件
  • Grep: 搜索特定模式
  • Glob: 按模式查找数据文件
  • Write: 生成HTML报告和更新历史记录
性能优化
  • 增量读取:仅读取指定时间范围的数据文件
  • 数据缓存:避免重复读取同一文件
  • 延迟计算:按需生成图表数据

© huifer, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/ai-analyzer of huifer/WellAlly-health.

Open the folder on GitHubat commit f604350

Used in 5 other repositories

We found 15 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 5 other GitHub owners. This page covers the copy in huifer/WellAlly-health, which our catalogue first saw on October 7, 2026.

Compare with similar skills

AI Analyzer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

AI Analyzer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
AI Analyzer this skillhuifer/WellAlly-health9605 repos~1kAutomated safety check: PassMIT
Agent Browserquran/quran.com-frontend-next1.9k40 repos~3.3kAutomated safety check: PassNone
Perform Tasktelegramdesktop/tdesktop33k2 repos~3kAutomated safety check: PassGPL-3.0
Dependency Watchtelegramdesktop/tdesktop33k—~2.2kAutomated safety check: PassGPL-3.0
Brave Searchbadlogic/pi-skills2.6k5 repos~592Automated safety check: PassMIT
Garden Inboxpaperclipai/paperclip99k—~1.1kAutomated safety check: PassMIT

Similar skills

  • Agent Browser

    quran/quran.com-frontend-next

    Automates browser interactions for web testing, form filling, screenshots, and data extraction.

    1.9k GitHub starsUsed in 40 repos~3.3k tokens
    Productivity & AutomationAuto-check passed
  • Perform Task

    telegramdesktop/tdesktop

    Resolve, start or resume, implement, review, test, and publish exactly one existing ai-tdesktop task by short slug or full dated id, including rare blocked retries and split-required results.

    33k GitHub starsUsed in 2 repos~3k tokens
    Productivity & AutomationAuto-check passed
  • Dependency Watch

    telegramdesktop/tdesktop

    Audit Telegram Desktop dependencies on freshly fetched origin/dev for releases and security fixes, including upstream lag and backport candidates in patched forks.

    33k GitHub stars~2.2k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Brave Search

    badlogic/pi-skills

    Web search and content extraction via Brave Search API. An agent skill from badlogic/pi-skills.

    2.6k GitHub starsUsed in 5 repos~592 tokens
    Productivity & AutomationAuto-check passed
  • Garden Inbox

    paperclipai/paperclip

    Scan a Paperclip user's Mine inbox, classify reversible archive candidates, request checkbox confirmation, and archive only accepted selections.

    99k GitHub stars~1.1k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Continue

    telegramdesktop/tdesktop

    Continue autonomous Telegram Desktop development from the shared ai-tdesktop repository.

    33k GitHub starsUsed in 2 repos~9.4k tokens
    Productivity & AutomationAuto-check passed

More from huifer/WellAlly-health

All 15 skills in this repo
  • Emergency Card

    huifer/WellAlly-health

    生成紧急情况下快速访问的医疗信息摘要卡片。当用户需要旅行、就诊准备、紧急情况或询问"紧急信息"、"医疗卡片"、"急救信息"时使用此技能。提取关键信息(过敏、用药、急症、植入物),支持多格式输出(JSON、文本、二维码),用于急救或快速就医。

    960 GitHub starsUsed in 6 repos~2.7k tokens
    Auto-check passed
  • Health Trend Analyzer

    huifer/WellAlly-health

    分析一段时间内健康数据的趋势和模式。关联药物、症状、生命体征、化验结果和其他健康指标的变化。识别令人担忧的趋势、改善情况,并提供数据驱动的洞察。当用户询问健康趋势、模式、随时间的变化或"我的健康状况有什么变化?"时使用。支持多维度分析(体重/BMI、症状、药物依从性、化验结果、情绪睡眠),相关性分析,变化检测,以及交互式HTML可视化报告(ECharts图表)。

    960 GitHub starsUsed in 6 repos~1.8k tokens
    Auto-check passed
  • Fitness Analyzer

    huifer/WellAlly-health

    分析运动数据、识别运动模式、评估健身进展,并提供个性化训练建议。支持与慢性病数据的关联分析. An agent skill from huifer/WellAlly-health.

    960 GitHub starsUsed in 5 repos~1.3k tokens
    Auto-check passed
  • Goal Analyzer

    huifer/WellAlly-health

    分析健康目标数据、识别目标模式、评估目标进度,并提供个性化目标管理建议。支持与营养、运动、睡眠等健康数据的关联分析. An agent skill from huifer/WellAlly-health.

    960 GitHub starsUsed in 5 repos~2k tokens
    Auto-check passed
  • Mental Health Analyzer

    huifer/WellAlly-health

    分析心理健康数据、识别心理模式、评估心理健康状况、提供个性化心理健康建议。支持与睡眠、运动、营养等其他健康数据的关联分析。

    960 GitHub starsUsed in 5 repos~3.2k tokens
    Auto-check passed
  • Nutrition Analyzer

    huifer/WellAlly-health

    分析营养数据、识别营养模式、评估营养状况,并提供个性化营养建议。支持与运动、睡眠、慢性病数据的关联分析. An agent skill from huifer/WellAlly-health.

    960 GitHub starsUsed in 5 repos~3.3k tokens
    Auto-check passed

Questions about AI Analyzer

What does AI Analyzer do?

AI驱动的综合健康分析系统,整合多维度健康数据、识别异常模式、预测健康风险、提供个性化建议。支持智能问答和AI健康报告生成。. AI Analyzer is an agent skill from huifer/WellAlly-health.

When should I use AI Analyzer?

AI Analyzer fits situations like: productivity & Automation work in your project.

How do I install AI Analyzer in Claude Code?

Run `npx skills add huifer/WellAlly-health --skill ai-analyzer -a claude-code`. Or copy the skill folder (skills/ai-analyzer in huifer/WellAlly-health) into .claude/skills/ai-analyzer in your project. Claude Code loads it when a task matches its description.

How do I install AI Analyzer in Codex?

Run `npx skills add huifer/WellAlly-health --skill ai-analyzer -a codex`. Or copy the skill folder (skills/ai-analyzer in huifer/WellAlly-health) into .agents/skills/ai-analyzer in your project. Codex loads it when a task matches its description.

Can I use AI Analyzer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add huifer/WellAlly-health --skill ai-analyzer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ai-analyzer, .gemini/skills/ai-analyzer, .github/skills/ai-analyzer and .opencode/skills/ai-analyzer in your project.

What does AI Analyzer need to run?

SKILL.md names no scripts, command-line tools or credentials: AI Analyzer is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Grep, Glob, Write.

Does AI Analyzer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is AI Analyzer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does AI Analyzer use?

AI Analyzer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does AI Analyzer use?

About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to AI Analyzer?

Skills that share tags, products or a category with AI Analyzer: Agent Browser (quran/quran.com-frontend-next, 1.9k stars), Perform Task (telegramdesktop/tdesktop, 33k stars), Dependency Watch (telegramdesktop/tdesktop, 33k stars) and Brave Search (badlogic/pi-skills, 2.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains AI Analyzer?

huifer (a GitHub user) maintains it in huifer/WellAlly-health, which has 960 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on July 16, 2026.

Source: huifer/WellAlly-health on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.