ST

structural_pharmacogenomics

Connects protein structural changes to pharmacogenomic data and drug binding.

Install

mkdir -p .claude/skills/structural-pharmacogenomics && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11959" && unzip -o skill.zip -d .claude/skills/structural-pharmacogenomics && rm skill.zip

Installs to .claude/skills/structural-pharmacogenomics

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Structural Pharmacogenomics - Link structure to pharmacogenomics: variant effect, protein structure change, drug binding, and clinical data. Use this skill for pharmacogenomics tasks involving get vep hgvs pred protein structure esmfold boltz binding affinity get pharmacogenomics info by drug name. Combines 4 tools from 3 SCP server(s).
338 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Advanced

Key capabilities

  • Predict variant effect using `get_vep_hgvs`
  • Predict mutant protein structure with `pred_protein_structure_esmfold`
  • Compare binding affinity using `boltz_binding_affinity`
  • Retrieve pharmacogenomics data via `get_pharmacogenomics_info_by_drug_name`
  • Link genetic variants to protein structural changes and drug binding

How it works

The skill executes a sequence of four tools from different servers to predict variant effects, protein structure, binding affinity, and retrieve pharmacogenomics information.

Inputs & outputs

You give it
A JSON object containing 'variant', 'sequence', and 'drug' information (e.g., '{"variant": "ENSP00000227163.5:p.Pro227Ser", "sequence": "MKTIIALSYIFCLVFA", "dru
You get back
Results from predicting variant effect, mutant structure, binding affinity comparison, and pharmacogenomics data

When to use structural_pharmacogenomics

  • Predict variant protein impact
  • Check drug binding affinity
  • Analyze pharmacogenomic data

About this skill

Structural Pharmacogenomics

Discipline: Pharmacogenomics | Tools Used: 4 | Servers: 3

Description

Link structure to pharmacogenomics: variant effect, protein structure change, drug binding, and clinical data.

Tools Used

  • get_vep_hgvs from ensembl-server (streamable-http) - https://scp.intern-ai.org.cn/api/v1/mcp/12/Origene-Ensembl
  • pred_protein_structure_esmfold from server-3 (streamable-http) - https://scp.intern-ai.org.cn/api/v1/mcp/3/DrugSDA-Model
  • boltz_binding_affinity from server-3 (streamable-http) - https://scp.intern-ai.org.cn/api/v1/mcp/3/DrugSDA-Model
  • get_pharmacogenomics_info_by_drug_name from fda-drug-server (streamable-http) - https://scp.intern-ai.org.cn/api/v1/mcp/14/Origene-FDADrug

Workflow

  1. Predict variant effect
  2. Predict mutant structure
  3. Compare binding affinity
  4. Get pharmacogenomics data

Test Case

Input

{
    "variant": "ENSP00000227163.5:p.Pro227Ser",
    "sequence": "MKTIIALSYIFCLVFA",
    "drug": "warfarin"
}

Expected Steps

  1. Predict variant effect
  2. Predict mutant structure
  3. Compare binding affinity
  4. Get pharmacogenomics data

Usage Example

Note: Replace sk-b04409a1-b32b-4511-9aeb-22980abdc05c with your own SCP Hub API Key. You can obtain one from the SCP Platform.

import asyncio
import json
from contextlib import AsyncExitStack
from mcp import ClientSession
from mcp.client.streamable_http import streamablehttp_client
from mcp.client.sse import sse_client

SERVERS = {
    "ensembl-server": "https://scp.intern-ai.org.cn/api/v1/mcp/12/Origene-Ensembl",
    "server-3": "https://scp.intern-ai.org.cn/api/v1/mcp/3/DrugSDA-Model",
    "fda-drug-server": "https://scp.intern-ai.org.cn/api/v1/mcp/14/Origene-FDADrug"
}

async def connect(url, stack):
    transport = streamablehttp_client(url=url, headers={"SCP-HUB-API-KEY": "sk-b04409a1-b32b-4511-9aeb-22980abdc05c"})
    read, write, _ = await stack.enter_async_context(transport)
    ctx = ClientSession(read, write)
    session = await stack.enter_async_context(ctx)
    await session.initialize()
    return session

def parse(result):
    try:
        if hasattr(result, 'content') and result.content:
            c = result.content[0]
            if hasattr(c, 'text'):
                try: return json.loads(c.text)
                except: return c.text
        return str(result)
    except: return str(result)

async def main():
    async with AsyncExitStack() as stack:
        # Connect to required servers
        sessions = {}
        sessions["ensembl-server"] = await connect("https://scp.intern-ai.org.cn/api/v1/mcp/12/Origene-Ensembl", stack)
        sessions["server-3"] = await connect("https://scp.intern-ai.org.cn/api/v1/mcp/3/DrugSDA-Model", stack)
        sessions["fda-drug-server"] = await connect("https://scp.intern-ai.org.cn/api/v1/mcp/14/Origene-FDADrug", stack)

        # Execute workflow steps
        # Step 1: Predict variant effect
        result_1 = await sessions["ensembl-server"].call_tool("get_vep_hgvs", arguments={})
        data_1 = parse(result_1)
        print(f"Step 1 result: {json.dumps(data_1, indent=2, ensure_ascii=False)[:500]}")

        # Step 2: Predict mutant structure
        result_2 = await sessions["server-3"].call_tool("pred_protein_structure_esmfold", arguments={})
        data_2 = parse(result_2)
        print(f"Step 2 result: {json.dumps(data_2, indent=2, ensure_ascii=False)[:500]}")

        # Step 3: Compare binding affinity
        result_3 = await sessions["server-3"].call_tool("boltz_binding_affinity", arguments={})
        data_3 = parse(result_3)
        print(f"Step 3 result: {json.dumps(data_3, indent=2, ensure_ascii=False)[:500]}")

        # Step 4: Get pharmacogenomics data
        result_4 = await sessions["fda-drug-server"].call_tool("get_pharmacogenomics_info_by_drug_name", arguments={})
        data_4 = parse(result_4)
        print(f"Step 4 result: {json.dumps(data_4, indent=2, ensure_ascii=False)[:500]}")

        # Cleanup
        print("Workflow complete!")

if __name__ == "__main__":
    asyncio.run(main())

When not to use it

  • When the SCP Hub API Key is not available or invalid
  • When only a single step of the workflow is needed without the full integration
  • When the input variant, sequence, or drug information is incomplete

Limitations

  • It requires an SCP Hub API Key for server connections.
  • The workflow is predefined as a sequence of four specific steps.
  • It relies on external servers for tool execution.

How it compares

This skill integrates multiple specialized tools across different servers to provide a complete structural pharmacogenomics analysis, unlike using individual tools in isolation.

Compared to similar skills

structural_pharmacogenomics side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
structural_pharmacogenomics (this skill)04moNo flagsAdvanced
llm-evaluation62moNo flagsAdvanced
evaluating-llms-harness37moReviewAdvanced
qutip47moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

llm-evaluation

wshobson

Implement comprehensive evaluation strategies for LLM applications using automated metrics, human feedback, and benchmarking. Use when testing LLM performance, measuring AI application quality, or establishing evaluation frameworks.

671

evaluating-llms-harness

davila7

Evaluates LLMs across 60+ academic benchmarks (MMLU, HumanEval, GSM8K, TruthfulQA, HellaSwag). Use when benchmarking model quality, comparing models, reporting academic results, or tracking training progress. Industry standard used by EleutherAI, HuggingFace, and major labs. Supports HuggingFace, vLLM, APIs.

337

qutip

davila7

Quantum mechanics simulations and analysis using QuTiP (Quantum Toolbox in Python). Use when working with quantum systems including: (1) quantum states (kets, bras, density matrices), (2) quantum operators and gates, (3) time evolution and dynamics (Schrödinger, master equations, Monte Carlo), (4) open quantum systems with dissipation, (5) quantum measurements and entanglement, (6) visualization (Bloch sphere, Wigner functions), (7) steady states and correlation functions, or (8) advanced methods (Floquet theory, HEOM, stochastic solvers). Handles both closed and open quantum systems across various domains including quantum optics, quantum computing, and condensed matter physics.

428

torchdrug

davila7

Graph-based drug discovery toolkit. Molecular property prediction (ADMET), protein modeling, knowledge graph reasoning, molecular generation, retrosynthesis, GNNs (GIN, GAT, SchNet), 40+ datasets, for PyTorch-based ML on molecules, proteins, and biomedical graphs.

326

string-database

davila7

Query STRING API for protein-protein interactions (59M proteins, 20B interactions). Network analysis, GO/KEGG enrichment, interaction discovery, 5000+ species, for systems biology.

217

transformer-lens-interpretability

davila7

Provides guidance for mechanistic interpretability research using TransformerLens to inspect and manipulate transformer internals via HookPoints and activation caching. Use when reverse-engineering model algorithms, studying attention patterns, or performing activation patching experiments.

215

Search skills

Search the agent skills registry