AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Clinpgx

skill-clawbio-clawbio-clinpgx · by ClawBio

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

— No reviews yet
0 installs
32 views
0.0% view→install

Install

$ agentstack add skill-clawbio-clawbio-clinpgx

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • ✓ Prompt-injection patterns
  • ✓ Secret / credential exfiltration
  • ✓ Dangerous shell & filesystem operations
  • ✓ Untrusted network calls
  • ✓ Known-malicious package signatures

What it can access

  • ✓ Network access No
  • ✓ Filesystem access No
  • ✓ Shell / process execution No
  • ✓ Environment & secrets No
  • ✓ Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-clawbio-clawbio-clinpgx)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
● 2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Clinpgx? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

🧬 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

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.