drug-interaction-checker
Check for drug-drug interactions between multiple medications. Trigger when user asks about medication compatibility, "can I take X with Y", drug interactions, contraindications, or safety of combining pharmaceuticals.
Best use case
drug-interaction-checker is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Check for drug-drug interactions between multiple medications. Trigger when user asks about medication compatibility, "can I take X with Y", drug interactions, contraindications, or safety of combining pharmaceuticals.
Teams using drug-interaction-checker should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/drug-interaction-checker/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How drug-interaction-checker Compares
| Feature / Agent | drug-interaction-checker | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Check for drug-drug interactions between multiple medications. Trigger when user asks about medication compatibility, "can I take X with Y", drug interactions, contraindications, or safety of combining pharmaceuticals.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
AI Agents for Startups
Explore AI agent skills for startup validation, product research, growth experiments, documentation, and fast execution with small teams.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
SKILL.md Source
# Drug Interaction Checker
Check for interactions between multiple medications, including severity classification and mechanism explanations.
## Features
- **Multi-drug analysis**: Check interactions between 2+ medications simultaneously
- **Severity classification**: Critical / Major / Moderate / Minor / Unknown
- **Mechanism explanation**: Pharmacological basis for each interaction
- **Clinical guidance**: Recommendations for management
## Severity Levels
| Level | Description | Action Required |
|-------|-------------|-----------------|
| **Critical** | Life-threatening interaction | Absolute contraindication |
| **Major** | Significant risk, may need medical intervention | Avoid combination or monitor closely |
| **Moderate** | Moderate risk, may require dose adjustment | Monitor for adverse effects |
| **Minor** | Mild interaction, unlikely to cause issues | Be aware, usually acceptable |
| **Unknown** | Insufficient data | Proceed with caution |
## Usage
### Python Script
```bash
python scripts/main.py --drugs "Warfarin" "Aspirin" "Ibuprofen"
```
### As a Module
```python
from scripts.main import check_interactions
result = check_interactions(["Metformin", "Simvastatin", "Amlodipine"])
```
## Parameters
| Parameter | Type | Default | Required | Description |
|-----------|------|---------|----------|-------------|
| `--drugs` | list | - | Yes | List of drug names (generic or brand names accepted) |
| `--format` | string | text | No | Output format (text, json, markdown) |
| `--include-mechanism` | flag | true | No | Include pharmacological mechanism |
| `--include-management` | flag | true | No | Include clinical recommendations |
| `--output`, `-o` | string | - | No | Output file path |
## Output Format
```json
{
"drugs_checked": ["Drug A", "Drug B"],
"interactions": [
{
"drug_pair": ["Drug A", "Drug B"],
"severity": "Major",
"mechanism": "Pharmacodynamic synergism...",
"effect": "Increased bleeding risk",
"recommendation": "Avoid combination or monitor INR closely"
}
],
"summary": {
"critical": 0,
"major": 1,
"moderate": 0,
"minor": 0
}
}
```
## Data Sources
This skill uses a curated drug interaction database stored in `references/interactions_db.json`. The database includes:
- FDA-approved drug interaction data
- Known metabolic pathways (CYP450 enzymes)
- Pharmacodynamic interactions
- Common supplement interactions
## Limitations
- Database may not include all possible drug combinations
- Always consult healthcare professionals for medical decisions
- Does not account for patient-specific factors (age, renal function, etc.)
- Not a substitute for professional medical advice
## Technical Difficulty
**High** - Requires extensive pharmacological knowledge database, accurate severity classification, and clear mechanism explanations.
## References
See `references/` directory for:
- `interactions_db.json` - Drug interaction database
- `severity_criteria.md` - Classification criteria
- `cyp450_substrates.json` - Metabolic pathway data
## Risk Assessment
| Risk Indicator | Assessment | Level |
|----------------|------------|-------|
| Code Execution | Python/R scripts executed locally | Medium |
| Network Access | No external API calls | Low |
| File System Access | Read input files, write output files | Medium |
| Instruction Tampering | Standard prompt guidelines | Low |
| Data Exposure | Output files saved to workspace | Low |
## Security Checklist
- [ ] No hardcoded credentials or API keys
- [ ] No unauthorized file system access (../)
- [ ] Output does not expose sensitive information
- [ ] Prompt injection protections in place
- [ ] Input file paths validated (no ../ traversal)
- [ ] Output directory restricted to workspace
- [ ] Script execution in sandboxed environment
- [ ] Error messages sanitized (no stack traces exposed)
- [ ] Dependencies audited
## Prerequisites
```bash
# Python dependencies
pip install -r requirements.txt
```
## Evaluation Criteria
### Success Metrics
- [ ] Successfully executes main functionality
- [ ] Output meets quality standards
- [ ] Handles edge cases gracefully
- [ ] Performance is acceptable
### Test Cases
1. **Basic Functionality**: Standard input → Expected output
2. **Edge Case**: Invalid input → Graceful error handling
3. **Performance**: Large dataset → Acceptable processing time
## Lifecycle Status
- **Current Stage**: Draft
- **Next Review Date**: 2026-03-06
- **Known Issues**: None
- **Planned Improvements**:
- Performance optimization
- Additional feature supportRelated Skills
time-checker
Check accurate current time, date, and timezone information for any location worldwide using time.is. Use when the user asks "what time is it in X", "current time in Y", or needs to verify timezone offsets.
hna-666-flight-checker
查询海南航空 666Plus 权益可往返航班,自动遍历指定目的地
SKILL: stock-checker
## Description
minimax-plan-checker
获取 MiniMax 平台的套餐信息,包括套餐名称、额度、当前使用情况。当用户询问 MiniMax 套餐、额度使用情况、API 调用量、计费信息时使用此技能。
drugflow-skills
Multi-flow API workflow skill for this DrugFlow Django repository. Use when an agent needs executable end-to-end API procedures such as login/register, workspace and balance retrieval, job listing, virtual screening, docking, ADMET, rescoring, structure extraction, and molecular factory.
vibe-coding-checker
描述一个功能或项目,AI 快速评估用 Cursor/Windsurf/Bolt 等 AI 编程工具能否独立实现, 给出可行性判断、推荐工具、拆解路径和风险提示。
gold-price-checker
国内金价查询工具。用于查询黄金实时价格、银行金条价格、金店零售价、国际金价和黄金未来趋势分析。当用户询问金价、黄金价格、今日金价、金店价格、银行金条、国际金价、伦敦金、黄金走势或未来趋势时触发此技能。
weather-checker
Get current weather information for any city
hollow-validation-checker
Helps detect hollow validation in AI agent skills — identifies fake tests that always pass without actually verifying behavior, like validation commands that just run echo 'ok' or console.log('passed').
grammar-checker-ama
Grammar checking tool for AMA style medical writing
figure-reference-checker
Check figure references in manuscripts
drug-pronunciation
Provides correct pronunciation guides for complex drug generic names. Generates phonetic transcriptions using IPA and audio generation markers for medical terminology.