Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Clinpgx

ASecurity

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

2,984 stars
0 votes
0 copies
0 views
Added 5/30/2026
ai-agentspythonapidatabase

Works with

cliapi

Security Analysis

A100/100

Scanned 5/30/2026

Install to Claude Code

$npx -y skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill clinpgx --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Clinpgx?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Clinpgx
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/freedomintelligence-clinpgx/badge)](https://www.skillsdirectory.com/skills/freedomintelligence-clinpgx)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: clinpgx
description: Query the ClinPGx API for pharmacogenomic gene-drug data, clinical annotations, CPIC guidelines, and FDA drug labels
version: 0.1.0
metadata:
  openclaw:
    requires:
      bins:
        - python3
      env: []
      config: []
    always: false
    emoji: "🧬"
    homepage: https://api.clinpgx.org/
    os: [macos, linux]
    min_python: "3.10"
    install:
      - kind: uv
        package: requests
        bins: []
    system_dependencies: []
---

# 🧬 ClinPGx

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/).

## Core Capabilities

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

## 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?"

## Output Structure

```
output_directory/
ā”œā”€ā”€ report.md                    # Full markdown report
└── tables/
    ā”œā”€ā”€ gene_drug_pairs.csv      # Gene-drug interactions with evidence levels
    ā”œā”€ā”€ clinical_annotations.csv # Curated variant-drug-phenotype annotations
    ā”œā”€ā”€ guidelines.csv           # CPIC/DPWG clinical guidelines
    └── alleles.csv              # Known allele definitions
```

## Dependencies

**Required**:
- `requests` >= 2.28.0 (HTTP client for API access)

**Optional**: None

## Safety

- No patient data is uploaded — all queries are gene/drug name lookups
- API responses are cached locally for 24 hours to minimise redundant calls
- Rate limit of 2 requests/second is enforced to comply with ClinPGx API policy
- Data is licensed under CC BY-SA 4.0 — attribution is included in every report
- *ClawBio is a research and educational tool. It is not a medical device and does not provide clinical diagnoses. Consult a healthcare professional before making any medical decisions.*

## Integration with Bio Orchestrator

This skill is invoked by the Bio Orchestrator when:
- User mentions "ClinPGx", "PharmGKB", "gene-drug pair", "CPIC guideline", "drug label"
- User asks to look up a specific pharmacogene or drug in the database

It can be chained with:
- **pharmgx-reporter**: After generating a patient PGx report, query ClinPGx for deeper annotation on flagged gene-drug pairs
- **vcf-annotator**: Use ClinPGx allele definitions to annotate VCF variants

Attribution

FreedomIntelligenceFreedomIntelligence
View sourceMore from FreedomIntelligence →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.

1023331 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

686011 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3331 votes

catchup

Recovers prior coding-agent session context by running `catchup <agent> --since-compact`, which extracts a clean summary of a previous Codex, Claude Code, Antigravity, OpenCode, or Pi Agent session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", or asks to recover/summarize a previous session before continuing. Do NOT use for the current conversation, git history, or any non-agent log.

611 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →