wellally-tech

from huifer/wellally-health

Ally-Health is an intelligent healthcare assistant that combines Claude AI technology with medical expertise. Through natural language interaction, it helps users record symptoms, manage medications, track medical records, and access professional multidisciplinary consultation analysis—making health management smarter and more accessible

654 stars71 forksUpdated Jan 22, 2026
npx skills add https://github.com/huifer/wellally-health --skill wellally-tech

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

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:

// 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:

// 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

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

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

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:

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

const results = {
  topic: topic,
  articles: [
    {
      title: "Hypertens

...
Read full content

Repository Stats

Stars654
Forks71
LicenseMIT License