Skip to main content
skill CX Codex GP ChatGPT official · OpenAI

pharmgkb-skill — Codex skill: what it does, how to install

Submits compact requests to the PharmGKB API and returns brief summaries for genes, variants, and drug dosing.

Install into Codex · Skills CLI (Vercel) All methods and platforms ↓
npx skills add openai/plugins --skill pharmgkb-skill -a codex
Open on GitHub

What pharmgkb-skill does

This skill queries the PharmGKB API using the bundled scripts/rest_request.py script. It accepts a JSON payload from standard input with a base URL and an endpoint path, then formats the output into markdown summaries.

It works with endpoints for genes, variants, clinical annotations, and dosing guidelines. List and search queries use max_items=10 to keep model context small. When complete server responses are required, setting save_raw=true writes the raw payload to disk and returns the file path.

You need Python installed alongside the local script. Install this if you frequently look up pharmacogenomics data inside your coding assistant; skip it if you only make occasional lookups in a browser.

What it helps with

  • Fetch details for a gene or variant by accession identifier
  • Retrieve clinical annotations for linked chemicals
  • Query pharmacogenomic dosing guidelines
  • Save raw PharmGKB API payloads directly to disk

Example prompts for the agent

  • Look up clinical annotations for chemical PA449726 in PharmGKB
  • Fetch gene data for PA36679 using pharmgkb-skill
  • Get dosing guidelines for variant PA166158545 and save the raw response

How to install pharmgkb-skill

1Skills CLI (Vercel)

npx skills add openai/plugins --skill pharmgkb-skill -a codex

2Manually: put the files in place

.agents/skills/pharmgkb-skill/SKILL.md

For all projects use ~/.agents/skills/

From the same set201

The whole set →
supabase official supabase Guides the agent through database configuration and strict RLS policies in Supabase. CX Codex GP ChatGPT 8installs remotion-render official Remotion Exports videos and static stills from Remotion projects using CLI commands. CX Codex GP ChatGPT 3installs figma-create-new-file official Figma Creates blank Figma, FigJam, or Slides files inside draft folders. It resolves planKey and editor types before invoking Figma MCP tools. CX Codex GP ChatGPT 6installs swiftui-performance-audit official OpenAI Pinpoints SwiftUI runtime issues like frame drops, unresponsive taps, and excessive view body computations. Works code-first and guides Instruments profiling. CX Codex GP ChatGPT 109installs swiftui-liquid-glass official OpenAI This skill helps build and review SwiftUI Liquid Glass interfaces for iOS 26+. Use it when adopting the API or checking fallbacks, interaction, and design fit. CX Codex GP ChatGPT 121installs swiftui-ui-patterns official OpenAI This skill helps build and refactor SwiftUI interfaces, from navigation and state to layouts and controls. Use it for new screens or changes to an existing project. CX Codex GP ChatGPT 114installs swiftui-view-refactor official OpenAI Refactors SwiftUI view files into clean, testable structures with dedicated subview types and proper Observation ownership. CX Codex GP ChatGPT 113installs ios-memgraph-leaks official OpenAI Captures and inspects iOS leaks from a simulator process or .memgraph. Useful for tracing retained objects and checking a fix with before-and-after evidence. CX Codex GP ChatGPT 1,054installs

Similar

Questions about pharmgkb-skill

How to install pharmgkb-skill in Codex?

Run npx skills add openai/plugins --skill pharmgkb-skill -a codex.

What does pharmgkb-skill do?

It queries the PharmGKB REST API via a Python script and outputs compact summaries for genes, variants, and drug guidelines.

What are the runtime requirements for this skill?

It requires a local Python environment and the scripts/rest_request.py script provided with the package.

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor