Agent skill

Pharmgkb Clinpgx

by QSong-github in QSong-github/DrugClaw

Query ClinPGx (PharmGKB) and CPIC for pharmacogenomics data.

No licenceAuto-check passed

Install Pharmgkb Clinpgx

skills CLI
$ npx skills add QSong-github/DrugClaw --skill pharmgkb-clinpgx -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install QSong-github/DrugClaw pharmgkb-clinpgx --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/QSong-github/DrugClaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/pharmacogenomics/pharmgkb .claude/skills/pharmgkb-clinpgx && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pharmgkb-clinpgx
GitHub stars
116
Used in
1 other repo
Token cost
~641 tokens
SKILL.md length
242 words
Files
6
Skills in repo
31
Repo updated
First seen
Licence
None found

At a glance

Query ClinPGx (PharmGKB) and CPIC for pharmacogenomics data.

  • The user asks about gene-drug interactions
  • SKILL.md covers API, Usage, Key Fields and Data Sources
  • Runs Python scripts from its folder
  • Pharmacogenomics clinical annotations

What it does

Pharmgkb Clinpgx is an agent skill from QSong-github/DrugClaw. Query ClinPGx (PharmGKB) and CPIC for pharmacogenomics data. Use whenever the user asks about gene-drug interactions, pharmacogenomics clinical annotations, drug-metabolizing enzymes, CPIC guidelines, or variant-level PGx evidence for any gene symbol, drug name, rsID, or ClinPGx accession.

Its SKILL.md is about 640 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files (for example `README.md`, `__init__.py` and `example.py`).

The repository describes itself as: 🦀 Agentic RAG for drug intelligence · 57 skills · 15 task categories · DTI · ADR · DDI · PGx · Repurposing · Powered by LangGraph.

When your agent uses it

  • The user asks about gene-drug interactions
  • Pharmacogenomics clinical annotations
  • Drug-metabolizing enzymes
  • CPIC guidelines

Example prompts

  • “/pharmgkb-clinpgx”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit bc7b93e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • clinpgx.org
    • api.cpicpgx.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pharmgkb Clinpgx loads about 641 tokens when it runs. Until then it costs about 77 tokens; SKILL.md has 242 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~77
When it runs · the whole SKILL.md, loaded when a task matches
~641

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 242 words (~641 tokens).

name
pharmgkb-clinpgx

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files in skills/pharmacogenomics/pharmgkb of QSong-github/DrugClaw.

  • SKILL.md
  • README.md
  • __init__.py
  • example.py
  • pharmgkb_skill.py
  • retrieve.py

Open the folder on GitHubat commit bc7b93e

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in QSong-github/DrugClaw, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Pharmgkb Clinpgx next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pharmgkb Clinpgx compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pharmgkb Clinpgx this skillQSong-github/DrugClaw1161 repos~641Automated safety check: PassNone
Clinpgx Databasedavila7/claude-code-templates32k12 repos~5.2kAutomated safety check: PassMIT
ClinpgxClawBio/ClawBio1.2k3 repos~963Automated safety check: PassMIT
Clinpgx Databaseaipoch/medical-research-skills2k—~3kAutomated safety check: PassMIT
Bio Clinical Databases PharmacogenomicsFreedomIntelligence/OpenClaw-Medical-Skills3.1k—~1.9kAutomated safety check: PassNone
Clinpgx Databasejaechang-hits/SciAgent-Skills3701 repos~7.2kAutomated safety check: PassCC-BY-SA-4.0

Similar skills

  • Clinpgx Database

    davila7/claude-code-templates

    Access ClinPGx pharmacogenomics data (successor to PharmGKB).

    32k GitHub starsUsed in 12 repos~5.2k tokens
    Backend & APIsAuto-check passed
  • Clinpgx

    ClawBio/ClawBio

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

    1.2k GitHub starsUsed in 3 repos~963 tokens
    Backend & APIsAuto-check passed
  • Clinpgx Database

    aipoch/medical-research-skills

    Access ClinPGx pharmacogenomics data (successor to PharmGKB) when you need to query gene-drug interactions, CPIC guidelines, allele functions, and drug-label PGx content for precision medicine and…

    2k GitHub stars~3k tokensUpdated 21 days ago
    Backend & APIsAuto-check passed
  • Bio Clinical Databases Pharmacogenomics

    FreedomIntelligence/OpenClaw-Medical-Skills

    Query PharmGKB and CPIC for drug-gene interactions, pharmacogenomic annotations, and dosing guidelines.

    3.1k GitHub stars~1.9k tokensUpdated 2 mo ago
    Auto-check passed
  • Clinpgx Database

    jaechang-hits/SciAgent-Skills

    Query the ClinPGx (formerly PharmGKB) REST API plus the CPIC PostgREST companion API for pharmacogenomic clinical annotations, CPIC/DPWG dosing guidelines, gene-drug pairs, variant-drug…

    370 GitHub starsUsed in 1 repo~7.2k tokens
    Research & ScienceAuto-check passed
  • Pharmacogenomics

    exon-research/genomi

    Answer drug-response, medication, PharmGKB-style, PGxDB, ATC, DrugBank, gene-drug, and variant-drug questions using public PGx evidence plus local sample genotype support when an Active Genome Index…

    484 GitHub stars~3.1k tokensUpdated 1 mo ago
    Research & ScienceAuto-check passed

More from QSong-github/DrugClaw

All 31 skills in this repo
  • Dailymed Query

    QSong-github/DrugClaw

    Query DailyMed for FDA drug label / package insert information.

    116 GitHub starsUsed in 1 repo~581 tokens
    Auto-check passed
  • Drkg Query

    QSong-github/DrugClaw

    Query the DRKG (Drug Repurposing Knowledge Graph). An agent skill from QSong-github/DrugClaw.

    116 GitHub starsUsed in 1 repo~915 tokens
    Auto-check passed
  • Drugbank Query

    QSong-github/DrugClaw

    Query a locally downloaded DrugBank database. An agent skill from QSong-github/DrugClaw.

    116 GitHub starsUsed in 1 repo~462 tokens
    Auto-check passed
  • Drugcentral Query

    QSong-github/DrugClaw

    Query the DrugCentral drug pharmacology database. An agent skill from QSong-github/DrugClaw.

    116 GitHub starsUsed in 1 repo~710 tokens
    Auto-check passed
  • Drugmechdb Query

    QSong-github/DrugClaw

    Query the DrugMechDB drug mechanism-of-action database. An agent skill from QSong-github/DrugClaw.

    116 GitHub starsUsed in 1 repo~734 tokens
    Auto-check passed
  • Fda Orange Book Query

    QSong-github/DrugClaw

    Query or inspect the FDA Orange Book - FDA-Approved Drug Products Listing resource for drug-centric tasks with emphasis on drug knowledgebase Use whenever Codex needs the calling pattern…

    116 GitHub starsUsed in 1 repo~521 tokens
    Auto-check passed

Questions about Pharmgkb Clinpgx

What does Pharmgkb Clinpgx do?

Query ClinPGx (PharmGKB) and CPIC for pharmacogenomics data. Pharmgkb Clinpgx is an agent skill from QSong-github/DrugClaw. Query ClinPGx (PharmGKB) and CPIC for pharmacogenomics data.

When should I use Pharmgkb Clinpgx?

Pharmgkb Clinpgx fits situations like: the user asks about gene-drug interactions; pharmacogenomics clinical annotations; drug-metabolizing enzymes; CPIC guidelines.

How do I install Pharmgkb Clinpgx in Claude Code?

Run `npx skills add QSong-github/DrugClaw --skill pharmgkb-clinpgx -a claude-code`. Or copy the skill folder (skills/pharmacogenomics/pharmgkb in QSong-github/DrugClaw) into .claude/skills/pharmgkb-clinpgx in your project. Claude Code loads it when a task matches its description.

How do I install Pharmgkb Clinpgx in Codex?

Run `npx skills add QSong-github/DrugClaw --skill pharmgkb-clinpgx -a codex`. Or copy the skill folder (skills/pharmacogenomics/pharmgkb in QSong-github/DrugClaw) into .agents/skills/pharmgkb-clinpgx in your project. Codex loads it when a task matches its description.

Can I use Pharmgkb Clinpgx in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add QSong-github/DrugClaw --skill pharmgkb-clinpgx -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pharmgkb-clinpgx, .gemini/skills/pharmgkb-clinpgx, .github/skills/pharmgkb-clinpgx and .opencode/skills/pharmgkb-clinpgx in your project.

What does Pharmgkb Clinpgx need to run?

Going by SKILL.md and its folder, Pharmgkb Clinpgx needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Pharmgkb Clinpgx access the network?

SKILL.md names 2 domains. As links in the text: clinpgx.org and api.cpicpgx.org. This is read from the text; nothing was executed.

Is Pharmgkb Clinpgx safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Pharmgkb Clinpgx use?

No licence was found for Pharmgkb Clinpgx or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Pharmgkb Clinpgx use?

About 641 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Pharmgkb Clinpgx?

Skills that share tags, products or a category with Pharmgkb Clinpgx: Clinpgx Database (davila7/claude-code-templates, 32k stars), Clinpgx (ClawBio/ClawBio, 1.2k stars), Clinpgx Database (aipoch/medical-research-skills, 2k stars) and Bio Clinical Databases Pharmacogenomics (FreedomIntelligence/OpenClaw-Medical-Skills, 3.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pharmgkb Clinpgx?

QSong-github (a GitHub user) maintains it in QSong-github/DrugClaw, which has 116 GitHub stars. The repository holds 31 skills in this directory. The repository was last updated on August 25, 2026.

Source: QSong-github/DrugClaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.