K-Dense-AI/scientific-agent-skills / skills/database-lookup
database-lookup
VerifiedQueries documented public database APIs with explicit endpoints, filters, pagination, and provenance. Used when a scientific, regulatory, financial, or other database-backed fact must be retrieved reproducibly from a named source rather than inferred from general knowledge.
references/clinpgx.md
View on GitHub# ClinPGx (PharmGKB) API
Base: `https://api.clinpgx.org/v1`. Public read access, JSON, at most **2 requests/second**.
The old `api.pharmgkb.org` hostname was shut down July 20, 2026.
See the [service notice](https://api.clinpgx.org/) and
[current OpenAPI schema](https://api.clinpgx.org/openapi.json).
| GET path | Purpose |
|---|---|
| `/data/gene?symbol=CYP2D6` | Resolve gene to PA accession |
| `/data/chemical?name=warfarin` | Resolve drug/chemical |
| `/data/summaryAnnotation?location.genes.symbol=CYP2C19&relatedChemicals.name=clopidogrel&levelOfEvidence.term=1A` | Clinical summary annotations |
| `/data/guidelineAnnotation?source=CPIC&relatedGenes.accessionId={PA_ID}` | Prescribing guideline annotations |
| `/data/pathway?name={name}` | Pathways by name |
| `/data/label?relatedChemicals.name=warfarin&source=FDA` | Drug-label annotations |
Each resource also supports `/{id}` lookup. `view` controls returned detail;
use the enum for that resource in the schema. Inspect the JSON envelope and
`data` field; these endpoints do not share a documented `page`/`size` search API.
Do not substitute invented `/drug`, `/clinicalAnnotation`, `/guideline`,
`/drugLabel` or general `/search` routes.
Resolve PA identifiers before joining resources. Keep annotation evidence level,
gene, allele/diplotype, phenotype, population and guideline source/version.
A pharmacogenomic association alone is not an individualized dosing recommendation.
Bulk exports and reuse are governed by ClinPGx's data-use policy (CC BY-SA 4.0).
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |