drug-drug-interaction-analysis

drug-drug-interaction-analysis is a skill for Claude Code, Codex from PharMolix/OpenBioMed. It costs 78 tokens per session (1,201 once invoked), scanned A, original, MIT.

A medication-safety analysis for checking possible interactions among up to five drugs using the KEGG Drug Interaction database. A drug interaction is a change in one medicine's effect caused by another medicine.

In plain words
What is it for?
Use it to look up medicines, assess their possible interactions, understand interaction mechanisms and severity, and support clinical review. It is not a substitute for advice from a qualified clinician.
Why use it?
It can reveal potential risks in combinations of medicines and explain possible mechanisms, including shared targets or CYP enzymes, which help process many drugs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to look up medicines, assess their possible interactions, understand interaction mechanisms and severity, and support clinical review. It is not a substitute for advice from a qualified clinician.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pharmolix/openbiomed/drug-drug-interaction-analysis
About the project

OpenBioMed is an agent platform and toolkit collection for biomedical research and drug discovery, covering areas such as molecular design, protein analysis, and single-cell data analysis. It is intended for researchers and provides the biomedical skills listed in the catalogue as workflows for Claude Code.

PharMolix/OpenBioMed · 1,105 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PharMolix/OpenBioMed --skill drug-drug-interaction-analysis
Clone the repo
git clone --depth 1 https://github.com/PharMolix/OpenBioMed

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for drug-drug-interaction-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/pharmolix/openbiomed/drug-drug-interaction-analysis/github.svg)](https://agentmods.dev/skills/pharmolix/openbiomed/drug-drug-interaction-analysis)
Your own site
<a href="https://agentmods.dev/skills/pharmolix/openbiomed/drug-drug-interaction-analysis"><img src="https://agentmods.dev/badge/skills/pharmolix/openbiomed/drug-drug-interaction-analysis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for drug-drug-interaction-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/pharmolix/openbiomed/drug-drug-interaction-analysis"><img src="https://agentmods.dev/badge/skills/pharmolix/openbiomed/drug-drug-interaction-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,201 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00078 $0.01201
Opus 5 $0.00039 $0.00600
Sonnet 5 $0.00016 $0.00240
Haiku 4.5 $0.00008 $0.00120

Measured 13d ago against content hash d7712d232c41, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

drug-drug-interaction-analysis scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (examples/basic_example.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

response = requests.get(f"{KEGG_API}/find/drug/{drug_name}")
skills/drug-drug-interaction-analysis/SKILL.md · 158 lines

How it starts

The opening of the file, as written. The whole thing — 158 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Drug-Drug Interaction Analysis

Analyze potential drug-drug interactions (DDI) for medication safety assessment.

When to Use

  • Checking interactions between prescribed medications
  • Evaluating DDI risk for polypharmacy patients
  • Understanding interaction mechanisms (CYP enzymes, shared targets)
  • Clinical decision support for drug combinations

Workflow

Step 1: Resolve Drug Names to KEGG IDs

import requests

KEGG_API = "https://rest.kegg.jp"

def find_drug_id(drug_name: str) -> str:
    """Find KEGG drug ID from drug name."""
    response = requests.get(f"{KEGG_API}/find/drug/{drug_name}")
    if response.ok and response.text.strip():
        # Parse first result: "dr:D00109\tAspirin..."
        line = response.text.strip().split('\n')[0]
        return line.split('\t')[0]  # Returns "dr:D00109"
    return None

Step 2: Query KEGG DDI API

def get_ddi(drug_ids: list) -> list:
    """Query KEGG DDI for multiple drugs."""
    ids = "+".join(drug_ids)
    response = requests.get(f"{KEGG_API}/ddi/{ids}")
    interactions = []
    for line in response.text.strip().split('\n'):
        if line:
            parts = line.split('\t')
            interactions.append({
                "drug_a": parts[0],
                "drug_b": parts[1],
                "severity": parts[2],
                "mechanism": parts[3] if len(parts) > 3 else ""
            })
    return interactions

Step 3: Get Detailed Drug Information

def get_drug_info(drug_id: str) -> dict:
    """Get detailed drug information from KEGG."""
    response = requests.get(f"{KEGG_API}/get/{drug_id}")
    info = {"id": drug_id, "targets": [], "enzymes": []}
    for line in response.text.split('\n'):
        if line.startswith("NAME"):
            info["name"] = line.split(maxsplit=1)[1].strip()
        elif line.startswith("TARGET"):
            info["targets"].append(line.split(maxsplit=1)[1])
        elif line.startswith("METABOLISM"):
            info["enzymes"].append(line.split(maxsplit=1)[1])
    return info

Read the full file on GitHub · 158 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 158 lines · 78 tokens per session scan A d7712d232c41

Subscribe to this mod's changes

drug-drug-interaction-analysis is a skill published in the GitHub repository PharMolix/OpenBioMed (1,105 stars, last pushed 1mo ago), licensed MIT. It adds 78 tokens to every session and 1,201 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.