Nutrition supplement optimizer

From vitaclaw/vitaclaw · View interactive version

Nutrition supplement optimizer is an AI agent skill from the GitHub repository vitaclaw/vitaclaw. Evaluates dietary nutrition gaps and supplement safety by coordinating nutrition analysis, food alternatives, supplement interaction checks, adverse event screening, and effect tracking. Use when the user wants to optimize their supplement stack or check supplement safety.

How to use this skill

Skill file

Nutrition and Supplement Optimizer

Scenario orchestration skill for evaluating dietary nutrition gaps and optimizing supplement regimens. Coordinates nutrition analysis, food alternative queries, supplement-supplement and supplement-drug interaction checks, adverse event screening, genetic personalization (optional), and effect tracking. Targets users who want a complete assess-identify-optimize-track pipeline for their supplement stack.

This skill does not perform analysis directly. It orchestrates multiple sub-skills in sequence.

Medical Disclaimer

This skill is for nutritional management reference only and does not constitute medical diagnosis or treatment advice.

Skill Chain

| Step | Skill | Trigger | Purpose |

|------|-------|---------|---------|

| 1 | nutrition-analyzer | Every session | Dietary nutrient analysis, RDA achievement |

| 2 | food-database-query | Every session | Nutrient-rich food lookup, food-first alternatives |

| 3 | tooluniverse-drug-drug-interaction | Every session | Supplement-supplement and supplement-drug interactions |

| 4 | tooluniverse-adverse-event-detection | Every session | Adverse event signal detection |

| 5 | nutrigx_advisor | Optional (with genetic data) | Gene-nutrient metabolism personalization |

| 6 | health-trend-analyzer | When historical data exists | Supplement effect correlation analysis |

| 7 | goal-analyzer | Every session | Adherence tracking, goal assessment |

| 8 | health-memory | Every session | Data persistence |

Workflow

Phase 1: Dietary Nutrition Assessment

Phase 2: Supplement Safety Assessment

Phase 3: Genetic Personalization (Optional)

Phase 4: Effect Tracking and Goal Assessment

Phase 5: Data Persistence

Input Format

The user provides the following in natural language:

Current supplements:
- Vitamin D3 2000 IU daily after breakfast
- Fish oil 1000mg (EPA+DHA 600mg) daily after lunch
- Calcium 600mg daily after dinner
- Iron 60mg daily on empty stomach
- B-complex daily in the morning

Diet overview:
- Breakfast: milk + whole wheat bread + egg
- Lunch: rice + fish/meat + vegetables
- Dinner: congee + tofu + vegetables
- Occasional fruit, rarely nuts

Health goals: improve bone density, relieve fatigue
Current medications: levothyroxine 50mcg (morning, empty stomach)

Output Format

Generate a 7-section supplement optimization report:

# Supplement Optimization Report -- YYYY-MM-DD

## 1. Current Supplement Assessment

| Supplement | Dose | Verdict | Rationale |
|-----------|------|---------|-----------|
| Vitamin D3 | 2000 IU/day | Necessary | Dietary vitamin D insufficient; bone density is a health goal |
| Fish oil | 1000mg/day | Optional | Dietary fish intake is moderate; could replace with 3x/week fish |
| Calcium | 600mg/day | Necessary | Dietary calcium ~500mg/day; supplement brings total to ~1100mg, near RDA |
| Iron | 60mg/day | Needs recheck | Dose is high; check ferritin to confirm ongoing need |
| B-complex | Standard dose | Redundant | Dietary B-vitamins already meet RDA; no clear deficiency |

Verdict categories:
- **Necessary**: Diet cannot meet need + clear health requirement
- **Optional**: Diet mostly sufficient; supplement provides extra assurance
- **Redundant**: Diet already adequate; supplement adds no benefit
- **Needs recheck**: Lab test needed to confirm whether to continue
- **Risk**: Current plan has safety concerns

## 2. Interaction Warnings

### Supplement x Supplement
| Combination | Type | Notes |
|-------------|------|-------|
| Calcium + Iron | Absorption competition | Calcium inhibits iron absorption by 40-50%; must take separately (>= 2h apart) |
| Vitamin D + Calcium | Synergistic | Vitamin D enhances calcium absorption; take together |
| Vitamin C + Iron | Synergistic | Vitamin C enhances non-heme iron absorption; consider pairing |

### Supplement x Medication
| Combination | Type | Notes |
|-------------|------|-------|
| Iron + Levothyroxine | Absorption interference | Iron severely impairs thyroid hormone absorption; separate by >= 4 hours |
| Calcium + Levothyroxine | Absorption interference | Calcium impairs thyroid hormone absorption; separate by >= 4 hours |

## 3. Optimized Dosing Schedule

| Supplement | Recommended Time | With food? | Notes |
|-----------|-----------------|------------|-------|
| Levothyroxine | 06:30 | Empty stomach | Take first; separate from all supplements by 4h |
| Iron | 10:30 | Empty stomach | 4h after levothyroxine; best absorbed on empty stomach |
| Vitamin D3 + Calcium | 12:00 (lunch) | With meal | Fat-soluble vitamin D needs dietary fat; calcium is synergistic |
| Fish oil | 12:00 (lunch) | With meal | Fat-soluble; better absorbed with food |
| B-complex | (recommend discontinuing) | -- | Dietary intake already sufficient |

## 4. Food-First Alternatives

| Nutrient | Current Gap | Food Alternative | Can fully replace supplement? |
|----------|------------|-----------------|------------------------------|
| Calcium | ~500mg/day | 250ml milk (300mg) + 100g firm tofu (200mg) daily | Yes, if consistently maintained |
| Iron | Needs lab check | Liver or beef 2-3x/week + pair with vitamin C source | If ferritin is normal, food can replace |
| Vitamin D | Very hard to meet via diet | Salmon/mushrooms + 15 min daily sun exposure | Difficult to fully replace; continue supplement |
| Omega-3 | Slightly low | Deep-sea fish 3x/week (salmon/mackerel/sardines) | Can replace fish oil supplement |

## 5. Dosage Recommendations

| Supplement | Current | RDA | UL | Recommended | Notes |
|-----------|---------|-----|-----|-------------|-------|
| Vitamin D3 | 2000 IU | 600 IU | 4000 IU | 2000 IU (maintain) | Safe range; supports bone density goal |
| Calcium | 600mg | 1000mg | 2500mg | 600mg (reduce to 300mg if food intake improves) | Diet + supplement total should not exceed 1500mg |
| Iron | 60mg | 18mg (F) / 8mg (M) | 45mg | Check ferritin first | Current dose exceeds UL; not recommended for non-anemic individuals |
| Fish oil | 1000mg | No RDA | 3000mg EPA+DHA | Discontinue if food intake is sufficient | Safe range |

## 6. Genetic Personalization

(Requires genetic testing data. If available, the following analysis will be shown:)

- **MTHFR**: C677T/A1298C variant status -- determines folate form (methylfolate vs standard folic acid)
- **VDR**: Vitamin D receptor gene variant -- adjusts vitamin D dosage
- **FADS1/FADS2**: Omega-3 conversion efficiency -- determines need for preformed EPA/DHA
- **HFE**: Iron metabolism gene -- iron supplementation safety assessment

## 7. 30-Day Tracking Plan

| Timepoint | Action |
|-----------|--------|
| Day 1 | Adjust dosing schedule per new plan |
| Week 1 | Monitor for GI discomfort or other reactions |
| Week 2 | Assess adherence + subjective improvement (fatigue relief?) |
| Week 4 | Re-evaluate: ferritin check, adherence stats, goal progress |
| Week 8 (optional) | Check 25(OH)D level, lipid panel |

### Recommended Follow-Up Labs
- Ferritin + serum iron + TIBC (confirm whether iron is still needed)
- 25(OH)D (confirm vitamin D adequacy; target 30-50 ng/mL)
- Bone density (recheck in 6-12 months)

Alert Rules

| Severity | Condition | Action |

|----------|-----------|--------|

| High | Contraindicated supplement-drug combination (e.g., vitamin K + warfarin) | Discontinue the supplement immediately; contact physician |

| High | Supplement dose exceeds UL | Recommend dose reduction or discontinuation; warn of overdose risk |

| Medium | Competing supplements not taken separately | Adjust dosing schedule |

| Medium | Suspected adverse reaction reported | Recommend stopping the suspected supplement and observing |

| Low | Redundant supplement (dietary intake already sufficient) | Suggest evaluating whether to continue |

Data Persistence

All data is stored via the health-memory skill following its format conventions:

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.