Agent skill · Databases

clinpgx-database

Access ClinPGx pharmacogenomics data (successor to PharmGKB). Query gene-drug interactions, CPIC guidelines, allele functions, for precision medicine and genotype-guided dosing decisions.

majiayu000github.com/majiayu000GitHub ↗
claude-coderead-onlyMIT
Install
npx skills add majiayu000/claude-skill-registry --skill clinpgx-database-hxk622-tokendance --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 22 KB
Bundled scripts: none
Version: 1.0.0
Declared author: K-Dense Inc.
Allowed tools: code_executeweb_searchread_url
Path: skills/api/clinpgx-database-hxk622-tokendance/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

Maps to a ClinPGx database skill that enables programmatic access to pharmacogenomics data. It instructs the agent to perform gene queries, drug queries, gene-drug pair lookups, CPIC guideline retrieval, allele/variant data retrieval, clinical annotations, drug labels, and pathway information via REST API endpoints. It also outlines workflows for clinical decision support, gene panel analysis, safety assessments, population pharmacogenomics, literature review, and includes rate limiting, error handling, and caching guidance. The skill targets pharmacogenomics data around gene variants, drug interactions, dosing guidelines, and regulatory labeling to support genotype-guided decisions.

How it works

  • Use REST API endpoints such as /v1/gene, /v1/chemical, /v1/geneDrugPair, /v1/guideline, /v1/allele, /v1/variant, /v1/clinicalAnnotation, /v1/drugLabel, and /v1/pathway to retrieve structured data.
  • Example workflows include:
    • Identify patient genotype via allele endpoint, then query gene-drug pairs for a medication, retrieve CPIC guideline for dosing, and check drug label for regulatory guidance.
    • For a gene panel, iterate through a list of genes to fetch all drug interactions and filter for CPIC guideline-level evidence, then generate a patient report.
    • Assess drug safety by querying a drug and obtaining clinical annotations, checking for HLA associations, and retrieving screening recommendations from guidelines and labels.
  • Implement rate limiting (2 requests per second) and provide safe API call patterns with retries and exponential backoff.
  • Include caching of results to minimize repeated queries.

When to use it

  • Gene-drug interactions, CPIC guidelines, allele functions, and genotype-guided dosing decisions require access to pharmacogenomics data.
  • Scenarios include clinical decision support, precision medicine, drug metabolism understanding, and individualized dosing planning.

What it can touch

  • Uses allowed tools: code_execute, web_search, read_url. The skill prescribes making HTTP requests to the ClinPGx API endpoints and processing JSON responses to assemble data for workflows.

Caveats

  • Data licensing is listed as Creative Commons Attribution-ShareAlike 4.0 for API data in the material, and authentication is noted as not required for basic access; substantial use may require notifying the ClinPGx team.
  • Rate limits are explicitly 2 requests per second; excessive usage yields HTTP 429 responses.
  • The description indicates the API is a successor resource consolidating data from PharmGKB, CPIC, and PharmCAT; outcomes are data retrieval and guidance, not guarantees of clinical results.
From the SKILL.md

# ClinPGx Database ## Overview ClinPGx (Clinical Pharmacogenomics Database) is a comprehensive resource for clinical pharmacogenomics information, successor to PharmGKB. It consolidates data from PharmGKB, CPIC, and PharmCAT, providing curated information on how genetic variation affects medication response. Access gene-drug pairs, clinical guidelines, allele functions, and drug labels for precision medicine applications. ## When to Use This Skill This skill should be used when: - **Gene-drug interactions**: Querying how genetic variants affect drug metabolism, efficacy, or toxicity - **CPIC guidelines**: Accessing evidence-based clinical practice guidelines for pharmacogenetics - **Allele information**: Retrieving allele function, frequency, and phenotype data - **Drug labels**: Exploring FDA and other regulatory pharmacogenomic drug labeling - **Pharmacogenomic annotations**: Accessing curated literature on gene-drug-disease relationships - **Clinical decision support**: Using PharmDOG tool for phenoconversion and custom genotype interpretation - **Precision medicine**: Implementing pharmacogenomic testing in clinical practice - **Drug metabolism**: Understanding CYP450 and other

What's inside
Steps it walks through
  1. Overview
  2. When to Use This Skill
  3. Installation and Setup
  4. Python API Access
  5. API Endpoint
  6. Core Capabilities
  7. 1. Gene Queries
  8. 2. Drug and Chemical Queries
  9. 3. Gene-Drug Pair Queries
  10. 4. CPIC Guidelines
  11. 5. Allele and Variant Information
  12. 6. Variant Annotations
  13. 7. Clinical Annotations
  14. 8. Drug Labels
Ships with 1 file
  • metadata.json
Commands it runs
uv pip install requests
More from claude-skill-registry
All skills →
About this skill
What does the clinpgx-database skill do?

Access ClinPGx pharmacogenomics data (successor to PharmGKB). Query gene-drug interactions, CPIC guidelines, allele functions, for precision medicine and genotype-guided dosing decisions.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill clinpgx-database-hxk622-tokendance --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going