deepchem
Helps your agent predict molecular properties and perform chemistry workflows. It uses machine learning models to predict important characteristics. Useful for chemistry research and drug discovery.
What it does
This tool helps predict properties of chemical molecules. It uses a program called DeepChem to analyze the structure of molecules (represented by codes like SMILES) and predict characteristics like toxicity or solubility.
When to use it
- ✓Predicting if a chemical compound is toxic.
- ✓Estimating the solubility of a substance.
- ✓Analyzing chemical benchmark datasets.
Example of what to ask your AI
“Predict toxicity for this molecule: CCO”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
The tool processes the molecule's description (SMILES), prepares the data, and uses DeepChem's machine learning models to make predictions. It ensures data is split correctly for reliable testing.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add K-Dense-AI/scientific-agent-skills --skill deepchemOr download just the file:
curl -L https://raw.githubusercontent.com/K-Dense-AI/scientific-agent-skills/main/skills/deepchem/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
DeepChem
When to use
Use for molecular property prediction, SMILES/graph featurization, MoleculeNet benchmarks and explicitly configured encoder transfer. The workflow also covers DeepChem materials and sequence adapters when their data/model contracts are met.
Targets DeepChem 2.8.0, still the stable PyPI release at review. Nightly 2.8.1
builds have additional APIs and different constraints; do not mix latest docs
with a stable installation. The tested CPU stack and optional-backend limitations
are in references/review.md.
Workflow
- Define compound identity, assay conditions, target units and missing labels. Parse SMILES and retain a record of rejected rows. Audit duplicate structures and repeated measurements before splitting.
- Match the representation to the model using the table below. Fit a numeric baseline first; dataset size alone does not select the best architecture.
- Choose a scaffold, temporal or grouped holdout for the deployment question. Preserve exact split IDs, inspect scaffold overlap and per-task class support, and reject empty splits. Scaffold splitting does not eliminate all leakage.
- Fit preprocessing on training data only. Preserve
dataset.wmasks. Normalize continuous targets only, and invert those transforms for metrics/predictions. - Select model settings/epochs on validation data and evaluate the final holdout once. Report per-task support, uncertainty across planned repeats and baseline comparisons. AUC requires both observed classes.
- Predict using the training representation and transforms. Preserve identifiers, original target units and applicability limits. Successful fitting is not evidence of prospective scientific performance.
Essential model contracts
| Model path | Input |
|---|---|
Fingerprint baseline or MultitaskRegressor |
Explicit CircularFingerprint(size=2048) |
| Torch GCN/GAT | MolGraphConvFeaturizer() |
| Torch AttentiveFP/MPNN | MolGraphConvFeaturizer(use_edges=True) |
| DMPNN | DMPNNFeaturizer(); binary tasks need n_classes=2 |
| GROVER | GroverFeaturizer plus matching encoder checkpoint/configuration |
| HF wrapper | SMILES strings, actual network object and tokenizer object |
MoleculeNet's 'ECFP' alias is 1024 bits, while the fingerprint class defaults
to 2048. 'GraphConv' is legacy ConvMolFeaturizer, incompatible with Torch
GCN. 'Raw' defaults to RDKit Mol objects; use DummyFeaturizer() for raw strings.
Import Torch MPNN/GROVER from deepchem.models.torch_models.
Stable HuggingFaceModel returns logits and its training loss ignores sample
weights. The bundled HF transfer script accepts one fully observed, unweighted
binary/regression task and rejects sparse multitask datasets. A model ID or
model_dir is not itself a loaded pretrained model.
Installation
Use an isolated Python 3.11 environment, outside any repository environment whose Python requirement conflicts. This tested core stack supports the fingerprint, DMPNN, local HF and GROVER smoke paths:
uv venv --python 3.11 .venv-deepchem
uv pip install --python .venv-deepchem/bin/python \
'deepchem==2.8.0' 'torch==2.14.1' 'transformers==5.18.0' \
'torch-geometric==2.8.0.post1'
The CPU smoke checks used these versions, not GPU builds. For GPU training install the correct framework build according to its official platform instructions. GCN/GAT/AttentiveFP/Torch MPNN additionally require mutually compatible DGL and DGL-LifeSci; those backends were not available in this audit. Installing Torch alone, or importing DeepChem successfully, does not establish those model paths.
The stable distribution exposes torch, tensorflow, jax, and dqc extras,
with historical optional dependency requirements; they are not an assurance that
every modern platform/backend combination resolves or executes. No [all] extra
exists. The TensorFlow, JAX and quantum-chemistry routes were source-reviewed only.
Check release installation docs
and requirements.
DeepChem attempts optional imports at package import time and can log skipped
modules; it does not promise all classes are available after that import.
Bundled scripts
The primary executable end-to-end example is predict_solubility.py with a custom
…
FAQ
What is SMILES?
SMILES is a way to represent the structure of chemical molecules using a simple text string.
What are benchmarks like MoleculeNet?
These are standardized datasets and tasks used to test and compare the performance of different machine learning models in chemistry.
What does 'predict molecular properties' mean?
It means using computers to guess important characteristics of a chemical substance, like how well it dissolves in water or if it might be harmful, without needing to physically test it in a lab.
Details
Original description by the author
Builds molecular property prediction and MoleculeNet workflows with DeepChem, including SMILES featurization, scaffold or grouped holdouts, masked labels, graph models and explicit pretrained encoder transfer. Used for ADMET, toxicity, solubility and chemistry ML when DeepChem data/model contracts and scientific validation are needed.
Popularity
- GitHub stars
- 51k
- Ranking position
- #1856
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
13c-metabolic-flux
Estimates metabolic fluxes using carbon-13 isotope tracing data. It is useful for analyzing cellular metabolism and biochemical pathways.
K-Dense-AI/scientific-agent-skills
adaptyv
Designs protein characterization experiments using the Adaptyv API. It helps estimate costs, submit sequences, and monitor lab results.
K-Dense-AI/scientific-agent-skills
aeon
Performs machine learning tasks on time series data. It is useful for classifying, forecasting, detecting anomalies, and finding patterns in sequential data.
K-Dense-AI/scientific-agent-skills
alphagenome
Looks up precomputed genomic effects for genetic variants. It provides scores and explanations to understand the impact of variants on the genome.
K-Dense-AI/scientific-agent-skills
Similar skills
pytorch-patterns
Helps your agent use PyTorch for machine learning models. It applies best practices for efficient model training and ensures reproducible results.
affaan-m/ECC
evm-token-decimals
Helps your agent avoid errors with decimal numbers across different blockchain networks. It ensures token values are accurate in transactions and calculations.
affaan-m/ECC
knowledge-agent
Creates and queries knowledge bases using AI. It allows asking questions about past work or compiling expertise on a topic.
thedotmack/claude-mem