Pharmacogenomics Agent
AI-driven pharmacogenomic analysis for precision dosing and adverse event prediction using multi-omics data.
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install openclaw-medical-pharmacogenomics-agentManual setup by platform
Claude Code
~/.claude/skills/openclaw-medical-pharmacogenomics-agent/SKILL.md
Instructions
Pharmacogenomics Agent
The Pharmacogenomics Agent integrates AI and multi-omics data to predict individual drug responses, optimize medication dosing, and minimize adverse events. It implements CPIC guidelines while leveraging deep learning for complex polygenic drug response phenotypes.
When to Use This Skill
- When interpreting pharmacogenomic variants (CYP450, HLA, transporters) for drug selection.
- To predict drug response using transcriptomic and proteomic biomarkers.
- For calculating polygenic risk scores for drug efficacy/toxicity.
- When optimizing doses for narrow therapeutic index drugs.
- To identify drug-drug-gene interactions.
Core Capabilities
-
Variant Interpretation: Translates star allele genotypes (*1/*2) into metabolizer phenotypes and actionable CPIC recommendations.
-
Multi-Omics Response Prediction: Deep learning models (DeepDRA, MOViDA) integrate genomic, transcriptomic, and proteomic features for drug response prediction.
-
Polygenic Risk Scoring: Combines effects of thousands of variants to stratify patients beyond single-gene pharmacogenomics.
-
Adverse Event Prediction: Identifies genetic risk factors for serious adverse reactions (HLA associations, G6PD deficiency).
-
Dose Optimization: AI-guided dosing for warfarin, tacrolimus, fluoropyrimidines, thiopurines, and other PGx-guided drugs.
-
Drug-Drug-Gene Interactions: Detects complex interactions where genetic variants modify drug interaction severity.
CPIC-Guided Genes and Drugs
| Gene | Drugs | Clinical Impact |
|---|---|---|
| CYP2D6 | Codeine, tamoxifen, antidepressants | Metabolizer status affects efficacy/toxicity |
| CYP2C19 | Clopidogrel, PPIs, antidepressants | Loss-of-function affects activation |
| CYP2C9/VKORC1 | Warfarin | Dose requirements vary 10-fold |
| TPMT/NUDT15 | Thiopurines | Myelosuppression risk |
| DPYD | Fluoropyrimidines | Severe/fatal toxicity in deficient patients |
| HLA-B*57:01 | Abacavir | Hypersensitivity screening |
| HLA-B*15:02 | Carbamazepine | SJS/TEN risk in Asian populations |
Workflow
-
Input: Patient genotype data (VCF, genotyping array), medication list, clinical parameters.
-
Star Allele Calling: Translate variants to star alleles using Stargazer or PharmCAT.
-
Phenotype Assignment: Determine metabolizer status (PM, IM, NM, UM) for each gene.
-
Guideline Lookup: Retrieve CPIC/DPWG recommendations for patient's medications.
-
Multi-Omics Prediction: Apply deep learning for complex response phenotypes.
-
Output: Drug-specific recommendations, dose adjustments, alternative medications, interaction alerts.
Example Usage
User: "Interpret this patient's pharmacogenomic panel and provide recommendations for their current medications."
Agent Action:
python3 Skills/Precision_Medicine/Pharmacogenomics_Agent/pgx_analyzer.py \
--genotype patient_pgx_panel.vcf \
--medications current_meds.json \
--guidelines cpic_dpwg \
--risk_scores oncology_response \
--output pgx_recommendations.json
AI Models for Drug Response
| Model | Architecture | Application | Performance |
|---|---|---|---|
| DeepDRA | Autoencoders | Drug response from transcriptomics | AUC 0.99 |
| MOViDA | Multi-omics VAE | Interpretable response prediction | State-of-art |
| DrugCell | Graph neural network | Drug synergy prediction | Improved over baselines |
| PaccMann | Multimodal attention | Cancer drug sensitivity | Clinical translation |
Polygenic Drug Response
Beyond single-gene PGx, polygenic scores capture:
- Efficacy polygenic scores: Statin LDL response, antidepressant remission
- Toxicity polygenic scores: Metformin GI intolerance, opioid dependence risk
- Combined scores: Integrating PRS with PGx for personalized prediction
Prerequisites
- Python 3.10+
- PharmCAT or Stargazer for star allele calling
- CPIC/DPWG guideline databases
- Deep learning frameworks (PyTorch)
- Optional: Expression data for multi-omics models
Related Skills
- Variant_Interpretation - For general variant classification
- Drug_Repurposing - For alternative drug identification
- Clinical_Trials - For PGx-guided trial matching
Implementation Notes
Clinical Integration:
- Returns structured FHIR-compatible recommendations
- Supports CDS Hooks for real-time EMR alerts
- Audit trail for clinical decision support
Quality Metrics:
- Validated against PharmGKB annotations
- Concordance with reference laboratory calls
- Regular updates with new CPIC guidelines
Author
AI Group - Biomedical AI Platform
Security
Reviews (0)
Related skills
Browse all →More from OpenClaw Medical
View source →More Build skills
Browse category →Frequently asked questions about pharmacogenomics-agent
What does the pharmacogenomics-agent skill do?
AI-driven pharmacogenomic analysis for precision dosing and adverse event prediction using multi-omics data. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the pharmacogenomics-agent skill?
Run `npx @skills-hub-ai/cli install openclaw-medical-pharmacogenomics-agent` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/openclaw-medical-pharmacogenomics-agent/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does pharmacogenomics-agent work with?
pharmacogenomics-agent runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the pharmacogenomics-agent skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use pharmacogenomics-agent after installing it?
In Claude Code, type `/openclaw-medical-pharmacogenomics-agent` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the pharmacogenomics-agent skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.