clinpgx
Access ClinPGx pharmacogenomics data (successor to PharmGKB).
Skill by LUNARTECH-X
Chalk Labs
Need help deploying clinpgx?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/lunartech-x-clinpgx
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/clinpgx
What's inside
- Skill name
clinpgx- Description
- Access ClinPGx pharmacogenomics data (successor to PharmGKB). Query gene-drug interactions, CPIC guidelines, allele functions, for precision medicine and genotype-guided dosing decisions.
- License
- MIT
- Metadata
- version: 1.0.0 · skill-author: AlterLab
- Instructions
- 630 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
- Instructions call the network
Agent Skills spec issues
- body: 630 lines (spec recommends under 500)
Files (3)
- SKILL.md
- api_reference.md · references/
- query_clinpgx.py · scripts/
SKILL.md (first lines)
# 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 pharmacogene functions
- **Personalized dosing**: Finding genotype-guided dosing recommendations
- **Adverse drug reactions**: Identifying genetic risk factors for drug toxicity
## Installation and Setup
### Python API Access
The ClinPGx REST API provides programmatic access to all database resources. Basic setup:
```bash
uv pip install requests
```
### API Endpoint
```python
BASE_URL = "https://api.clinpgx.org/v1/"
```
**Rate Limits**:
- 2 requests per second maximum
- Excessive requests will result in HTTP 429 (Too Many Requests) response
**Authentication**: Not required for basic access
**Data License**: Creative Commons Attribution-ShareAlike 4.0 International License
For substantial API use, notify the ClinPGx team at api@clinpgx.org
## Core Capabilities
### 1. Gene Queries
**Retrieve gene information** including function, clinical annotations, and pharmacogenomic significance:
```python
import requests
# Get gene details
response = requests.get("https://api.clinpgx.org/v1/gene/CYP2D6")
gene_data = response.json()
# Search for genes by name
response = requests.get("https://api.clinpgx.org/v1/gene",
params={"q": "CYP"})
genes = response.json()
```
**Key pharmacogenes**:
- **CYP450 enzymes**: CYP2D6, CYP2C19, CYP2C9, CYP3A4, CYP3A5
- **Transporters**: SLCO1B1, ABCB1, ABCG2
- **Other metabolizers**: TPMT, DPYD, NUDT15, UGT1A1
- **Receptors**: OPRM1, HTR2A, ADRB1
- **HLA genes**: HLA-B, HLA-A
### 2. Drug and Chemical Queries
**Retrieve drug information** including pharmacogenomic annotations and mechanisms:
```python
# Get drug details
response = requests.get("https://api.clinpgx.org/v1/chemical/PA448515") # Warfarin
drug_data = response.json()
# Search drugs by name
response = requests.get("https://api.clinpgx.org/v1/chemical",
params={"name": "warfarin"})
drugs = response.json()
```
**Drug categories with pharmacogenomic significance**:
- Anticoagulants (warfarin, clopidogrel)
- Antidepressants (SSRIs, TCAs)
- Immunosuppressants (tacrolimus, azathioprine)
- Oncology drugs (5-fluorouracil, irinotecan, tamoxifen)
- Cardiovascular drugs (statins, beta-blockers)
- Pain medications (codeine, tramadol)
- Antivirals (abacavir)
### 3. Gene-Drug Pair Queries
**Access curated gene-drug relationships** with clinical annotations:
```python
# Get gene-drug pair information
response = requests.get("https://api.clinpgx.org/v1/geneDrugPair",
params={"gene": "CYP2D6", "drug": "codeine"})
pair_data = response.json()
# Get all pairs for a gene
response = requests.get("https://api.clinpgx.org/v1/geneDrugPair",
params={"gene": "CYP2C19"})
all_pairs = response.json()
```
**Clinical annotation sources**:
- CPIC (Clinical Pharmacogenetics Implementation Consortium)
- DPWG (Dutch Pharmacogenetics Working Group)
- FDA (Food and Drug Administration) labels
- Peer-reviewed literature summary annotationsFrom LUNARTECH-X/superpowers, MIT.
More from LUNARTECH-X/superpowers
- 0.556score
database-lookup
LUNARTECH-X
Search 78 public scientific, biomedical, materials science, and economic databases via REST APIs.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
datacommons
LUNARTECH-X
Work with Data Commons, a platform providing programmatic access to public statistical data from global sources.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
adaptyv
LUNARTECH-X
How to use the Adaptyv Bio Foundry API and Python SDK for protein experiment design, submission, and results retrieval.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
academic-paper
LUNARTECH-X
12-agent academic paper writing pipeline.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
arxiv
LUNARTECH-X
Search and retrieve preprints from arXiv via the Atom API.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
autoskill
LUNARTECH-X
Observe the user's screen via screenpipe, detect repeated research workflows, match them against existing scientific-agent-skills, and draft new skills (or…
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
biorxiv
LUNARTECH-X
Efficient database search tool for bioRxiv preprint server.
SkillCFreshness: C★ 17Claude Code +9 - 0.553score
clinicaltrials
LUNARTECH-X
Query ClinicalTrials.gov via API v2.
SkillCFreshness: C★ 17Claude Code +9 - 0.553score
clinvar
LUNARTECH-X
Query NCBI ClinVar for variant clinical significance.
SkillCFreshness: C★ 17Claude Code +9 - 0.553score
bindingdb
LUNARTECH-X
Query BindingDB for measured drug-target binding affinities (Ki, Kd, IC50, EC50).
SkillCFreshness: C★ 17Claude Code +9 - 0.553score
cosmic
LUNARTECH-X
Access COSMIC cancer mutation database.
SkillCFreshness: C★ 17Claude Code +9 - 0.553score
depmap
LUNARTECH-X
Query the Cancer Dependency Map (DepMap) for cancer cell line gene dependency scores (CRISPR Chronos), drug sensitivity data, and gene effect profiles.
SkillCFreshness: C★ 17Claude Code +9
Signals
- Stars
- 17
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- May 15, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0.0
- License
- MIT
- Repository
- github.com/LUNARTECH-X/superpowers
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from LUNARTECH-X
- 0.556score
biorxiv
LUNARTECH-X
Efficient database search tool for bioRxiv preprint server.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
database-lookup
LUNARTECH-X
Search 78 public scientific, biomedical, materials science, and economic databases via REST APIs.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
academic-paper
LUNARTECH-X
12-agent academic paper writing pipeline.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
arxiv
LUNARTECH-X
Search and retrieve preprints from arXiv via the Atom API.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
autoskill
LUNARTECH-X
Observe the user's screen via screenpipe, detect repeated research workflows, match them against existing scientific-agent-skills, and draft new skills (or…
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
datacommons
LUNARTECH-X
Work with Data Commons, a platform providing programmatic access to public statistical data from global sources.
SkillCFreshness: C★ 17Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get clinpgx running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
clinpgx skill. Agent Mart. https://agentmart.dev/skills/lunartech-x-clinpgx (last updated 2026-10-24)