skills/43-wentorai-research-plugins/skills/domains/pharma/madd-drug-discovery-guide/SKILL.md
Multi-agent system for automated drug discovery pipelines
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research madd-drug-discovery-guideInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
MADD (Multi-Agent Drug Discovery) is a multi-agent system that automates key stages of the drug discovery pipeline — target identification, molecule generation, property prediction (ADMET), docking simulation, and lead optimization. Specialized agents collaborate to propose, evaluate, and refine drug candidates, reducing the manual effort in early-stage drug discovery research.
Target Protein
↓
Target Analysis Agent (binding site, druggability)
↓
Molecule Generation Agent (de novo design)
↓
Property Prediction Agent (ADMET screening)
↓
Docking Agent (binding affinity estimation)
↓
Optimization Agent (lead optimization cycle)
↓
Report Agent (candidate ranking + rationale)
from madd import DrugDiscoveryPipeline
pipeline = DrugDiscoveryPipeline(
llm_provider="anthropic",
tools=["rdkit", "autodock_vina", "admet_predictor"],
)
# Run discovery pipeline
results = pipeline.discover(
target_protein="6LU7", # PDB ID (SARS-CoV-2 Mpro)
target_site="active_site",
constraints={
"molecular_weight": (200, 500), # Lipinski
"logP": (-0.4, 5.6),
"hbd": (0, 5),
"hba": (0, 10),
"tpsa": (0, 140),
},
num_candidates=100,
optimization_rounds=3,
)
# Top candidates
for i, mol in enumerate(results.top_candidates[:5]):
print(f"\nCandidate {i+1}: {mol.smiles}")
print(f" Docking score: {mol.docking_score:.2f} kcal/mol")
print(f" QED: {mol.qed:.3f}")
print(f" Synthetic accessibility: {mol.sa_score:.2f}")
print(f" ADMET: {mol.admet_summary}")
from madd.agents import ADMETAgent
admet = ADMETAgent()
# Predict ADMET properties for a molecule
props = admet.predict("CC(=O)Oc1ccccc1C(=O)O") # Aspirin
print(f"Absorption: {props.absorption}")
print(f"Distribution: {props.distribution}")
print(f"Metabolism: {props.metabolism}")
print(f"Excretion: {props.excretion}")
print(f"Toxicity: {props.toxicity}")
print(f"BBB penetration: {props.bbb_penetration}")
print(f"CYP inhibition: {props.cyp_inhibition}")
print(f"hERG liability: {props.herg_risk}")
from madd.agents import MolGenAgent
gen = MolGenAgent(method="reinforcement_learning")
# Generate molecules targeting a binding site
molecules = gen.generate(
target_pdb="6LU7",
binding_site="active_site",
num_molecules=500,
diversity_threshold=0.5, # Tanimoto diversity
constraints={
"drug_likeness": True, # Lipinski + Veber
"novelty": True, # Not in ChEMBL
},
)
print(f"Generated: {len(molecules)}")
print(f"Drug-like: {sum(1 for m in molecules if m.is_drug_like)}")
print(f"Novel: {sum(1 for m in molecules if m.is_novel)}")
from madd.agents import OptimizationAgent
optimizer = OptimizationAgent()
# Optimize a lead compound
optimized = optimizer.optimize(
lead_smiles="c1ccc(-c2ncc(F)c(N)n2)cc1",
objectives=[
("docking_score", "minimize"),
("qed", "maximize"),
("sa_score", "minimize"),
("solubility", "maximize"),
],
num_iterations=50,
keep_scaffold=True, # Maintain core structure
)
for mol in optimized.pareto_front[:5]:
print(f"SMILES: {mol.smiles}")
print(f" Docking: {mol.docking_score:.2f}")
print(f" QED: {mol.qed:.3f}")
development
Conduct rigorous thematic analysis (TA) of qualitative data following Braun and Clarke's (2006) six-phase framework. Use whenever the user mentions 'thematic analysis', 'TA', 'Braun and Clarke', 'qualitative coding', 'identifying themes', or asks for help analysing interviews, focus groups, open-ended survey responses, or transcripts to identify patterns. Also trigger for questions about inductive vs theoretical coding, semantic vs latent themes, essentialist vs constructionist epistemology, building a thematic map, or writing up a qualitative findings section. Covers all six phases, the four upfront analytic decisions, the 15-point quality checklist, and the five common pitfalls. Produces a Word document write-up and an annotated thematic map. Does NOT cover IPA, grounded theory, discourse analysis, conversation analysis, or narrative analysis — use a different method for those.
development
Guide users through writing a systematic literature review (SLR) following the PRISMA 2020 framework. Use this skill whenever the user mentions 'systematic review', 'systematic literature review', 'SLR', 'PRISMA', 'PRISMA 2020', 'PRISMA flow diagram', 'PRISMA checklist', or asks for help writing, structuring, or auditing a literature review that follows reporting guidelines. Also trigger when the user asks about inclusion/exclusion criteria for a review, search strategies for databases like Scopus/WoS/PubMed, study selection processes, risk of bias assessment, or narrative synthesis for a review paper. This skill covers the full PRISMA 2020 checklist (27 items), produces a Word document manuscript in strict journal article format, generates an annotated PRISMA flow diagram, and enforces APA 7th Edition referencing throughout. It does NOT cover meta-analysis or statistical pooling. By Chuah Kee Man.
testing
Performs placebo-in-time sensitivity analysis with hierarchical null model and optional Bayesian assurance. Use when checking model robustness, verifying lack of pre-intervention effects, or estimating study power.
data-ai
Fit, summarize, plot, and interpret a chosen CausalPy experiment. Use after the causal method has been selected, including when configuring PyMC/sklearn models and scale-aware custom priors.