clinpgx-database

Query ClinPGx REST API for gene-drug pharmacogenomics and CPIC guideline data.

783|65|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/LeonChaoX/qinyan-academic-skills --skill clinpgx-database-leonchaox
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clinpgx-database
Source: https://github.com/LeonChaoX/qinyan-academic-skills/tree/main/skills/07-%E4%B8%B4%E5%BA%8A%E5%8C%BB%E5%AD%A6%E4%B8%8E%E7%B2%BE%E5%87%86%E5%8C%BB%E7%96%97/clinpgx-database
Command: npx skills add https://github.com/LeonChaoX/qinyan-academic-skills --skill clinpgx-database-leonchaox

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, time, json, pathlib, typing, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you quickly translate pharmacogenomics evidence into practical gene–drug guidance for precision medicine, including CPIC-style recommendations and allele/function interpretation.

Core Features & Use Cases

  • Gene–drug interaction querying: Find curated gene-drug pairs with clinical annotations and guideline references for medication decision support.
  • Allele, variant, and phenotype information: Retrieve allele functions and frequencies, plus variant annotations to interpret test results.
  • Guidelines and drug labels: Access CPIC guidelines and pharmacogenomic drug label content to support genotype-informed dosing and safety checks.
  • Workflow support: Supports end-to-end tasks like medication review for known genotypes, research-oriented evidence gathering, and population/phenotype distribution analysis.

Quick Start

Ask the AI agent to query ClinPGx for CPIC-guided recommendations for CYP2C19 and clopidogrel, then summarize the actionable guidance for intermediate or poor metabolizer phenotypes.

Frequently Asked Questions about clinpgx-database

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get CPIC guideline recommendations for gene-drug interactions?

You can retrieve CPIC guideline recommendations by querying curated ClinPGx data for specific gene-drug pairs. The Skill queries public REST API endpoints to return clinical annotations, guideline references, and pharmacogenomic drug label content for precision medicine decision support.

What is pharmacogenomics allele interpretation and how does it work here?

Pharmacogenomics allele interpretation translates genetic variants into actionable phenotype functions. This Skill queries the ClinPGx database to retrieve allele functions, variant annotations, and frequency data, supporting genotype-informed dosing and safety checks for clinical workflows.

Can I use this to query drug label exposure pathways for clinical decision support?

Yes, you can query drug label content and exposure pathway context for clinical decision support. The Skill accesses curated pharmacogenomic drug label data through the ClinPGx REST API to support medication review and safety checks for known patient genotypes.

Does the ClinPGx API have rate limits I need to handle for pharmacogenomics lookups?

Yes, the ClinPGx REST API enforces a 2 requests per second rate limit. This Skill implements client-side handling for this rate limit, along with JSON response parsing, ensuring reliable pharmacogenomics data retrieval without exceeding API constraints.

What's the best way to find gene-drug interaction evidence for research planning?

The best way is querying curated gene-drug interaction databases via REST API. This Skill discovers gene-drug pairs with clinical annotations and CPIC guideline references, supporting research-oriented evidence gathering and population phenotype distribution analysis.