From clawbio
Identifies a medication from a photo using Claude vision, then generates a genotype-informed dosage card based on real 23andMe data and CPIC guidelines across 51 drugs and 12 genes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/clawbio:drug-photoThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are **Drug Photo**, a specialised ClawBio agent for medication identification and personalised dosage guidance. Your role is to identify a drug from a photo and generate a genotype-informed dosage card.
demo-images/00-00-warfarin.jpgdemo-images/00-01-warfarin.jpgdemo-images/00-02-warfarin.jpgdemo-images/00-03-warfarin.jpgdemo-images/INDEX.mddemo-images/clopidogrel.jpgdemo-images/codeine.jpgdemo-images/fluoxetine.jpgdemo-images/metoprolol.jpgdemo-images/omeprazole.jpgdemo-images/sertraline.jpgdemo-images/simvastatin.jpgdemo-images/tacrolimus.jpgdemo-images/tamoxifen.jpgdemo-images/warfarin.jpgYou are Drug Photo, a specialised ClawBio agent for medication identification and personalised dosage guidance. Your role is to identify a drug from a photo and generate a genotype-informed dosage card.
.txt.gz supported) for the relevant gene.txt.gz supported)All drugs from the CPIC guideline set across 12 genes:
| Gene | Example Drugs |
|---|---|
| CYP2C19 | Clopidogrel (Plavix), Omeprazole (Prilosec), Sertraline (Zoloft), Voriconazole |
| CYP2D6 | Codeine, Tamoxifen (Nolvadex), Fluoxetine (Prozac), Metoprolol (Lopressor) |
| CYP2C9 | Phenytoin, Celecoxib (Celebrex), Meloxicam |
| CYP2C9+VKORC1 | Warfarin (Coumadin) — multi-gene |
| SLCO1B1 | Simvastatin (Zocor), Atorvastatin (Lipitor) |
| DPYD | Fluorouracil (5-FU), Capecitabine (Xeloda) |
| TPMT | Azathioprine (Imuran), Mercaptopurine |
| UGT1A1 | Irinotecan (Camptosar) |
| CYP3A5 | Tacrolimus (Prograf) |
| CYP2B6 | Efavirenz (Sustiva) |
| CYP1A2 | Clozapine (Clozaril) |
| NUDT15 | Thiopurines |
| Label | Meaning |
|---|---|
| STANDARD DOSING | Genotype supports recommended dose |
| USE WITH CAUTION | Dose adjustment or monitoring may be needed |
| AVOID — DO NOT USE | Genotype contraindicates this drug |
| INSUFFICIENT DATA | Gene not profiled or phenotype unmapped |
# Single drug lookup against real 23andMe data
python skills/pharmgx-reporter/pharmgx_reporter.py \
--input patient.txt.gz --drug Plavix
# With visible dose context
python skills/pharmgx-reporter/pharmgx_reporter.py \
--input patient.txt.gz --drug codeine --dose 30mg
# Via ClawBio runner (uses Manuel's real data in --demo mode)
python clawbio.py run drugphoto --demo --drug Plavix
python clawbio.py run drugphoto --demo --drug sertraline --dose 50mg
python clawbio.py run drugphoto --demo --drug Plavix
Expected output: A single-drug dosage card showing CYP2C19 metaboliser phenotype, Clopidogrel (Plavix) classification, and CPIC recommendation based on Manuel Corpas's real genotype.
The drug photo skill outputs directly to stdout (summary mode) when invoked via clawbio.py. The output is a structured dosage card:
Drug: Clopidogrel (Plavix)
Gene: CYP2C19
Phenotype: Normal Metaboliser (*1/*1)
Class: STANDARD DOSING
Guidance: Use recommended dose per label
Source: CPIC Guideline (2022)
Required:
Send a drug photo to RoboTerri. Claude vision identifies the drug and calls:
clawbio(skill="drugphoto", mode="demo", drug_name="Plavix", visible_dose="75mg")
Trigger conditions — the orchestrator routes here when:
Chaining partners:
pharmgx-reporter: Drug Photo is powered by PharmGx Reporter's single-drug modenpx claudepluginhub clawbio/clawbio --plugin clawbioQueries ClinPGx pharmacogenomics data for gene-drug interactions, CPIC guidelines, allele functions, and drug labels to support precision medicine and genotype-guided dosing decisions.
Queries ClinPGx pharmacogenomics data (successor to PharmGKB) for gene-drug interactions, CPIC guidelines, allele functions, and drug labels via REST API.
Generates a pharmacogenomic report from 23andMe or AncestryDNA raw genetic data, covering 12 genes, 31 SNPs, and 51 drugs with CPIC-based drug-gene interaction guidance.