Skip to content
Agentmart
Submit a tool

pharma-ml-tools

Pharmaceutical machine-learning workflow guide for library profiling, molecular featurization, benchmark dataset fetch, medicinal-chemistry filtering, and…

Skill by DrugClaw

IndexedApache-2.0★ 87
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/drugclaw-pharma-ml-tools

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Pharmaceutical machine-learning workflow guide for library profiling, molecular featurization, benchmark dataset fetch, medicinal-chemistry filtering, and optional pose-generation handoff. Use when the user asks for datamol, molfeat, PyTDC, medchem, compound-library triage, dataset preparation, or chemistry-ML baselines beyond simple descriptor calculation.

Use cases: ml, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/pharma-ml-tools

What's inside

Skill name
pharma-ml-tools
Description
Pharmaceutical machine-learning workflow guide for library profiling, molecular featurization, benchmark dataset fetch, medicinal-chemistry filtering, and optional pose-generation handoff. Use when the user asks for datamol, molfeat, PyTDC, medchem, compound-library triage, dataset preparation, or chemistry-ML baselines beyond simple descriptor calculation.
License
Apache-2.0
Instructions
140 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (5)

  • SKILL.md
  • datamol_library_profile.py · templates/
  • medchem_screen.py · templates/
  • molfeat_featurize.py · templates/
  • pytdc_dataset_fetch.py · templates/

SKILL.md (first lines)

# Pharma ML Tools

Use this skill when the user asks for compound-library profiling, chemistry ML feature generation, medicinal-chemistry screening, or benchmark dataset preparation.

Typical triggers:
- standardize and profile a compound library before QSAR or screening
- featurize molecules with `molfeat` for downstream ML
- pull benchmark-ready ADME, toxicity, DTI, or DDI datasets with `PyTDC`
- apply medicinal-chemistry rules or alert filters before prioritization
- compare scaffolds, duplicates, or diversity in a virtual-screening library
- prepare a docking or QSAR campaign with better compound hygiene

## Environment Check

```bash
which python3 || true
python3 - <<'PY'
mods = ["pandas", "numpy", "datamol", "molfeat", "medchem"]
for name in mods:
    try:
        __import__(name)
        print(f"{name}: ok")
    except Exception as exc:
        print(f"{name}: missing ({exc})")
try:
    import tdc
    print("PyTDC: ok")
except Exception as exc:
    print(f"PyTDC: missing ({exc})")
PY
```

If a requested module is missing, say so explicitly. Do not claim the screen, featurization, or dataset pull completed.

## Bundled Assets

- `templates/datamol_library_profile.py`
- `templates/molfeat_featurize.py`
- `templates/pytdc_dataset_fetch.py`
- `templates/medchem_screen.py`

## Preferred Workflow

1. Normalize the input table first and identify the exact SMILES column.
2. Run `datamol_library_profile.py` before building models so duplicates, invalid structures, and scaffold concentration are visible.
3. Use `medchem_screen.py` before large docking or QSAR jobs to flag problematic chemotypes.
4. Use `molfeat_featurize.py` when the user needs model-ready features rather than only descriptor summaries.
5. Use `pytdc_dataset_fetch.py` when the user needs reproducible public benchmark datasets rather than ad hoc CSV collection.
6. Keep outputs under a dedicated directory such as `./pharma_ml/`.

## Library Profiling With Datamol

```bash
python3 templates/datamol_library_profile.py \
  --input libraries/kinase_hits.csv \
  --smiles-column smiles \
  --id-column compound_id \
  --output pharma_ml/kinase_hits_profile.csv \
  --summary pharma_ml/kinase_hits_profile.json
```

Use this first for:
- canonical SMILES and InChIKey generation
- invalid structure detection
- scaffold counts
- molecular-property summaries before modeling

## Molfeat Featurization

```bash
python3 templates/molfeat_featurize.py \
  --input libraries/kinase_hits.csv \
  --smiles-column smiles \
  --id-column compound_id \
  --featurizer ecfp \
  --output pharma_ml/kinase_hits_ecfp.csv \
  --summary pharma_ml/kinase_hits_ecfp.json
```

Supported baseline featurizers in the bundled template:
- `ecfp`
- `maccs`
- `rdkit2d`

Use this for local QSAR, ranking, clustering, or embedding handoff.

## PyTDC Benchmark Datasets

```bash
python3 templates/pytdc_dataset_fetch.py \
  --task adme \
  --dataset Caco2_Wang \
  --split-method scaffold \
  --out-dir pharma_ml/caco2_wang
```

Good use cases:
- ADME or toxicity baselines
- DTI or DDI dataset retrieval
- reproducible train/valid/test splits for benchmarking

## Medicinal-Chemistry Screening

```bash
python3 templates/medchem_screen.py \
  --input libraries/kinase_hits.csv \
  --smiles-column smiles \
  --id-column compound_id \
  --output pharma_ml/kinase_hits_medchem.csv \
  --summary pharma_ml/kinase_hits_medchem.json
```

Use this for:
- Rule-of-Five and lead-like checks
- alert-oriented library triage
- quick pass/fail summaries before wet-lab nomination

Treat these filters as prioritization heuristics, not hard truth.

From DrugClaw/DrugClaw, Apache-2.0.

More from DrugClaw/DrugClaw

Signals

Stars
87
Forks
8
Open issues
1
Last commit (this folder)
Mar 11, 2026 (7 months ago)
Last release
Mar 13, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from DrugClaw

Cite this page

pharma-ml-tools skill. Agent Mart. https://agentmart.dev/skills/drugclaw-pharma-ml-tools (last updated 2026-10-24)