agentleFS
PharMolixPharMolix/OpenBioMed/skills/drug-lead-analysis/SKILL.md

drug-lead-analysis

Skill1.1k starsChanged 8 months agoMITView on GitHub

Analyze drug candidate molecules for drug-likeness, ADMET properties, and safety profiles. Use this skill when: (1) Evaluating a molecule's potential as a drug candidate, (2) Checking drug-likeness scores (QED, Lipinski), (3) Predicting blood-brain barrier penetration, (4) Assessing side effects and ADMET properties, (5) Comparing multiple molecules for lead optimization.

Trending

Quiet this year.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the PharMolix/OpenBioMed repository that our weekly crawl found: only 1 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about PharMolix/OpenBioMed

The biggest 1 of 1 mention linking to the repository that our crawl found. Each line is their own headline.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run all drug-likeness metrics:

    line 57
  2. Distinctive:

    Use the property prediction models:

    line 81
  3. Distinctive:

    If molecule name is not found in PubChem, ask user for SMILES or SDF file

    line 173
  4. Distinctive:

    If property prediction fails, still provide drug-likeness scores

    line 174
  5. Distinctive:

    Always explain what each metric means in context

    line 175

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Drug Lead Analysis

This skill guides you through a comprehensive analysis of drug candidate molecules using OpenBioMed's molecular analysis tools.

When to Use This Skill

  • User asks to analyze a molecule for drug potential
  • User provides a molecule name or SMILES and wants an evaluation
  • User asks about drug-likeness, ADMET, BBB penetration, or side effects
  • User wants to compare multiple molecules for lead optimization

Analysis Workflow

Step 1: Get the Molecule

First, obtain the molecule object:

If user provides a molecule name (e.g., "aspirin", "ibuprofen"):

from open_biomed.tools import TOOLS

tool = TOOLS["molecule_name_request"]
result, message = tool.run(name="aspirin")
molecule = result["molecule"]
print(message)  # Shows retrieved info

If user provides a SMILES string:

from open_biomed.data import Molecule

molecule = Molecule.from_smiles("CC(=O)OC1=CC=CC=C1C(=O)O")

If user provides a SDF file:

molecule = Molecule.from_sdf_file("path/to/molecule.sdf")

Step 2: Calculate Drug-likeness Scores

Run all drug-likeness metrics:

from open_biomed.tools import TOOLS

# QED (Quantitative Estimate of Drug-likeness) - 0 to 1, higher is better
qed_tool = TOOLS["molecule_qed"]
qed_result, qed_msg = qed_tool.run(molecule=molecule)

# SA (Synthetic Accessibility) - 1 to 10, lower is easier to synthesize
sa_tool = TOOLS["molecule_sa"]
sa_result, sa_msg = sa_tool.run(molecule=molecule)

# LogP (lipophilicity) - ideally between -0.4 and 5.6
logp_tool = TOOLS["molecule_logp"]
logp_result, logp_msg = logp_tool.run(molecule=molecule)

# Lipinski's Rule of Five - count violations (0 is ideal)
lipinski_tool = TOOLS["molecule_lipinski"]
lipinski_result, lipinski_msg = lipinski_tool.run(molecule=molecule)

Step 3: Predict ADMET Properties

Use the property prediction models:

# Blood-brain barrier penetration (binary: penetrates or not)
prop_tool = TOOLS["molecule_property_prediction"]
bbb_result, bbb_msg = prop_tool.run(
    molecule=molecule,
    dataset="bbbp",
    model="graphmvp"
)

# Side effects prediction (27 categories from SIDER dataset)
sidefx_result, sidefx_msg = prop_tool.run(
    molecule=molecule,
    dataset="sider",
    model="graphmvp"
)

Step 4: Visualize the Molecule

viz_tool = TOOLS["visualize_molecule"]
viz_result, viz_msg = viz_tool.run(
    molecule=molecule,
    style="ball_stick",  # Options: "ball_stick", "stick", "line", "sphere"
    show_hydrogen=False
)

Step 5: Summarize Findings

Present a structured report:

## Drug Lead Analysis Report: [Molecule Name]

### Drug-likeness Scores
| Metric | Value | Assessment |
|--------|-------|------------|
| QED | X.XX | [Good/Moderate/Poor] |
| SA Score | X.X | [Easy/Moderate/Hard to synthesize] |
| LogP | X.XX | [Optimal/High/Low] |
| Lipinski Violations | X | [Pass/Concern] |

### ADMET Properties
- Blood-Brain Barrier: [Penetrates/Does not penetrate]
- Predicted Side Effects: [List any predicted]

### Overall Assessment
[Summary of drug potential and recommendations]

Interpretation Guidelines

QED Score

  • > 0.7: Excellent drug-likeness
  • 0.5 - 0.7: Good drug-likeness
  • < 0.5: Poor drug-likeness, may need optimization

SA Score (Synthetic Accessibility)

  • 1-3: Easy to synthesize
  • 3-6: Moderate difficulty
  • 6-10: Difficult to synthesize

LogP (Lipophilicity)

  • -0.4 to 5.6: Optimal range for oral drugs
  • < -0.4: Too hydrophilic, may have poor membrane permeability
  • > 5.6: Too lipophilic, may have poor solubility

Lipinski's Rule of Five

A "drug-like" molecule should have:

  • Molecular weight ≤ 500 Da
  • LogP ≤ 5
  • Hydrogen bond donors ≤ 5
  • Hydrogen bond acceptors ≤ 10

Violations: 0 = ideal, 1 = acceptable, 2+ = concerning

Example Usage

User: "Analyze aspirin as a drug candidate"

Response workflow:

  1. Retrieve aspirin from PubChem
  2. Calculate QED, SA, LogP, Lipinski scores
  3. Predict BBB penetration and side effects
  4. Visualize the molecule
  5. Generate comprehensive report

Error Handling

  • If molecule name is not found in PubChem, ask user for SMILES or SDF file
  • If property prediction fails, still provide drug-likeness scores
  • Always explain what each metric means in context

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.