一键导入
drug-photo
Medication photo to personalised PGx dosage card via Claude vision — snap a pill, get genotype-informed guidance
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Medication photo to personalised PGx dosage card via Claude vision — snap a pill, get genotype-informed guidance
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | drug-photo |
| description | Medication photo to personalised PGx dosage card via Claude vision — snap a pill, get genotype-informed guidance |
| version | 0.1.0 |
| author | Manuel Corpas |
| license | MIT |
| tags | ["pharmacogenomics","computer-vision","drug-identification","dosage-guidance"] |
| metadata | {"genetind":{"requires":{"bins":["python3"],"env":[],"config":[]},"always":false,"emoji":"📸","homepage":"https://github.com/ClawBio/ClawBio","os":["macos","linux"],"install":[],"trigger_keywords":["drug photo","medication photo","pill photo","drug image"]}} |
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.
.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 modeConvert raw Nanopore signal data (FAST5/POD5) to nucleotide sequences using Dorado basecaller. Covers model selection, GPU acceleration, modified base detection, and quality filtering. Use when processing raw Nanopore data before alignment. Note: Guppy is deprecated; use Dorado for all new analyses.
Meta-agent that routes bioinformatics requests to specialised sub-skills. Handles file type detection, analysis planning, report generation, and reproducibility export.
Ancestry decomposition PCA against the Simons Genome Diversity Project
Shotgun metagenomics profiling — taxonomy, resistome, and functional pathways
Semantic Similarity Index for disease research literature using PubMedBERT embeddings
Query the ClinPGx API for pharmacogenomic gene-drug data, clinical annotations, CPIC guidelines, and FDA drug labels