[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DNS5T8D6PSKPGJM8QXA3D7":3,"skill-same:01M6DNS5T8D6PSKPGJM8QXA3D7":76},{"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":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":57,"commitSha":58,"skillDirectory":5,"forksCount":14,"repositoryHtmlUrl":59,"repositoryHomepageUrl":6,"ownerHtmlUrl":60,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":61,"install":62,"resources":75},"01M6DNS5T8D6PSKPGJM8QXA3D7","drug-photo",null,"Medication photo to personalised PGx dosage card via Claude vision — snap a pill, get genotype-informed guidance","huamu668\u002Fclawhub-openclaw-medical","huamu668","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F202473531?v=4","01M6DK1V7D7VP9PJ06Z1VXVK13","huamu","01M6DK1VBYG1BX5FT154AFZHAS",0,"MIT","https:\u002F\u002Fgithub.com\u002Fhuamu668\u002Fclawhub-openclaw-medical\u002Fblob\u002Fmain\u002Fdrug-photo\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"drug photo","image","macos","github","linux","https","computer","python3","vision","guidance","get","false","pharmacogenomics","computer-vision","drug-identification","dosage-guidance","2026-11-10 10:12:30",false,"---\nname: drug-photo\ndescription: Medication photo to personalised PGx dosage card via Claude vision — snap a pill, get genotype-informed guidance\nversion: 0.1.0\nauthor: Manuel Corpas\nlicense: MIT\ntags: [pharmacogenomics, computer-vision, drug-identification, dosage-guidance]\nmetadata:\n  openclaw:\n    requires:\n      bins:\n        - python3\n      env: []\n      config: []\n    always: false\n    emoji: \"?\"\n    homepage: https:\u002F\u002Fgithub.com\u002FClawBio\u002FClawBio\n    os: [macos, linux]\n    install: []\n    trigger_keywords:\n      - drug photo\n      - medication photo\n      - pill photo\n      - drug image\n---\n\n# ? Drug Photo\n\nYou 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.\n\n## Why This Exists\n\n- **Without it**: A patient sees a pill and must manually identify it, then cross-reference their genotype against CPIC guidelines\n- **With it**: Snap a photo → Claude vision identifies the drug → instant personalised dosage card against real genotype data\n- **Why ClawBio**: Reuses the validated PharmGx Reporter pipeline (51 drugs, 12 genes) rather than generating ungrounded advice\n\n## Core Capabilities\n\n1. **Drug Identification**: Claude vision extracts drug name and visible dose from medication photo\n2. **Fuzzy Matching**: Brand\u002Fgeneric name resolution with substring matching and Levenshtein distance ≤ 2\n3. **Genotype Lookup**: Reads real 23andMe data (gzip-compressed `.txt.gz` supported) for the relevant gene\n4. **Dosage Card**: Visual classification card with STANDARD \u002F CAUTION \u002F AVOID \u002F INSUFFICIENT labels\n\n## Workflow\n\n1. **Photo** → Claude vision identifies the drug name and visible dose from the image\n2. **Resolve** → Fuzzy drug name matching (brand\u002Fgeneric, substring, Levenshtein ≤ 2)\n3. **Genotype** → Reads real 23andMe data (gzip-compressed `.txt.gz` supported)\n4. **Lookup** → Single-drug CPIC recommendation against the user's actual genotype\n5. **Card** → Visual dosage card with classification, dose context, and FDA references\n\n## Supported Drugs (51)\n\nAll drugs from the CPIC guideline set across 12 genes:\n\n| Gene | Example Drugs |\n|------|---------------|\n| CYP2C19 | Clopidogrel (Plavix), Omeprazole (Prilosec), Sertraline (Zoloft), Voriconazole |\n| CYP2D6 | Codeine, Tamoxifen (Nolvadex), Fluoxetine (Prozac), Metoprolol (Lopressor) |\n| CYP2C9 | Phenytoin, Celecoxib (Celebrex), Meloxicam |\n| CYP2C9+VKORC1 | Warfarin (Coumadin) — multi-gene |\n| SLCO1B1 | Simvastatin (Zocor), Atorvastatin (Lipitor) |\n| DPYD | Fluorouracil (5-FU), Capecitabine (Xeloda) |\n| TPMT | Azathioprine (Imuran), Mercaptopurine |\n| UGT1A1 | Irinotecan (Camptosar) |\n| CYP3A5 | Tacrolimus (Prograf) |\n| CYP2B6 | Efavirenz (Sustiva) |\n| CYP1A2 | Clozapine (Clozaril) |\n| NUDT15 | Thiopurines |\n\n## Classification Labels\n\n| Label | Meaning |\n|-------|---------|\n| STANDARD DOSING | Genotype supports recommended dose |\n| USE WITH CAUTION | Dose adjustment or monitoring may be needed |\n| AVOID — DO NOT USE | Genotype contraindicates this drug |\n| INSUFFICIENT DATA | Gene not profiled or phenotype unmapped |\n\n## CLI Reference\n\n```bash\n# Single drug lookup against real 23andMe data\npython skills\u002Fpharmgx-reporter\u002Fpharmgx_reporter.py \\\n  --input patient.txt.gz --drug Plavix\n\n# With visible dose context\npython skills\u002Fpharmgx-reporter\u002Fpharmgx_reporter.py \\\n  --input patient.txt.gz --drug codeine --dose 30mg\n\n# Via ClawBio runner (uses Manuel's real data in --demo mode)\npython clawbio.py run drugphoto --demo --drug Plavix\npython clawbio.py run drugphoto --demo --drug sertraline --dose 50mg\n```\n\n## Demo\n\n```bash\npython clawbio.py run drugphoto --demo --drug Plavix\n```\n\nExpected output: A single-drug dosage card showing CYP2C19 metaboliser phenotype, Clopidogrel (Plavix) classification, and CPIC recommendation based on Manuel Corpas's real genotype.\n\n## Output Structure\n\nThe drug photo skill outputs directly to stdout (summary mode) when invoked via `clawbio.py`. The output is a structured dosage card:\n\n```\nDrug:       Clopidogrel (Plavix)\nGene:       CYP2C19\nPhenotype:  Normal Metaboliser (*1\u002F*1)\nClass:      STANDARD DOSING\nGuidance:   Use recommended dose per label\nSource:     CPIC Guideline (2022)\n```\n\n## Dependencies\n\n**Required**:\n- Python 3.10+ (standard library only)\n- Claude vision API access (for photo identification — handled by RoboTerri or agent)\n\n## Safety\n\n- **Local-first**: Genetic data never leaves the machine\n- **Disclaimer**: Every dosage card includes the ClawBio medical disclaimer\n- **CPIC-grounded**: All recommendations trace to published guidelines\n- **No diagnosis**: Classification labels are informational, not prescriptive\n\n## Telegram Integration\n\nSend a drug photo to RoboTerri. Claude vision identifies the drug and calls:\n```\nclawbio(skill=\"drugphoto\", mode=\"demo\", drug_name=\"Plavix\", visible_dose=\"75mg\")\n```\n\n## Integration with Bio Orchestrator\n\n**Trigger conditions** — the orchestrator routes here when:\n- User sends a photo of a medication or pill\n- User asks \"what does this drug do for my genotype\"\n\n**Chaining partners**:\n- `pharmgx-reporter`: Drug Photo is powered by PharmGx Reporter's single-drug mode\n\n## Citations\n\n- [CPIC Guidelines](https:\u002F\u002Fcpicpgx.org\u002F) — Clinical Pharmacogenetics Implementation Consortium\n- [FDA Table of Pharmacogenomic Biomarkers](https:\u002F\u002Fwww.fda.gov\u002Fdrugs\u002Fscience-and-research-drugs\u002Ftable-pharmacogenomic-biomarkers-drug-labeling) — FDA-approved PGx drug labels\n","# ? Drug Photo\n\nYou 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.\n\n## Why This Exists\n\n- **Without it**: A patient sees a pill and must manually identify it, then cross-reference their genotype against CPIC guidelines\n- **With it**: Snap a photo → Claude vision identifies the drug → instant personalised dosage card against real genotype data\n- **Why ClawBio**: Reuses the validated PharmGx Reporter pipeline (51 drugs, 12 genes) rather than generating ungrounded advice\n\n## Core Capabilities\n\n1. **Drug Identification**: Claude vision extracts drug name and visible dose from medication photo\n2. **Fuzzy Matching**: Brand\u002Fgeneric name resolution with substring matching and Levenshtein distance ≤ 2\n3. **Genotype Lookup**: Reads real 23andMe data (gzip-compressed `.txt.gz` supported) for the relevant gene\n4. **Dosage Card**: Visual classification card with STANDARD \u002F CAUTION \u002F AVOID \u002F INSUFFICIENT labels\n\n## Workflow\n\n1. **Photo** → Claude vision identifies the drug name and visible dose from the image\n2. **Resolve** → Fuzzy drug name matching (brand\u002Fgeneric, substring, Levenshtein ≤ 2)\n3. **Genotype** → Reads real 23andMe data (gzip-compressed `.txt.gz` supported)\n4. **Lookup** → Single-drug CPIC recommendation against the user's actual genotype\n5. **Card** → Visual dosage card with classification, dose context, and FDA references\n\n## Supported Drugs (51)\n\nAll drugs from the CPIC guideline set across 12 genes:\n\n| Gene | Example Drugs |\n|------|---------------|\n| CYP2C19 | Clopidogrel (Plavix), Omeprazole (Prilosec), Sertraline (Zoloft), Voriconazole |\n| CYP2D6 | Codeine, Tamoxifen (Nolvadex), Fluoxetine (Prozac), Metoprolol (Lopressor) |\n| CYP2C9 | Phenytoin, Celecoxib (Celebrex), Meloxicam |\n| CYP2C9+VKORC1 | Warfarin (Coumadin) — multi-gene |\n| SLCO1B1 | Simvastatin (Zocor), Atorvastatin (Lipitor) |\n| DPYD | Fluorouracil (5-FU), Capecitabine (Xeloda) |\n| TPMT | Azathioprine (Imuran), Mercaptopurine |\n| UGT1A1 | Irinotecan (Camptosar) |\n| CYP3A5 | Tacrolimus (Prograf) |\n| CYP2B6 | Efavirenz (Sustiva) |\n| CYP1A2 | Clozapine (Clozaril) |\n| NUDT15 | Thiopurines |\n\n## Classification Labels\n\n| Label | Meaning |\n|-------|---------|\n| STANDARD DOSING | Genotype supports recommended dose |\n| USE WITH CAUTION | Dose adjustment or monitoring may be needed |\n| AVOID — DO NOT USE | Genotype contraindicates this drug |\n| INSUFFICIENT DATA | Gene not profiled or phenotype unmapped |\n\n## CLI Reference\n\n```bash\n# Single drug lookup against real 23andMe data\npython skills\u002Fpharmgx-reporter\u002Fpharmgx_reporter.py \\\n  --input patient.txt.gz --drug Plavix\n\n# With visible dose context\npython skills\u002Fpharmgx-reporter\u002Fpharmgx_reporter.py \\\n  --input patient.txt.gz --drug codeine --dose 30mg\n\n# Via ClawBio runner (uses Manuel's real data in --demo mode)\npython clawbio.py run drugphoto --demo --drug Plavix\npython clawbio.py run drugphoto --demo --drug sertraline --dose 50mg\n```\n\n## Demo\n\n```bash\npython clawbio.py run drugphoto --demo --drug Plavix\n```\n\nExpected output: A single-drug dosage card showing CYP2C19 metaboliser phenotype, Clopidogrel (Plavix) classification, and CPIC recommendation based on Manuel Corpas's real genotype.\n\n## Output Structure\n\nThe drug photo skill outputs directly to stdout (summary mode) when invoked via `clawbio.py`. The output is a structured dosage card:\n\n```\nDrug:       Clopidogrel (Plavix)\nGene:       CYP2C19\nPhenotype:  Normal Metaboliser (*1\u002F*1)\nClass:      STANDARD DOSING\nGuidance:   Use recommended dose per label\nSource:     CPIC Guideline (2022)\n```\n\n## Dependencies\n\n**Required**:\n- Python 3.10+ (standard library only)\n- Claude vision API access (for photo identification — handled by RoboTerri or agent)\n\n## Safety\n\n- **Local-first**: Genetic data never leaves the machine\n- **Disclaimer**: Every dosage card includes the ClawBio medical disclaimer\n- **CPIC-grounded**: All recommendations trace to published guidelines\n- **No diagnosis**: Classification labels are informational, not prescriptive\n\n## Telegram Integration\n\nSend a drug photo to RoboTerri. Claude vision identifies the drug and calls:\n```\nclawbio(skill=\"drugphoto\", mode=\"demo\", drug_name=\"Plavix\", visible_dose=\"75mg\")\n```\n\n## Integration with Bio Orchestrator\n\n**Trigger conditions** — the orchestrator routes here when:\n- User sends a photo of a medication or pill\n- User asks \"what does this drug do for my genotype\"\n\n**Chaining partners**:\n- `pharmgx-reporter`: Drug Photo is powered by PharmGx Reporter's single-drug mode\n\n## Citations\n\n- [CPIC Guidelines](https:\u002F\u002Fcpicpgx.org\u002F) — Clinical Pharmacogenetics Implementation Consortium\n- [FDA Table of Pharmacogenomic Biomarkers](https:\u002F\u002Fwww.fda.gov\u002Fdrugs\u002Fscience-and-research-drugs\u002Ftable-pharmacogenomic-biomarkers-drug-labeling) — FDA-approved PGx drug labels\n",{"name":5,"tags":40,"author":41,"license":15,"version":42,"metadata":43,"description":7},[31,32,33,34],"Manuel Corpas","0.1.0",{"openclaw":44},{"os":45,"emoji":46,"always":36,"install":47,"homepage":48,"requires":49,"trigger_keywords":53},[21,23],"?",[],"https:\u002F\u002Fgithub.com\u002FClawBio\u002FClawBio",{"env":50,"bins":51,"config":52},[],[26],[],[19,54,55,56],"medication photo","pill photo","drug image","main","d3998984163a67a891ee8397e35adf79b14e872d","https:\u002F\u002Fgithub.com\u002Fhuamu668\u002Fclawhub-openclaw-medical","https:\u002F\u002Fgithub.com\u002Fhuamu668","2026-03-12 11:49:42",{"source":8,"skillName":5,"commands":63,"prompt":73,"zipAvailable":74},[64,67,70],{"tool":65,"command":66},"npx","npx skills add huamu668\u002Fclawhub-openclaw-medical --skill drug-photo",{"tool":68,"command":69},"bunx","bunx skills add huamu668\u002Fclawhub-openclaw-medical --skill drug-photo",{"tool":71,"command":72},"pnpm","pnpm dlx skills add huamu668\u002Fclawhub-openclaw-medical --skill drug-photo","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhuamu668\u002Fclawhub-openclaw-medical\u002Fblob\u002Fmain\u002Fdrug-photo\u002FSKILL.md",true,[],[77,97,123,143,157,178],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":35},"01M6DR3JGAEX5G5FR7TK3D8NS8","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Fhuamu668\u002Fclawhub-openclaw-medical\u002Fblob\u002Fmain\u002Fzarr-python\u002FSKILL.md",[],[84,85,86,87,88,89,90,91,92,93,94,95,96],"python","zarr python","storage","scientific computing","numpy","arrays","pipelines","parallel","dask","cloud","gcs","s3","integration",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":35},"01M6DR101MEDE5XT2ZZ5VBEAA5","vaex","Use this skill for processing and analyzing large tabular datasets (billions of rows) that exceed available RAM. Vaex excels at out-of-core DataFrame operations, lazy evaluation, fast aggregations, efficient visualization of big data, and machine learning on large datasets. Apply when users need to work with large CSV\u002FHDF5\u002FArrow\u002FParquet files, perform fast statistics on massive datasets, create visualizations of big data, or build ML pipelines that do not fit in memory.","https:\u002F\u002Fgithub.com\u002Fhuamu668\u002Fclawhub-openclaw-medical\u002Fblob\u002Fmain\u002Fvaex\u002FSKILL.md",[],[99,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122],"machine learning","in memory","learning","csv","visualization","create","core","ml","big data","memory","visualizations","fit","statistics","do","build","files","use","operations","work",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":35},"01M6DQVMB0GBKF2W44FKXVD1P7","torch-geometric","Graph Neural Networks (PyG). Node\u002Fgraph classification, link prediction, GCN, GAT, GraphSAGE, heterogeneous graphs, molecular property prediction, for geometric deep learning.","https:\u002F\u002Fgithub.com\u002Fhuamu668\u002Fclawhub-openclaw-medical\u002Fblob\u002Fmain\u002Ftorch-geometric\u002FSKILL.md",[],[130,106,131,132,133,134,135,136,137,138,139,140,141,142],"torch geometric","node","Neural","link","gat","molecular","graphs","deep","networks","graph","neural networks","deep learning","classification",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":35},"01M6DQH2GZPZKEQ140GRCJ9746","tiledbvcf","Efficient storage and retrieval of genomic variant data using TileDB. Scalable VCF\u002FBCF ingestion, incremental sample addition, compressed storage, parallel queries, and export capabilities for population genomics.","https:\u002F\u002Fgithub.com\u002Fhuamu668\u002Fclawhub-openclaw-medical\u002Fblob\u002Fmain\u002Ftiledbvcf\u002FSKILL.md",[],[145,150,151,152,153,154,155,91,156,86],"data","genomics","sample","queries","ingestion","export","capabilities",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":35},"01M6DQD9G958EM6NHJ994D0SK1","solublempnn","Solubility-optimized protein sequence design using SolubleMPNN. Use this skill when: (1) Designing for E. coli expression, (2) Optimizing solubility of designed proteins, (3) Reducing aggregation propensity, (4) Need high-yield expression, (5) Avoiding inclusion body formation.\nFor standard design, use proteinmpnn. For ligand-aware design, use ligandmpnn.","https:\u002F\u002Fgithub.com\u002Fhuamu668\u002Fclawhub-openclaw-medical\u002Fblob\u002Fmain\u002Fsolublempnn\u002FSKILL.md",[],[159,164,165,120,166,167,168,169,170,171,172,173,174,175,176,177],"inclusion","yield","modal","Tools","aggregation","design","proteins","solubility","proteinmpnn","ligandmpnn","ligand-aware","inverse-folding","expression","sequence-design",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":182,"licenseFileUrl":6,"sourceHtmlUrl":183,"categories":184,"keywords":185,"publishedAt":35},"01M6DQ8W91A93MGGCEEW949HBC","scvelo","RNA velocity analysis with scVelo. Estimate cell state transitions from unspliced\u002Fspliced mRNA dynamics, infer trajectory directions, compute latent time, and identify driver genes in single-cell RNA-seq data. Complements Scanpy\u002FscVI-tools for trajectory inference.","BSD-3-Clause","https:\u002F\u002Fgithub.com\u002Fhuamu668\u002Fclawhub-openclaw-medical\u002Fblob\u002Fmain\u002Fscvelo\u002FSKILL.md",[],[180,186,187,188,189,190,191,192,193,194,195,167,150,196,197],"RNA","single-cell","infer","cell","transitions","time","compute","velocity","scanpy","analysis","state","inference"]