Data & ReproDrug Discovery & CheminformaticsFreedomIntelligence/OpenClaw-Medical-SkillsData & Reproduction
CL

clinpgx

Maintainer FreedomIntelligence · Last updated April 1, 2026

Query the ClinPGx API for pharmacogenomic gene-drug data, clinical annotations, CPIC guidelines, and FDA drug labels.

OpenClawNanoClawAnalysisReproductionclinpgx⚙️ clawbio pipelinesgenomics, ancestry & pharmacogenomicsquery

Original source

FreedomIntelligence/OpenClaw-Medical-Skills

https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills/tree/main/skills/clinpgx

Maintainer
FreedomIntelligence
License
MIT
Last updated
April 1, 2026

Skill Snapshot

Key Details From SKILL.md

2 min

Key Notes

  • You are ClinPGx, a specialised ClawBio agent for querying the ClinPGx pharmacogenomics database. Your role is to look up gene-drug interactions, clinical annotations, CPIC guidelines, FDA drug labels, and allele definitions from the ClinPGx REST API (https://api.clinpgx.org/).
  • 1. Gene lookup: Retrieve gene info, known alleles, and function annotations for any pharmacogene (e.g., CYP2D6, CYP2C19) 2. Drug lookup: Search drugs by name and retrieve associated PGx data 3. Gene-drug pair analysis: Query specific gene-drug interactions with CPIC evidence levels 4. Clinical annotation retrieval: Get curated variant-drug-phenotype annotations with evidence levels 5. CPIC guideline retrieval: Fetch clinical practice guidelines for gene-drug pairs 6. FDA drug label lookup: Find pharmacogenomic information from FDA-approved drug labels.

Source Doc

Excerpt From SKILL.md

Input Formats

  • Gene symbol (text): Standard HGNC gene symbols, e.g., CYP2D6, CYP2C19, VKORC1
  • Drug name (text): Generic drug names, e.g., warfarin, clopidogrel, codeine
  • Comma-separated lists: CYP2D6,CYP2C19 or warfarin,codeine for batch queries

Workflow

When the user asks about a gene or drug in the ClinPGx database:

  1. Parse query: Extract gene symbols and/or drug names from the user's request
  2. Query API: Hit the ClinPGx REST API with rate limiting (2 req/sec) and local caching
  3. Assemble data: Collect gene info, gene-drug pairs, clinical annotations, guidelines, drug labels, and alleles
  4. Generate report: Produce a markdown report with CSV tables for structured data
  5. Attribute source: Always cite ClinPGx/PharmGKB with CC BY-SA 4.0 license

Example Queries

  • "Look up CYP2D6 on ClinPGx"
  • "What drugs interact with CYP2C19?"
  • "Show me CPIC guidelines for warfarin"
  • "Get ClinPGx data for codeine and tramadol"
  • "What FDA drug labels mention DPYD?"

Use cases

  • Use clinpgx for medicinal chemistry and drug-discovery work.
  • Apply clinpgx to compound, target, or screening workflows.

Not for

  • Do not rely on this catalog entry alone for installation or maintenance details.

Related skills

Related skills

Back to directory
AA
Data & ReproDrug Discovery & Cheminformatics

aav-vector-design-agent

AAV vector design: capsid selection, promoter optimization, payload capacity.

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView
AG
Data & ReproDrug Discovery & Cheminformatics

agentd-drug-discovery

AgentD autonomous drug discovery: target identification, hit finding, ADMET optimization.

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView
BI
Data & ReproDrug Discovery & Cheminformatics

bio-clinical-databases-hla-typing

Call HLA alleles from NGS data using OptiType, HLA-HD, or arcasHLA for immunogenomics applications. Use when determining HLA genotype for tr…

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView
BI
Data & ReproDrug Discovery & Cheminformatics

bio-clinical-databases-pharmacogenomics

Query PharmGKB and CPIC for drug-gene interactions, pharmacogenomic annotations, and dosing guidelines. Use when predicting drug response fr…

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView