[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77PCX6NE0K0TBXMDQA068NF":3,"skill-same:01M77PCX6NE0K0TBXMDQA068NF":53},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":35,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M77PCX6NE0K0TBXMDQA068NF","nutrigenomics",null,"Generate a personalised nutrition report from your genetic data (23andMe, AncestryDNA, or VCF). Analyses 40+ genes affecting nutrient metabolism, absorption, and food sensitivities. All processing is local — your genetic data never leaves your device.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fn\u002Fnutrigenomics\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: nutrigenomics\ndescription: Generate a personalised nutrition report from your genetic data (23andMe, AncestryDNA, or VCF). Analyses 40+ genes affecting nutrient metabolism, absorption, and food sensitivities. All processing is local — your genetic data never leaves your device.\nmetadata: {\"openclaw\": {\"requires\": {\"bins\": [\"python3\"]}, \"emoji\": \"🧬\"}}\n---\n\n# Nutrigenomics — Personalised Nutrition from Genetic Data\n\n**Skill ID**: `nutrigenomics`\n**Version**: 0.3.2\n**Status**: Beta\n**Author**: David de Lorenzo\n**Requires**: Python 3.11+, pandas, numpy, matplotlib, seaborn, reportlab (optional)\n\n---\n\n## What This Skill Does\n\nThe Nutrigenomics generates a **personalised nutrition report** from consumer\ngenetic data (23andMe, AncestryDNA raw files or VCF). It interrogates a curated\nset of nutritionally-relevant SNPs drawn from GWAS Catalog, ClinVar, and\npeer-reviewed nutrigenomics literature, then translates genotype calls into\nactionable dietary and supplementation guidance — all computed locally.\n\n**Key outputs**\n- Markdown nutrition report with risk scores and per-SNP genotype calls\n- Radar chart of nutrient risk profile\n- Gene × nutrient heatmap\n- Reproducibility bundle (`README_reproducibility.txt`, `environment.yml`, `checksums.txt`, `provenance.json`)\n\n---\n\n## Trigger Phrases\n\nThe Bio Orchestrator should route to this skill when the user says anything like:\n\n- \"personalised nutrition\", \"nutrigenomics\", \"diet genetics\"\n- \"what should I eat based on my DNA\"\n- \"nutrient metabolism\", \"vitamin absorption genetics\"\n- \"MTHFR\", \"APOE\", \"FTO\", \"BCMO1\", \"VDR\", \"FADS1\u002F2\"\n- \"folate\", \"omega-3\", \"vitamin D\", \"caffeine metabolism\", \"lactose\", \"gluten\"\n- Input files: `.txt` or `.csv` (23andMe), `.csv` (AncestryDNA), `.vcf`\n\n---\n\n## Curated SNP Panel\n\n### Macronutrient Metabolism\n\n| Gene    | SNP        | Nutrient Impact                          | Evidence |\n|---------|------------|------------------------------------------|----------|\n| FTO     | rs9939609  | Energy balance, fat mass, carb sensitivity | Strong (GWAS) |\n| PPARG   | rs1801282  | Fat metabolism, insulin sensitivity      | Moderate |\n| APOA5   | rs662799   | Triglyceride response to dietary fat     | Strong |\n| TCF7L2  | rs7903146  | Carbohydrate metabolism, T2D risk        | Strong |\n| ADRB2   | rs1042713  | Fat oxidation, exercise × diet interaction | Moderate |\n\n### Micronutrient Metabolism\n\n| Gene    | SNP        | Nutrient                | Effect of risk allele            |\n|---------|------------|-------------------------|----------------------------------|\n| MTHFR   | rs1801133  | Folate \u002F B12            | ↓ 5-MTHF conversion (~70%)       |\n| MTHFR   | rs1801131  | Folate \u002F B12            | ↓ enzyme activity (~30%)         |\n| MTR     | rs1805087  | B12 \u002F homocysteine      | ↑ homocysteine risk              |\n| BCMO1   | rs7501331  | Beta-carotene → Vitamin A | ↓ conversion (~50%)             |\n| BCMO1   | rs12934922 | Beta-carotene → Vitamin A | ↓ conversion (compound het)    |\n| VDR     | rs2228570  | Vitamin D absorption    | ↓ VDR function                   |\n| VDR     | rs731236   | Vitamin D               | ↓ bone mineral density response  |\n| GC      | rs4588     | Vitamin D binding       | ↑ deficiency risk                |\n| SLC23A1 | rs33972313 | Vitamin C transport     | ↓ renal reabsorption             |\n| ALPL    | rs1256335  | Vitamin B6              | ↓ alkaline phosphatase activity  |\n\n### Omega-3 \u002F Fatty Acid Metabolism\n\n| Gene    | SNP        | Nutrient             | Effect                          |\n|---------|------------|----------------------|---------------------------------|\n| FADS1   | rs174546   | LC-PUFA synthesis    | ↑\u002F↓ EPA\u002FDHA from ALA            |\n| FADS2   | rs1535     | LC-PUFA synthesis    | Modulates omega-6:omega-3 ratio |\n| ELOVL2  | rs953413   | DHA synthesis        | ↓ elongation of EPA→DHA         |\n| APOE    | rs429358   | Saturated fat response | ε4 → ↑ LDL-C on high SFA diet |\n| APOE    | rs7412     | Saturated fat response | Combined with rs429358 for ε typing |\n\n### Caffeine & Alcohol\n\n| Gene    | SNP        | Compound    | Effect                         |\n|---------|------------|-------------|--------------------------------|\n| CYP1A2  | rs762551   | Caffeine    | Slow\u002FFast metaboliser          |\n| AHR     | rs4410790  | Caffeine    | Modulates CYP1A2 induction     |\n| ADH1B   | rs1229984  | Alcohol     | Acetaldehyde accumulation risk |\n| ALDH2   | rs671       | Alcohol     | Asian flush \u002F toxicity risk    |\n\n### Food Sensitivities\n\n| Gene    | SNP        | Sensitivity          | Effect                          |\n|---------|------------|----------------------|---------------------------------|\n| MCM6    | rs4988235  | Lactose intolerance  | Non-persistence of lactase      |\n| HLA-DQ2 | Proxy SNPs | Coeliac \u002F gluten     | HLA-DQA1\u002FDQB1 risk haplotypes   |\n\n### Antioxidant & Detoxification\n\n| Gene    | SNP        | Pathway              | Effect                          |\n|---------|------------|----------------------|---------------------------------|\n| SOD2    | rs4880     | Manganese SOD        | ↓ mitochondrial antioxidant     |\n| GPX1    | rs1050450  | Selenium \u002F GSH-Px    | ↓ glutathione peroxidase        |\n| GSTT1   | Deletion   | Glutathione-S-trans  | Null genotype → ↑ oxidative risk|\n| NQO1    | rs1800566  | Coenzyme Q10         | ↓ CoQ10 regeneration            |\n| COMT    | rs4680     | Catechol \u002F B vitamins | Met\u002FVal → methylation load     |\n\n---\n\n## Algorithm\n\n### 1. Input Parsing (`parse_input.py`)\n\nAccepts:\n- 23andMe `.txt` or `.csv` (tab-separated: rsid, chromosome, position, genotype)\n- AncestryDNA `.csv`\n- Standard VCF (extracts GT field)\n\nAuto-detects format from header lines. Normalises alleles to forward strand using\na hard-coded reference table (avoids requiring external databases).\n\n### 2. Genotype Extraction (`extract_genotypes.py`)\n\nFor each SNP in the panel:\n1. Look up rsid in parsed data\n2. Return genotype string (e.g. `\"AT\"`, `\"TT\"`, `\"AA\"`)\n3. Flag as `\"NOT_TESTED\"` if absent (common for chip-to-chip variation)\n\n### 3. Risk Scoring (`score_variants.py`)\n\nEach SNP is scored on a **0 \u002F 0.5 \u002F 1.0** scale:\n- `0.0` — homozygous reference (lowest risk)\n- `0.5` — heterozygous\n- `1.0` — homozygous risk allele\n\nComposite **Nutrient Risk Scores** (0–10) are computed per nutrient domain by\nsumming weighted SNP scores. Weights are derived from reported effect sizes\n(beta coefficients or OR) in the primary literature.\n\nRisk categories:\n- **0–3**: Low risk — standard dietary advice applies\n- **3–6**: Moderate risk — dietary optimisation recommended\n- **6–10**: Elevated risk — consider testing and targeted supplementation\n\n> **Important caveat**: These are polygenic risk indicators based on common\n> variants. They are not diagnostic. Rare pathogenic variants (e.g. MTHFR\n> compound heterozygosity with high homocysteine) require clinical confirmation.\n\n### 4. Report Generation (`generate_report.py`)\n\nOutputs a structured Markdown report with:\n- Executive summary (top 3 personalised findings)\n- Per-nutrient sections: genotype table → interpretation → recommendation\n- Radar chart (matplotlib) of nutrient risk scores\n- Gene × nutrient heatmap (seaborn)\n- Supplement interactions table\n- Disclaimer section\n- Reproducibility block\n\n### 5. Reproducibility Bundle (`repro_bundle.py`)\n\nExports to the output directory (not committed to the repo):\n- `README_reproducibility.txt` — step-by-step instructions to reproduce the analysis manually\n- `environment.yml` — pinned conda environment\n- `checksums.txt` — SHA-256 checksums of the SNP panel and output report (input file intentionally excluded to avoid persisting a fingerprint of genetic data)\n- `provenance.json` — timestamp, version, and format arguments (input filename intentionally omitted)\n\n**Note**: No executable scripts are generated. The reproducibility bundle contains\nonly text files for documentation and integrity verification.\n\n---\n\n## Execution\n\nTo run the analysis on a user-provided genetic file, execute this command directly:\n\n```bash\npython {baseDir}\u002Fopenclaw_adapter.py --input \u003Cpath_to_genetic_file> --format auto\n```\n\nTo run a demo without real genetic data (synthetic patient file included with the skill):\n\n```bash\npython {baseDir}\u002Fopenclaw_adapter.py --input {baseDir}\u002Ftests\u002Fsynthetic_patient.csv --format 23andme\n```\n\n`{baseDir}` is replaced by OpenClaw at runtime with the absolute path to this skill's folder. Do not substitute it manually. Output is written to a timestamped directory (`nutrigenomics_output_YYYYMMDD_HHMMSS\u002F`) in the current working directory and persists until manually deleted.\n\nSupported `--format` values: `auto` (default), `23andme`, `ancestry`, `vcf`.\n\n## Usage\n\n```bash\n# From 23andMe raw data\nopenclaw \"Generate my personalised nutrition report from genome.csv\"\n\n# From VCF\nopenclaw \"Run Nutrigenomics analysis on variants.vcf and flag any folate pathway risks\"\n\n# Targeted query\nopenclaw \"What does my APOE status mean for my saturated fat intake?\"\n\n# Run the demo report (no real genetic data needed)\nopenclaw \"Run a demo nutrigenomics report using the synthetic patient file\"\n```\n\n---\n\n## File Structure\n\n```\nskills\u002Fnutrigenomics\u002F\n├── SKILL.md                      ← this file (agent instructions)\n├── nutrigenomics.py            ← main entry point\n├── parse_input.py                ← multi-format parser\n├── extract_genotypes.py          ← SNP lookup engine\n├── score_variants.py             ← risk scoring algorithm\n├── generate_report.py            ← Markdown + figures\n├── repro_bundle.py               ← reproducibility export\n├── data\u002F\n│   └── snp_panel.json            ← curated SNP definitions\n├── tests\u002F\n│   ├── synthetic_patient.csv     ← fixed 23andMe-format test data (for pytest)\n│   └── test_nutrigenomics.py           ← pytest suite\n└── examples\u002F\n    ├── generate_patient.py       ← random patient generator (demo use)\n    ├── data\u002F                     ← generated patient files land here (gitignored)\n    └── output\u002F\n        ├── nutrigenomics_report.md     ← pre-rendered demo report\n        ├── nutrigenomics_radar.png     ← demo radar chart (nutrient risk profile)\n        └── nutrigenomics_heatmap.png   ← demo gene × nutrient heatmap\n```\n\n> **Note**: Runtime output directories and randomly generated patient files are\n> excluded from version control. Only the pre-rendered demo\n> report in `examples\u002Foutput\u002F` is committed.\n\n---\n\n## Privacy\n\nAll computation runs **locally** — no genetic data is ever transmitted to external\nservers or third-party services.\n\n**What the report contains**: The Markdown report includes per-SNP genotype calls\n(e.g. `AT`, `TT`) for each of the 58 panel SNPs analysed. This is intentional:\nknowing your specific genotype at each nutrition-related locus is what makes the\nreport actionable. Full raw genome data from the input file is not reproduced in\nthe report; only the 58 panel SNPs are included.\n\n**File persistence**: Output files (report, figures, reproducibility bundle) are\nwritten to a timestamped `nutrigenomics_output_YYYYMMDD_HHMMSS\u002F` directory under\nthe working directory and **persist on disk until manually deleted**. The input\nfile is read-only and is never copied into the output directory.\n\nIf you are running this skill on behalf of others or in a shared environment,\ndelete the output directory once the user has downloaded their results.\n\n---\n\n## Limitations & Disclaimer\n\n1. **Not a medical device.** This skill provides educational, research-oriented\n   nutrigenomics analysis. It does not constitute medical advice.\n2. **Common variants only.** The panel covers SNPs with MAF > 1% in at least one\n   major population. Rare pathogenic variants are out of scope.\n3. **Population context.** Effect sizes are predominantly derived from European\n   GWAS cohorts. Risk estimates may not generalise equally across all ancestries.\n4. **Gene–environment interaction.** Genetic risk scores interact with baseline\n   diet, lifestyle, microbiome, and epigenetic state. A \"high risk\" score does not\n   mean a nutrient deficiency is present — it means the individual may benefit from\n   monitoring.\n5. **Simpson's Paradox note.** Population-level associations used to derive weights\n   may not reflect individual trajectories (see Corpas 2025, *Nutrigenomics and\n   the Ecological Fallacy*).\n\n---\n\n## Roadmap\n\n- [ ] **v0.2**: Microbiome × genotype interaction module (16S rRNA input)\n- [ ] **v0.3**: Longitudinal tracking — compare reports across time\n- [ ] **v0.4**: HLA typing for immune-mediated food reactions (coeliac, gluten sensitivity)\n- [ ] **v1.0**: Multi-omics integration (metabolomics + genomics + dietary recall)\n\n---\n\n## References\n\nThis skill's SNP panel and methodology are informed by peer-reviewed nutrigenomics research. For verification and additional details, consult:\n\n- **PubMed MEDLINE**: https:\u002F\u002Fpubmed.ncbi.nlm.nih.gov\u002F\n- **GWAS Catalog**: https:\u002F\u002Fwww.ebi.ac.uk\u002Fgwas\u002F (published genome-wide association studies)\n- **ClinVar**: https:\u002F\u002Fwww.ncbi.nlm.nih.gov\u002Fclinvar\u002F (variant interpretations)\n\nUsers are encouraged to verify specific claims through these authoritative sources and with qualified healthcare providers.\n\n---\n\n## Contributing\n\nThe SNP panel (`data\u002Fsnp_panel.json`) is maintained by the skill author.\nTo suggest additions or corrections, contact David de Lorenzo directly via\nGitHub ([@drdaviddelorenzo](https:\u002F\u002Fgithub.com\u002Fdrdaviddelorenzo)) or open\nan issue on GitHub.\n","# Nutrigenomics — Personalised Nutrition from Genetic Data\n\n**Skill ID**: `nutrigenomics`\n**Version**: 0.3.2\n**Status**: Beta\n**Author**: David de Lorenzo\n**Requires**: Python 3.11+, pandas, numpy, matplotlib, seaborn, reportlab (optional)\n\n---\n\n## What This Skill Does\n\nThe Nutrigenomics generates a **personalised nutrition report** from consumer\ngenetic data (23andMe, AncestryDNA raw files or VCF). It interrogates a curated\nset of nutritionally-relevant SNPs drawn from GWAS Catalog, ClinVar, and\npeer-reviewed nutrigenomics literature, then translates genotype calls into\nactionable dietary and supplementation guidance — all computed locally.\n\n**Key outputs**\n- Markdown nutrition report with risk scores and per-SNP genotype calls\n- Radar chart of nutrient risk profile\n- Gene × nutrient heatmap\n- Reproducibility bundle (`README_reproducibility.txt`, `environment.yml`, `checksums.txt`, `provenance.json`)\n\n---\n\n## Trigger Phrases\n\nThe Bio Orchestrator should route to this skill when the user says anything like:\n\n- \"personalised nutrition\", \"nutrigenomics\", \"diet genetics\"\n- \"what should I eat based on my DNA\"\n- \"nutrient metabolism\", \"vitamin absorption genetics\"\n- \"MTHFR\", \"APOE\", \"FTO\", \"BCMO1\", \"VDR\", \"FADS1\u002F2\"\n- \"folate\", \"omega-3\", \"vitamin D\", \"caffeine metabolism\", \"lactose\", \"gluten\"\n- Input files: `.txt` or `.csv` (23andMe), `.csv` (AncestryDNA), `.vcf`\n\n---\n\n## Curated SNP Panel\n\n### Macronutrient Metabolism\n\n| Gene    | SNP        | Nutrient Impact                          | Evidence |\n|---------|------------|------------------------------------------|----------|\n| FTO     | rs9939609  | Energy balance, fat mass, carb sensitivity | Strong (GWAS) |\n| PPARG   | rs1801282  | Fat metabolism, insulin sensitivity      | Moderate |\n| APOA5   | rs662799   | Triglyceride response to dietary fat     | Strong |\n| TCF7L2  | rs7903146  | Carbohydrate metabolism, T2D risk        | Strong |\n| ADRB2   | rs1042713  | Fat oxidation, exercise × diet interaction | Moderate |\n\n### Micronutrient Metabolism\n\n| Gene    | SNP        | Nutrient                | Effect of risk allele            |\n|---------|------------|-------------------------|----------------------------------|\n| MTHFR   | rs1801133  | Folate \u002F B12            | ↓ 5-MTHF conversion (~70%)       |\n| MTHFR   | rs1801131  | Folate \u002F B12            | ↓ enzyme activity (~30%)         |\n| MTR     | rs1805087  | B12 \u002F homocysteine      | ↑ homocysteine risk              |\n| BCMO1   | rs7501331  | Beta-carotene → Vitamin A | ↓ conversion (~50%)             |\n| BCMO1   | rs12934922 | Beta-carotene → Vitamin A | ↓ conversion (compound het)    |\n| VDR     | rs2228570  | Vitamin D absorption    | ↓ VDR function                   |\n| VDR     | rs731236   | Vitamin D               | ↓ bone mineral density response  |\n| GC      | rs4588     | Vitamin D binding       | ↑ deficiency risk                |\n| SLC23A1 | rs33972313 | Vitamin C transport     | ↓ renal reabsorption             |\n| ALPL    | rs1256335  | Vitamin B6              | ↓ alkaline phosphatase activity  |\n\n### Omega-3 \u002F Fatty Acid Metabolism\n\n| Gene    | SNP        | Nutrient             | Effect                          |\n|---------|------------|----------------------|---------------------------------|\n| FADS1   | rs174546   | LC-PUFA synthesis    | ↑\u002F↓ EPA\u002FDHA from ALA            |\n| FADS2   | rs1535     | LC-PUFA synthesis    | Modulates omega-6:omega-3 ratio |\n| ELOVL2  | rs953413   | DHA synthesis        | ↓ elongation of EPA→DHA         |\n| APOE    | rs429358   | Saturated fat response | ε4 → ↑ LDL-C on high SFA diet |\n| APOE    | rs7412     | Saturated fat response | Combined with rs429358 for ε typing |\n\n### Caffeine & Alcohol\n\n| Gene    | SNP        | Compound    | Effect                         |\n|---------|------------|-------------|--------------------------------|\n| CYP1A2  | rs762551   | Caffeine    | Slow\u002FFast metaboliser          |\n| AHR     | rs4410790  | Caffeine    | Modulates CYP1A2 induction     |\n| ADH1B   | rs1229984  | Alcohol     | Acetaldehyde accumulation risk |\n| ALDH2   | rs671       | Alcohol     | Asian flush \u002F toxicity risk    |\n\n### Food Sensitivities\n\n| Gene    | SNP        | Sensitivity          | Effect                          |\n|---------|------------|----------------------|---------------------------------|\n| MCM6    | rs4988235  | Lactose intolerance  | Non-persistence of lactase      |\n| HLA-DQ2 | Proxy SNPs | Coeliac \u002F gluten     | HLA-DQA1\u002FDQB1 risk haplotypes   |\n\n### Antioxidant & Detoxification\n\n| Gene    | SNP        | Pathway              | Effect                          |\n|---------|------------|----------------------|---------------------------------|\n| SOD2    | rs4880     | Manganese SOD        | ↓ mitochondrial antioxidant     |\n| GPX1    | rs1050450  | Selenium \u002F GSH-Px    | ↓ glutathione peroxidase        |\n| GSTT1   | Deletion   | Glutathione-S-trans  | Null genotype → ↑ oxidative risk|\n| NQO1    | rs1800566  | Coenzyme Q10         | ↓ CoQ10 regeneration            |\n| COMT    | rs4680     | Catechol \u002F B vitamins | Met\u002FVal → methylation load     |\n\n---\n\n## Algorithm\n\n### 1. Input Parsing (`parse_input.py`)\n\nAccepts:\n- 23andMe `.txt` or `.csv` (tab-separated: rsid, chromosome, position, genotype)\n- AncestryDNA `.csv`\n- Standard VCF (extracts GT field)\n\nAuto-detects format from header lines. Normalises alleles to forward strand using\na hard-coded reference table (avoids requiring external databases).\n\n### 2. Genotype Extraction (`extract_genotypes.py`)\n\nFor each SNP in the panel:\n1. Look up rsid in parsed data\n2. Return genotype string (e.g. `\"AT\"`, `\"TT\"`, `\"AA\"`)\n3. Flag as `\"NOT_TESTED\"` if absent (common for chip-to-chip variation)\n\n### 3. Risk Scoring (`score_variants.py`)\n\nEach SNP is scored on a **0 \u002F 0.5 \u002F 1.0** scale:\n- `0.0` — homozygous reference (lowest risk)\n- `0.5` — heterozygous\n- `1.0` — homozygous risk allele\n\nComposite **Nutrient Risk Scores** (0–10) are computed per nutrient domain by\nsumming weighted SNP scores. Weights are derived from reported effect sizes\n(beta coefficients or OR) in the primary literature.\n\nRisk categories:\n- **0–3**: Low risk — standard dietary advice applies\n- **3–6**: Moderate risk — dietary optimisation recommended\n- **6–10**: Elevated risk — consider testing and targeted supplementation\n\n> **Important caveat**: These are polygenic risk indicators based on common\n> variants. They are not diagnostic. Rare pathogenic variants (e.g. MTHFR\n> compound heterozygosity with high homocysteine) require clinical confirmation.\n\n### 4. Report Generation (`generate_report.py`)\n\nOutputs a structured Markdown report with:\n- Executive summary (top 3 personalised findings)\n- Per-nutrient sections: genotype table → interpretation → recommendation\n- Radar chart (matplotlib) of nutrient risk scores\n- Gene × nutrient heatmap (seaborn)\n- Supplement interactions table\n- Disclaimer section\n- Reproducibility block\n\n### 5. Reproducibility Bundle (`repro_bundle.py`)\n\nExports to the output directory (not committed to the repo):\n- `README_reproducibility.txt` — step-by-step instructions to reproduce the analysis manually\n- `environment.yml` — pinned conda environment\n- `checksums.txt` — SHA-256 checksums of the SNP panel and output report (input file intentionally excluded to avoid persisting a fingerprint of genetic data)\n- `provenance.json` — timestamp, version, and format arguments (input filename intentionally omitted)\n\n**Note**: No executable scripts are generated. The reproducibility bundle contains\nonly text files for documentation and integrity verification.\n\n---\n\n## Execution\n\nTo run the analysis on a user-provided genetic file, execute this command directly:\n\n```bash\npython {baseDir}\u002Fopenclaw_adapter.py --input \u003Cpath_to_genetic_file> --format auto\n```\n\nTo run a demo without real genetic data (synthetic patient file included with the skill):\n\n```bash\npython {baseDir}\u002Fopenclaw_adapter.py --input {baseDir}\u002Ftests\u002Fsynthetic_patient.csv --format 23andme\n```\n\n`{baseDir}` is replaced by OpenClaw at runtime with the absolute path to this skill's folder. Do not substitute it manually. Output is written to a timestamped directory (`nutrigenomics_output_YYYYMMDD_HHMMSS\u002F`) in the current working directory and persists until manually deleted.\n\nSupported `--format` values: `auto` (default), `23andme`, `ancestry`, `vcf`.\n\n## Usage\n\n```bash\n# From 23andMe raw data\nopenclaw \"Generate my personalised nutrition report from genome.csv\"\n\n# From VCF\nopenclaw \"Run Nutrigenomics analysis on variants.vcf and flag any folate pathway risks\"\n\n# Targeted query\nopenclaw \"What does my APOE status mean for my saturated fat intake?\"\n\n# Run the demo report (no real genetic data needed)\nopenclaw \"Run a demo nutrigenomics report using the synthetic patient file\"\n```\n\n---\n\n## File Structure\n\n```\nskills\u002Fnutrigenomics\u002F\n├── SKILL.md                      ← this file (agent instructions)\n├── nutrigenomics.py            ← main entry point\n├── parse_input.py                ← multi-format parser\n├── extract_genotypes.py          ← SNP lookup engine\n├── score_variants.py             ← risk scoring algorithm\n├── generate_report.py            ← Markdown + figures\n├── repro_bundle.py               ← reproducibility export\n├── data\u002F\n│   └── snp_panel.json            ← curated SNP definitions\n├── tests\u002F\n│   ├── synthetic_patient.csv     ← fixed 23andMe-format test data (for pytest)\n│   └── test_nutrigenomics.py           ← pytest suite\n└── examples\u002F\n    ├── generate_patient.py       ← random patient generator (demo use)\n    ├── data\u002F                     ← generated patient files land here (gitignored)\n    └── output\u002F\n        ├── nutrigenomics_report.md     ← pre-rendered demo report\n        ├── nutrigenomics_radar.png     ← demo radar chart (nutrient risk profile)\n        └── nutrigenomics_heatmap.png   ← demo gene × nutrient heatmap\n```\n\n> **Note**: Runtime output directories and randomly generated patient files are\n> excluded from version control. Only the pre-rendered demo\n> report in `examples\u002Foutput\u002F` is committed.\n\n---\n\n## Privacy\n\nAll computation runs **locally** — no genetic data is ever transmitted to external\nservers or third-party services.\n\n**What the report contains**: The Markdown report includes per-SNP genotype calls\n(e.g. `AT`, `TT`) for each of the 58 panel SNPs analysed. This is intentional:\nknowing your specific genotype at each nutrition-related locus is what makes the\nreport actionable. Full raw genome data from the input file is not reproduced in\nthe report; only the 58 panel SNPs are included.\n\n**File persistence**: Output files (report, figures, reproducibility bundle) are\nwritten to a timestamped `nutrigenomics_output_YYYYMMDD_HHMMSS\u002F` directory under\nthe working directory and **persist on disk until manually deleted**. The input\nfile is read-only and is never copied into the output directory.\n\nIf you are running this skill on behalf of others or in a shared environment,\ndelete the output directory once the user has downloaded their results.\n\n---\n\n## Limitations & Disclaimer\n\n1. **Not a medical device.** This skill provides educational, research-oriented\n   nutrigenomics analysis. It does not constitute medical advice.\n2. **Common variants only.** The panel covers SNPs with MAF > 1% in at least one\n   major population. Rare pathogenic variants are out of scope.\n3. **Population context.** Effect sizes are predominantly derived from European\n   GWAS cohorts. Risk estimates may not generalise equally across all ancestries.\n4. **Gene–environment interaction.** Genetic risk scores interact with baseline\n   diet, lifestyle, microbiome, and epigenetic state. A \"high risk\" score does not\n   mean a nutrient deficiency is present — it means the individual may benefit from\n   monitoring.\n5. **Simpson's Paradox note.** Population-level associations used to derive weights\n   may not reflect individual trajectories (see Corpas 2025, *Nutrigenomics and\n   the Ecological Fallacy*).\n\n---\n\n## Roadmap\n\n- [ ] **v0.2**: Microbiome × genotype interaction module (16S rRNA input)\n- [ ] **v0.3**: Longitudinal tracking — compare reports across time\n- [ ] **v0.4**: HLA typing for immune-mediated food reactions (coeliac, gluten sensitivity)\n- [ ] **v1.0**: Multi-omics integration (metabolomics + genomics + dietary recall)\n\n---\n\n## References\n\nThis skill's SNP panel and methodology are informed by peer-reviewed nutrigenomics research. For verification and additional details, consult:\n\n- **PubMed MEDLINE**: https:\u002F\u002Fpubmed.ncbi.nlm.nih.gov\u002F\n- **GWAS Catalog**: https:\u002F\u002Fwww.ebi.ac.uk\u002Fgwas\u002F (published genome-wide association studies)\n- **ClinVar**: https:\u002F\u002Fwww.ncbi.nlm.nih.gov\u002Fclinvar\u002F (variant interpretations)\n\nUsers are encouraged to verify specific claims through these authoritative sources and with qualified healthcare providers.\n\n---\n\n## Contributing\n\nThe SNP panel (`data\u002Fsnp_panel.json`) is maintained by the skill author.\nTo suggest additions or corrections, contact David de Lorenzo directly via\nGitHub ([@drdaviddelorenzo](https:\u002F\u002Fgithub.com\u002Fdrdaviddelorenzo)) or open\nan issue on GitHub.\n",{"name":5,"metadata":24,"description":7},{"openclaw":25},{"emoji":26,"requires":27},"🧬",{"bins":28},[29],"python3","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fn\u002Fnutrigenomics",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill nutrigenomics",{"tool":45,"command":46},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill nutrigenomics",{"tool":48,"command":49},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill nutrigenomics","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fn\u002Fnutrigenomics\u002FSKILL.md",true,[],[54,61,68,75,82,89],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]