
Drug Photo
Medication photo to personalised PGx dosage card via Claude vision, snap a pill, get...
Install
npx skills add ClawBio/ClawBio --skill drug-photo -g -a claude-code -y- Repository
- ClawBio/ClawBio1.2k
- Category
- AI and agents
- Updated
- 3d ago
- License
- MIT
- Context cost
- Lightabout 1,227 tokens
- Runs scripts
- No, instructions only
What it does
Medication photo to personalised PGx dosage card via Claude vision, snap a pill, get genotype-informed guidance
📸 Drug Photo
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.
Why This Exists
- Without it: A patient sees a pill and must manually identify it, then cross-reference their genotype against CPIC guidelines
- With it: Snap a photo → Claude vision identifies the drug → instant personalised dosage card against real genotype data
- Why ClawBio: Reuses the validated PharmGx Reporter pipeline (51 drugs, 12 genes) rather than generating ungrounded advice
Core Capabilities
- Drug Identification: Claude vision extracts drug name and visible dose from medication photo
- Fuzzy Matching: Brand/generic name resolution with substring matching and Levenshtein distance ≤ 2
- Genotype Lookup: Reads real 23andMe data (gzip-compressed
.txt.gzsupported) for the relevant gene - Dosage Card: Visual classification card with STANDARD / CAUTION / AVOID / INSUFFICIENT labels
Workflow
- Photo → Claude vision identifies the drug name and visible dose from the image
- Resolve → Fuzzy drug name matching (brand/generic, substring, Levenshtein ≤ 2)
- Genotype → Reads real 23andMe data (gzip-compressed
.txt.gzsupported) - Lookup → Single-drug CPIC recommendation against the user's actual genotype
- Card → Visual dosage card with classification, dose context, and FDA references
Supported Drugs (51)
All drugs from the CPIC guideline set across 12 genes:

