Skip to content

Commit e4ed975

Browse files
camlloydclaude
andcommitted
fix(nutrigx-advisor): rename directory to conform to AgentSkills naming spec
The AgentSkills spec requires skill names to contain only lowercase letters, digits, and hyphens. Rename skills/nutrigx_advisor → skills/nutrigx-advisor and update all CLAUDE.md path references accordingly. Script filenames (nutrigx_advisor.py) are unchanged. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 74c71b0 commit e4ed975

18 files changed

Lines changed: 41 additions & 35 deletions

CLAUDE.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ When the user asks a question, match it to a skill and act:
1010
|---|---|---|
1111
| Drug interactions, pharmacogenomics, "what drugs should I worry about", 23andMe medications, CYP2D6, CYP2C19, warfarin, CPIC | `skills/pharmgx-reporter/` | Run `pharmgx_reporter.py` |
1212
| Genomic diversity, HEIM score, equity, population representation, FST, heterozygosity | `skills/equity-scorer/` | Run `equity_scorer.py` |
13-
| Nutrition, nutrigenomics, "what should I eat", diet genetics, MTHFR, folate, vitamin D, caffeine, lactose, omega-3 | `skills/nutrigx_advisor/` | Run `nutrigx_advisor.py` |
13+
| Nutrition, nutrigenomics, "what should I eat", diet genetics, MTHFR, folate, vitamin D, caffeine, lactose, omega-3 | `skills/nutrigx-advisor/` | Run `nutrigx_advisor.py` |
1414
| Ancestry, PCA, population structure, admixture, SGDP | `skills/claw-ancestry-pca/` | Read SKILL.md, apply methodology |
1515
| Semantic similarity, disease neglect, research gaps, NTDs, SII | `skills/claw-semantic-sim/` | Read SKILL.md, apply methodology |
1616
| Genome comparison, IBS, "how much DNA in common", George Church, Corpasome, pairwise | `skills/genome-compare/` | Run `genome_compare.py` |
@@ -51,7 +51,7 @@ When the user asks a question, match it to a skill and act:
5151
1. Read the skill's `SKILL.md` for domain context
5252
2. Run the Python script with correct CLI arguments (see below)
5353
3. Show the user the output — open any generated figures and explain results
54-
4. **DEMO FALLBACK (MANDATORY):** If the user has no input file, do NOT refuse or just ask for a file. Instead, immediately offer to run the skill with built-in demo/synthetic data (use the `--demo` flag or the demo files listed in the Demo Data table below). Say something like "I'll run a demo with synthetic data so you can see the report — here it is!" and then run it. Most skills support `--demo`. For pharmgx, use `--input skills/pharmgx-reporter/demo_patient.txt`. For nutrigx, use `--input skills/nutrigx_advisor/synthetic_patient.txt`. Every skill has demo data — never tell the user you can't run a skill because they don't have a file.
54+
4. **DEMO FALLBACK (MANDATORY):** If the user has no input file, do NOT refuse or just ask for a file. Instead, immediately offer to run the skill with built-in demo/synthetic data (use the `--demo` flag or the demo files listed in the Demo Data table below). Say something like "I'll run a demo with synthetic data so you can see the report — here it is!" and then run it. Most skills support `--demo`. For pharmgx, use `--input skills/pharmgx-reporter/demo_patient.txt`. For nutrigx, use `--input skills/nutrigx-advisor/synthetic_patient.txt`. Every skill has demo data — never tell the user you can't run a skill because they don't have a file.
5555

5656
### Skills with SKILL.md only (no Python yet)
5757
1. Read the skill's `SKILL.md` thoroughly
@@ -71,7 +71,7 @@ python skills/equity-scorer/equity_scorer.py \
7171
--input <vcf_or_csv> [--pop-map <csv>] [--output <dir>] [--weights 0.35,0.25,0.20,0.20]
7272

7373
# Nutrigenomics advisor from genetic data
74-
python skills/nutrigx_advisor/nutrigx_advisor.py \
74+
python skills/nutrigx-advisor/nutrigx_advisor.py \
7575
--input <patient_file> --output <report_dir>
7676

7777
# scRNA-seq pipeline from AnnData (.h5ad)
@@ -239,7 +239,7 @@ For instant demos when the user has no data:
239239
| File | Location | Use With |
240240
|---|---|---|
241241
| Synthetic patient (PGx, 31 SNPs) | `skills/pharmgx-reporter/demo_patient.txt` | pharmgx-reporter |
242-
| Synthetic patient (NutriGx, 40 SNPs) | `skills/nutrigx_advisor/synthetic_patient.txt` | nutrigx_advisor |
242+
| Synthetic patient (NutriGx, 40 SNPs) | `skills/nutrigx-advisor/synthetic_patient.txt` | nutrigx_advisor |
243243
| PBMC3k raw demo (fallback synthetic) | `--demo` flag | scrna-orchestrator |
244244
| Demo VCF (50 samples, 5 populations) | `examples/demo_populations.vcf` | equity-scorer |
245245
| Population map | `examples/demo_population_map.csv` | equity-scorer |
@@ -291,8 +291,8 @@ python skills/equity-scorer/equity_scorer.py \
291291
--input examples/sample_ancestry.csv --output /tmp/equity_csv_demo
292292

293293
# NutriGx demo
294-
python skills/nutrigx_advisor/nutrigx_advisor.py \
295-
--input skills/nutrigx_advisor/synthetic_patient.txt --output /tmp/nutrigx_demo
294+
python skills/nutrigx-advisor/nutrigx_advisor.py \
295+
--input skills/nutrigx-advisor/synthetic_patient.txt --output /tmp/nutrigx_demo
296296

297297
# MultiQC demo
298298
python skills/multiqc-reporter/multiqc_reporter.py --demo --output /tmp/multiqc_demo
Lines changed: 35 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,49 @@
11
---
22
name: nutrigx-advisor
3-
description: Personalised nutrition report from consumer genetic data (23andMe, AncestryDNA, VCF) — interrogates nutritionally-relevant SNPs and generates actionable dietary guidance, all computed locally.
4-
version: 0.1.0
5-
author: David de Lorenzo
3+
description: Personalised nutrition report from consumer genetic data (23andMe, AncestryDNA, VCF) — interrogates nutritionally-relevant
4+
SNPs and generates actionable dietary guidance, all computed locally.
65
license: MIT
7-
tags: [nutrigenomics, nutrition, diet, genetics, 23andme, ancestrydna, vcf]
86
metadata:
7+
version: 0.1.0
8+
author: David de Lorenzo
9+
tags:
10+
- nutrigenomics
11+
- nutrition
12+
- diet
13+
- genetics
14+
- 23andme
15+
- ancestrydna
16+
- vcf
917
openclaw:
1018
requires:
1119
bins:
12-
- python3
13-
env: []
14-
config: []
20+
- python3
1521
always: false
16-
emoji: "🥦"
22+
emoji: 🥦
1723
homepage: https://github.com/ClawBio/ClawBio
18-
os: [darwin, linux]
24+
os:
25+
- darwin
26+
- linux
1927
install:
20-
- kind: pip
21-
package: pandas numpy matplotlib seaborn
22-
bins: []
23-
- kind: pip
24-
package: reportlab
25-
bins: []
28+
- kind: pip
29+
package: pandas numpy matplotlib seaborn
30+
- kind: pip
31+
package: reportlab
2632
trigger_keywords:
27-
- personalised nutrition
28-
- nutrigenomics
29-
- diet genetics
30-
- MTHFR
31-
- APOE
32-
- FTO
33-
- vitamin D
34-
- caffeine metabolism
35-
- lactose
36-
- omega-3
37-
- folate
38-
- what should I eat based on my DNA
39-
- vitamin absorption genetics
40-
- gluten
33+
- personalised nutrition
34+
- nutrigenomics
35+
- diet genetics
36+
- MTHFR
37+
- APOE
38+
- FTO
39+
- vitamin D
40+
- caffeine metabolism
41+
- lactose
42+
- omega-3
43+
- folate
44+
- what should I eat based on my DNA
45+
- vitamin absorption genetics
46+
- gluten
4147
---
4248

4349
# NutriGx Advisor — Personalised Nutrition from Genetic Data
File renamed without changes.
File renamed without changes.
File renamed without changes.

skills/nutrigx_advisor/examples/output/nutrigx_heatmap.png renamed to skills/nutrigx-advisor/examples/output/nutrigx_heatmap.png

File renamed without changes.

skills/nutrigx_advisor/examples/output/nutrigx_radar.png renamed to skills/nutrigx-advisor/examples/output/nutrigx_radar.png

File renamed without changes.

skills/nutrigx_advisor/examples/output/nutrigx_report.md renamed to skills/nutrigx-advisor/examples/output/nutrigx_report.md

File renamed without changes.

0 commit comments

Comments
 (0)