Claude Skill MartBrowse skillsWhat is a Skill?
Back to list

Datamol Cheminformatics Skill

Gives Claude expert use of datamol, the Pythonic RDKit wrapper, for SMILES parsing, standardization, fingerprints, clustering and 3D conformers.

Data & AnalyticsIntermediate33,0303,248AI score 8/10Last updated: Aug 9, 2026

What it does

This skill teaches Claude the idiomatic way to use datamol, a lightweight Pythonic layer over RDKit that returns native rdkit.Chem.Mol objects. It documents ten workflow areas: format conversion (SMILES/InChI/SELFIES), sanitization and full standardization, molecular descriptors, fingerprints (ECFP, MACCS, atom pairs) with Tanimoto distances, Butina clustering and diversity picking, Bemis-Murcko scaffold analysis and scaffold splits, BRICS/RECAP fragmentation, 3D conformer generation with RMSD clustering and SASA, visualization (grids, publication SVG, substructure highlighting), and reaction SMARTS application.

It also covers built-in parallelism via n_jobs, progress bars, cloud/HTTPS file I/O through fsspec, scikit-learn integration for QSAR modeling, defensive error handling patterns, and a troubleshooting section for parsing failures, clustering memory blowups and slow conformer generation.

Who it's for

  • Drug discovery and medicinal chemistry researchers handling compound libraries
  • Data scientists who find raw RDKit verbose or fiddly
  • Anyone building ML datasets from molecules, including scaffold-based splits
  • Teams running virtual screening or SAR analysis pipelines repeatedly

Examples

  1. "Standardize the 50k SMILES in this CSV, drop invalid structures, and produce a descriptor table" → generates dm.to_mol + dm.standardize_mol + batch_compute_many_descriptors(n_jobs=-1) code.
  2. "Pick the 500 most diverse compounds from this SDF using ECFP4" → dm.read_sdfdm.to_fpdm.pick_diverse pipeline.
  3. "Split train/test by scaffold and fit a Random Forest activity model" → Bemis-Murcko scaffold grouping plus scikit-learn training code.

· · · Install guide · · ·

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the skills/datamol folder from the GitHub repo K-Dense-AI/scientific-agent-skills into my ~/.claude/skills/datamol/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/K-Dense-AI/scientific-agent-skills.git && mkdir -p ~/.claude/skills && cp -r scientific-agent-skills/skills/datamol ~/.claude/skills/

This is a third-party skill. Check the source repository before installing.

  1. Open a terminal and make sure Claude Code is installed.
  2. Clone the skill repository: git clone https://github.com/K-Dense-AI/scientific-agent-skills.git
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy just this skill: cp -r scientific-agent-skills/skills/datamol ~/.claude/skills/
  5. Install the library in a Python 3.8+ environment: uv pip install datamol (RDKit comes along automatically).
  6. Optional: for S3 or GCS files, add uv pip install s3fs or uv pip install gcsfs.
  7. Restart Claude Code and try a prompt like "Use datamol to standardize this SMILES list" — the skill will load automatically.