Family health analyzer

From vitaclaw/vitaclaw · View interactive version

Family health analyzer is an AI agent skill from the GitHub repository vitaclaw/vitaclaw. Analyzes family medical history, assesses hereditary risk, identifies family health patterns, and provides personalized prevention recommendations. Generates visual reports including family tree diagrams, genetic risk heat maps, and disease distribution charts. Use when the user wants a family healt

How to use this skill

Skill file

Family Health Analyzer Skill

Skill Overview

This skill provides in-depth analysis of family health data, including:

Trigger Conditions

Use this skill when the user requests:

Analysis Steps

Step 1: Determine Analysis Objective

Identify the user's request type:

Step 2: Read Family Data

Data Sources:

  1. Main data file: data/family-health-tracker.json
  2. Integrated module data:

Step 3: Data Validation & Cleaning

Validation Items:

Step 4: Genetic Pattern Recognition

Recognition Algorithm:

  1. Family clustering analysis
  2. Genetic pattern identification
  3. Early-onset case identification (typically < 50 years of age)

Step 5: Risk Calculation Algorithm

Weighted Calculation:

genetic_risk_score = (first_degree_relative_cases * 0.4) +
                     (early_onset_cases * 0.3) +
                     (family_clustering_degree * 0.3)

Risk levels:
- High risk: >= 70%
- Moderate risk: 40%-69%
- Low risk: < 40%

Step 6: Generate Prevention Recommendations

Recommendation Categories:

Example:

{
  "category": "screening",
  "action": "Regular blood pressure monitoring",
  "frequency": "3 times per week",
  "start_age": 35,
  "priority": "high"
}

Step 7: Generate Visual Report

HTML Report Components:

  1. Family tree (ECharts tree diagram)
  2. Genetic risk heat map
  3. Disease distribution pie chart
  4. Prevention recommendation timeline

Step 8: Output Results

Output Formats:

  1. Text report (concise version): Command line output
  2. HTML report (full version): Visual charts

Safety Principles

Medical Safety Boundaries

Disclaimer

Every analysis output must include:

Disclaimer:
1. This analysis is based on family medical history statistics and is for reference only
2. Hereditary risk assessment does not predict individual disease occurrence
3. All medical decisions should be made in consultation with a qualified physician
4. For genetic counseling, consult a certified genetic counselor

Integration with Existing Modules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.