Wellally Tech 标志

Wellally Tech

社区
huifer
wellally-tech

整合 Apple Health、Fitbit、Oura Ring 等数字健康数据源,并连接 WellAlly.tech 知识库。导入外部健康设备数据,将其转换为本地格式,并根据健康数据推荐相关的 WellAlly.tech 知识库文章。支持通用 CSV/JSON 导入,提供智能文章推荐,帮助用户更好地管理个人健康数据。

概览

发布者huifer
代码仓库WellAlly-health
技能名称wellally-tech
星标数
960
复刻数
123
附带文件
7
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 7 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 huifer 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Wellally Tech AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/huifer/WellAlly-health/tree/main/skills/wellally-tech
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/huifer/WellAlly-health.git /tmp/WellAlly-health
mkdir -p .claude/skills
cp -r /tmp/WellAlly-health/skills/wellally-tech .claude/skills/wellally-tech
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Wellally Tech,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Wellally Tech。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Wellally Tech 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

WellAlly Digital Health Integration

Integrate multiple digital health data sources, connect to WellAlly.tech knowledge base, providing data import and knowledge reference for personal health management systems.

Core Features

1. Digital Health Data Import

  • Apple Health (HealthKit): Export XML/ZIP file parsing
  • Fitbit: OAuth2 API integration and CSV import
  • Oura Ring: API v2 data synchronization
  • Generic Import: CSV/JSON file import with field mapping

2. WellAlly.tech Knowledge Base Integration

  • Categorized Article Index: Nutrition, fitness, sleep, mental health, chronic disease management
  • Intelligent Recommendations: Recommend relevant articles based on user health data
  • URL References: Provide direct links to WellAlly.tech platform

3. Data Standardization

  • Format Conversion: Convert external data to local JSON format
  • Field Mapping: Intelligently map data fields from different platforms
  • Data Validation: Ensure completeness and accuracy of imported data

4. Intelligent Article Recommendations

  • Health Status Analysis: Based on user health data analysis
  • Relevance Matching: Recommend articles most relevant to user health conditions
  • Category Navigation: Organize knowledge base articles by health topics

Usage Instructions

Trigger Conditions

Use this skill when users mention the following scenarios:

Data Import:

  • ✅ "Import my health data from Apple Health"
  • ✅ "Connect my Fitbit device"
  • ✅ "Sync my Oura Ring data"
  • ✅ "Import CSV health data file"
  • ✅ "How to import fitness tracker/smartwatch data"

Knowledge Base Query:

  • ✅ "Articles about hypertension on WellAlly platform"
  • ✅ "Recommend some health management reading materials"
  • ✅ "Recommend articles based on my health data"
  • ✅ "WellAlly knowledge base articles about sleep"
  • ✅ "How to improve my blood pressure (check knowledge base)"

Data Management:

  • ✅ "What health data sources do I have"
  • ✅ "Integrate health data from different platforms"
  • ✅ "View imported external data"

Execution Steps

Step 1: Identify User Intent

Determine what the user wants:

  1. Import Data: Import data from external health platforms
  2. Query Knowledge Base: Find WellAlly.tech related articles
  3. Get Recommendations: Recommend articles based on health data
  4. Data Management: View or manage imported external data
Step 2: Data Import Workflow

If user wants to import data:

2.1 Determine Data Source

javascript
const dataSource = identifySource(userInput);
// Possible returns: "apple-health", "fitbit", "oura", "generic-csv", "generic-json"

2.2 Read External Data Use appropriate import script based on data source type:

javascript
// Apple Health
const appleHealthData = readAppleHealthExport(exportPath);

// Fitbit
const fitbitData = fetchFitbitData(dateRange);

// Oura Ring
const ouraData = fetchOuraData(dateRange);

// Generic CSV/JSON
const genericData = readGenericFile(filePath, mappingConfig);

2.3 Data Mapping and Conversion Map external data to local format:

javascript
// Example: Apple Health steps mapping
function mapAppleHealthSteps(appleRecord) {
  return {
    date: formatDateTime(appleRecord.startDate),
    steps: parseInt(appleRecord.value),
    source: "Apple Health",
    device: appleRecord.sourceName
  };
}

// Save to local file
saveToLocalFile("data/fitness/activities.json", mappedData);

2.4 Data Validation

javascript
function validateImportedData(data) {
  // Check required fields
  // Validate data types
  // Check data ranges
  // Ensure correct time format

  return {
    valid: true,
    errors: [],
    warnings: []
  };
}

2.5 Generate Import Report

javascript
const importReport = {
  source: dataSource,
  import_date: new Date().toISOString(),
  records_imported: {
    steps: 1234,
    weight: 30,
    heart_rate: 1200,
    sleep: 90
  },
  date_range: {
    start: "2025-01-01",
    end: "2025-01-22"
  },
  validation: validationResults
};
Step 3: Knowledge Base Query Workflow

If user wants to query knowledge base:

3.1 Identify Query Topic

javascript
const topic = identifyTopic(userInput);
// Possible returns: "nutrition", "fitness", "sleep", "mental-health", "chronic-disease", "hypertension", "diabetes", etc.

3.2 Search Relevant Articles Find relevant articles from knowledge base index:

javascript
function searchKnowledgeBase(topic) {
  // Read knowledge base index
  const kbIndex = readFile('.claude/skills/wellally-tech/knowledge-base/index.md');

  // Find matching articles
  const articles = kbIndex.categories.filter(cat =>
    cat.tags.includes(topic) || cat.keywords.includes(topic)
  );

  return articles;
}

3.3 Return Article Links

javascript
const results = {
  topic: topic,
  articles: [
    {
      title: "Hypertension Monitoring and Management",
      url: "https://wellally.tech/knowledge-base/chronic-disease/hypertension-monitoring",
      category: "Chronic Disease Management",
      description: "Learn how to effectively monitor and manage blood pressure"
    },
    {
      title: "Blood Pressure Lowering Strategies",
      url: "https://wellally.tech/knowledge-base/chronic-disease/bp-lowering-strategies",
      category: "Chronic Disease Management",
      description: "Improve blood pressure levels through lifestyle changes"
    }
  ],
  total_found: 2
};
Step 4: Intelligent Recommendation Workflow

If user wants personalized recommendations:

4.1 Read User Health Data

javascript
// Read relevant health data
const profile = readFile('data/profile.json');
const bloodPressure = glob('data/blood-pressure/**/*.json');
const sleepRecords = glob('data/sleep/**/*.json');
const weightHistory = profile.weight_history || [];

4.2 Analyze Health Status

javascript
function analyzeHealthStatus(data) {
  const status = {
    concerns: [],
    good_patterns: []
  };

  // Analyze blood pressure
  if (data.blood_pressure?.average > 140/90) {
    status.concerns.push({
      area: "blood_pressure",
      severity: "high",
      condition: "Hypertension",
      value: data.blood_pressure.average
    });
  }

  // Analyze sleep
  if (data.sleep?.average_duration < 6) {
    status.concerns.push({
      area: "sleep",
      severity: "medium",
      condition: "Sleep Deprivation",
      value: data.sleep.average_duration + " hours"
    });
  }

  // Analyze weight trend
  if (data.weight?.trend === "increasing") {
    status.concerns.push({
      area: "weight",
      severity: "medium",
      condition: "Weight Gain",
      value: data.weight.change + " kg"
    });
  }

  // Identify good patterns
  if (data.steps?.average > 8000) {
    status.good_patterns.push({
      area: "activity",
      description: "Daily average steps over 8000",
      value: data.steps.average
    });
  }

  return status;
}

4.3 Recommend Relevant Articles

javascript
function recommendArticles(healthStatus) {
  const recommendations = [];

  for (const concern of healthStatus.concerns) {
    const articles = findArticlesForCondition(concern.condition);
    recommendations.push({
      condition: concern.condition,
      severity: concern.severity,
      articles: articles
    });
  }

  return recommendations;
}

4.4 Generate Recommendation Report

javascript
const recommendationReport = {
  generated_at: new Date().toISOString(),
  health_status: healthStatus,
  recommendations: recommendations,
  total_articles: recommendations.reduce((sum, r) => sum + r.articles.length, 0)
};

Output Format

Data Import Output

✅ Data Import Successful

Data Source: Apple Health
Import Time: 2025-01-22 14:30:00

Import Records Statistics:
━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Step Records: 1,234 records
⚖️ Weight Records: 30 records
❤️ Heart Rate Records: 1,200 records
😴 Sleep Records: 90 records

Data Time Range: 2025-01-01 to 2025-01-22
━━━━━━━━━━━━━━━━━━━━━━━━━━

💾 Data Saved To:
• data/fitness/activities.json (steps)
• data/profile.json (weight history)
• data/fitness/heart-rate.json (heart rate)
• data/sleep/sleep-records.json (sleep)

⚠️  Validation Warnings:
• 3 step records missing timestamps, used default values
• 1 weight record abnormal (<20kg), skipped

💡 Next Steps:
• Use /health-trend to analyze imported data
• Use /wellally-tech for personalized article recommendations

Knowledge Base Query Output

📚 WellAlly Knowledge Base Search Results

Search Topic: Hypertension Management
Articles Found: 2

━━━━━━━━━━━━━━━━━━━━━━━━━━

1. Hypertension Monitoring and Management
   Category: Chronic Disease Management
   Link: https://wellally.tech/knowledge-base/chronic-disease/hypertension-monitoring
   Description: Learn how to effectively monitor and manage blood pressure

2. Blood Pressure Lowering Strategies
   Category: Chronic Disease Management
   Link: https://wellally.tech/knowledge-base/chronic-disease/bp-lowering-strategies
   Description: Improve blood pressure levels through lifestyle modifications

━━━━━━━━━━━━━━━━━━━━━━━━━━

🔗 Related Topics:
• Diabetes Management
• Cardiovascular Health
• Medication Adherence

💡 Tips:
Click links to visit [WellAlly.tech](https://www.wellally.tech/) platform for full articles

Intelligent Recommendation Output

💡 Article Recommendations Based on Your Health Data

Generated Time: 2025-01-22 14:30:00

━━━━━━━━━━━━━━━━━━━━━━━━━━

🔴 Attention Needed: Blood Pressure Management
━━━━━━━━━━━━━━━━━━━━━━━━━━
Current Status: Average blood pressure 142/92 mmHg (elevated)

Recommended Articles:
1. Hypertension Monitoring and Management
   https://wellally.tech/knowledge-base/chronic-disease/hypertension-monitoring

2. Blood Pressure Lowering Strategies
   https://wellally.tech/knowledge-base/chronic-disease/bp-lowering-strategies

3. Antihypertensive Medication Adherence Guide
   https://wellally.tech/knowledge-base/chronic-disease/medication-adherence

━━━━━━━━━━━━━━━━━━━━━━━━━━

🟡 Attention Needed: Sleep Improvement
━━━━━━━━━━━━━━━━━━━━━━━━━━
Current Status: Average sleep duration 5.8 hours (insufficient)

Recommended Articles:
1. Sleep Hygiene Basics
   https://wellally.tech/knowledge-base/sleep/sleep-hygiene

2. Improve Sleep Quality
   https://wellally.tech/knowledge-base/sleep/sleep-quality-improvement

━━━━━━━━━━━━━━━━━━━━━━━━━━

🟢 Keep Up: Daily Activity
━━━━━━━━━━━━━━━━━━━━━━━━━━
Current Status: Daily average steps 9,234 (good)

Related Reading:
1. Maintain Active Lifestyle
   https://wellally.tech/knowledge-base/fitness/active-lifestyle

━━━━━━━━━━━━━━━━━━━━━━━━━━

Summary: 5 related articles recommended
Visit [WellAlly.tech](https://www.wellally.tech/) Knowledge Base for full content

Data Sources

External Data Sources

Data SourceTypeImport MethodData Content
Apple HealthFile ImportXML/ZIP ParsingSteps, weight, heart rate, sleep, workouts
FitbitAPI/CSVOAuth2 or CSVActivities, heart rate, sleep, weight
Oura RingAPIOAuth2Sleep stages, readiness, heart rate variability
Generic CSVFile ImportField MappingCustom health data
Generic JSONFile ImportField MappingCustom health data

Local Data Files

File PathData ContentSource Mapping
data/profile.jsonProfile, weight historyApple Health, Fitbit, Oura
data/fitness/activities.jsonSteps, activity dataApple Health, Fitbit, Oura
data/fitness/heart-rate.jsonHeart rate recordsApple Health, Fitbit, Oura
data/sleep/sleep-records.jsonSleep recordsApple Health, Fitbit, Oura
data/fitness/recovery.jsonRecovery dataOura Ring (readiness)

WellAlly.tech Knowledge Base

Knowledge Base Structure

Nutrition & Diet (knowledge-base/nutrition.md)

  • Dietary management guidelines
  • Food nutrition queries
  • Diet recommendations
  • Special dietary needs

Fitness & Exercise (knowledge-base/fitness.md)

  • Exercise tracking best practices
  • Activity recommendations
  • Exercise data interpretation
  • Training plans

Sleep Health (knowledge-base/sleep.md)

  • Sleep quality analysis
  • Sleep improvement strategies
  • Sleep disorders overview
  • Sleep hygiene

Mental Health (knowledge-base/mental-health.md)

  • Stress management techniques
  • Mood tracking interpretation
  • Mental health resources
  • Mindfulness practice

Chronic Disease Management (knowledge-base/chronic-disease.md)

  • Hypertension monitoring
  • Diabetes management
  • COPD care
  • Medication adherence

Article Recommendation Mapping

javascript
const articleMapping = {
  "Hypertension": [
    "chronic-disease/hypertension-monitoring",
    "chronic-disease/bp-lowering-strategies"
  ],
  "Diabetes": [
    "chronic-disease/diabetes-management",
    "nutrition/diabetic-diet"
  ],
  "Sleep Deprivation": [
    "sleep/sleep-hygiene",
    "sleep/sleep-quality-improvement"
  ],
  "Weight Gain": [
    "nutrition/healthy-diet",
    "nutrition/calorie-management"
  ],
  "High Stress": [
    "mental-health/stress-management",
    "mental-health/mindfulness"
  ]
};

Integration Guides

Apple Health Import

Export Steps:

  1. Open "Health" app on iPhone
  2. Tap profile icon in top right corner
  3. Scroll to bottom, tap "Export All Health Data"
  4. Wait for export to complete and choose sharing method
  5. Save the exported ZIP file

Import Steps:

bash
python scripts/import_apple_health.py ~/Downloads/apple_health_export.zip

Fitbit Integration

API Integration:

  1. Create app on Fitbit Developer Platform
  2. Get CLIENT_ID and CLIENT_SECRET
  3. Run OAuth authentication flow
  4. Store access token

Import Data:

bash
python scripts/import_fitbit.py --api --days 30

CSV Import:

bash
python scripts/import_fitbit.py --csv fitbit_export.csv

Oura Ring Integration

API Integration:

  1. Create app on Oura Developer Platform
  2. Get Personal Access Token
  3. Configure token in import script

Import Data:

bash
python scripts/import_oura.py --date-range 2025-01-01 2025-01-22

Generic CSV/JSON Import

CSV Import:

bash
python scripts/import_generic.py health_data.csv --mapping mapping_config.json

Mapping Configuration Example (mapping_config.json):

json
{
  "date": "Date",
  "steps": "Step Count",
  "weight": "Weight (kg)",
  "heart_rate": "Resting Heart Rate"
}

Security & Privacy

Must Follow

  • ❌ Do not upload data to external servers (except API sync)
  • ❌ Do not hardcode API credentials in code
  • ❌ Do not share user access tokens
  • ✅ All imported data stored locally only
  • ✅ OAuth credentials encrypted storage
  • ✅ Import only after explicit user authorization

Data Validation

  • ✅ Validate imported data types and ranges
  • ✅ Filter abnormal values (e.g., negative steps)
  • ✅ Preserve data source information
  • ✅ Handle timezone conversion

Error Handling

File Read Failure:

  • Output "Unable to read file, please check file path and format"
  • Provide correct file format examples
  • Suggest re-exporting data

API Call Failure:

  • Output "API call failed, please check network connection and credentials"
  • Provide OAuth re-authentication guidance
  • Fall back to CSV import method

Data Validation Failure:

  • Output "Incorrect data format, skipped invalid records"
  • Log number of skipped records
  • Continue processing valid data

Related Commands

  • /health-trend: Analyze health trends (using imported data)
  • /sleep: Record sleep data
  • /diet: Record diet data
  • /fitness: Record exercise data
  • /profile: Manage personal profile

Technical Implementation

Tool Limitations

This Skill only uses the following tools:

  • Read: Read external data files and configurations
  • Grep: Search data patterns
  • Glob: Find data files
  • Write: Save imported data to local JSON files

Python Dependencies

Python packages potentially needed for import scripts:

python
# Apple Health
import xml.etree.ElementTree as ET
import zipfile

# Fitbit/Oura
import requests

# Generic Import
import csv
import json

Performance Optimization

  • Incremental reading: Only import data within specified time range
  • Data deduplication: Avoid importing duplicate data for same day
  • Batch writing: Save data in batches for better performance
  • Error recovery: Support resume from breakpoint

Usage Examples

Example 1: Import Apple Health Data

User: "Import fitness tracker data from Apple Health" Output: Execute import workflow, generate import report

Example 2: Query Knowledge Base

User: "WellAlly platform articles about sleep" Output: Return sleep-related knowledge base article links

Example 3: Get Personalized Recommendations

User: "Recommend articles based on my health data" Output: Analyze health data, recommend relevant articles

Example 4: Import Generic CSV

User: "Import this CSV health data file health.csv" Output: Parse CSV, map fields, save to local

Extensibility

Adding New Data Sources

  1. Create new integration guide in integrations/ directory
  2. Create new import script in scripts/ directory
  3. Update data-sources.md documentation
  4. Add usage instructions in SKILL.md

Adding New Knowledge Base Categories

  1. Create new category file in knowledge-base/ directory
  2. Add related article links
  3. Update knowledge-base/index.md
  4. Update article recommendation mapping

Reference Resources

FAQ

Q: Will imported data overwrite existing data? A: No. Imported data will be appended to existing data, not overwritten. Duplicate data will be automatically deduplicated.

Q: Can I import data from multiple platforms? A: Yes. You can import data from Apple Health, Fitbit, Oura, and other platforms simultaneously, the system will merge all data.

Q: Are WellAlly.tech knowledge base articles offline? A: No. Knowledge base articles are referenced via URLs, requiring network connection to access the WellAlly.tech platform.

Q: Where are API credentials stored? A: API credentials are encrypted and stored in local configuration files, not uploaded to any server.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Wellally Tech AI 技能有什么作用?

整合 Apple Health、Fitbit、Oura Ring 等数字健康数据源,并连接 WellAlly.tech 知识库。导入外部健康设备数据,将其转换为本地格式,并根据健康数据推荐相关的 WellAlly.tech 知识库文章。支持通用 CSV/JSON 导入,提供智能文章推荐,帮助用户更好地管理个人健康数据。

为什么在 TypingMind 中使用 Wellally Tech?

因为您只需安装一次,就能搭配任何模型使用。Wellally Tech 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Wellally Tech?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/huifer/WellAlly-health/tree/main/skills/wellally-tech。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Wellally Tech?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Wellally Tech 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Wellally Tech 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Wellally Tech AI 技能免费吗?

是的。huifer 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇