Check for interactions between multiple medications, including severity classification and mechanism explanations.
53
60%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./scientific-skills/Evidence Insight/drug-interaction-checker/SKILL.mdCheck for interactions between multiple medications, including severity classification and mechanism explanations.
See ## Features above for related details.
scripts/main.py.references/ for task-specific guidance.See ## Prerequisites above for related details.
Python: 3.10+. Repository baseline for current packaged skills.dataclasses: unspecified. Declared in requirements.txt.enum: unspecified. Declared in requirements.txt.See ## Usage above for related details.
cd "20260318/scientific-skills/Evidence Insight/drug-interaction-checker"
python -m py_compile scripts/main.py
python scripts/main.py --helpExample run plan:
CONFIG block or documented parameters if the script uses fixed settings.python scripts/main.py with the validated inputs.See ## Workflow above for related details.
scripts/main.py.references/ contains supporting rules, prompts, or checklists.Use this command to verify that the packaged script entry point can be parsed before deeper execution.
python -m py_compile scripts/main.pyUse these concrete commands for validation. They are intentionally self-contained and avoid placeholder paths.
python -m py_compile scripts/main.py
python scripts/main.py --help| 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 |
python scripts/main.py --drugs "Warfarin" "Aspirin" "Ibuprofen"from scripts.main import check_interactions
result = check_interactions(["Metformin", "Simvastatin", "Amlodipine"])| 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 |
{
"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
}
}This skill uses a curated drug interaction database stored in references/interactions_db.json. The database includes:
High - Requires extensive pharmacological knowledge database, accurate severity classification, and clear mechanism explanations.
See references/ directory for:
interactions_db.json - Drug interaction databaseseverity_criteria.md - Classification criteriacyp450_substrates.json - Metabolic pathway data| 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 |
# Python dependencies
pip install -r requirements.txtEvery final response should make these items explicit when they are relevant:
scripts/main.py fails, report the failure point, summarize what still can be completed safely, and provide a manual fallback.This skill accepts requests that match the documented purpose of drug-interaction-checker and include enough context to complete the workflow safely.
Do not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:
drug-interaction-checkeronly handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.
Use the following fixed structure for non-trivial requests:
If the request is simple, you may compress the structure, but still keep assumptions and limits explicit when they affect correctness.
63c61d3
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.