Guide · Agent skill
How to use the RDKit Cheminformatics Guide agent skill
Updated · written with AI from the project's own documentation and checked against our catalogue data
The chemistry-rdkit skill is a set of best-practice notes that teaches an AI agent how to work with RDKit, an open-source Python chemistry toolkit. It covers molecules written as SMILES strings, property calculations, fingerprint similarity and functional-group searches. This guide explains what the skill does, how to install it, how to ask for things in a way that triggers it, and what you need before the examples will run.
Quick start
- 1Download the ZIP. Download the chemistry-rdkit skill ZIP from this page.
- 2Unzip into a skills folder. Unzip it into ~/.claude/skills/ for personal use or into .claude/skills/ in a project folder.
- 3Or upload in the Claude apps. In the Claude apps, open Settings, go to Capabilities, and upload the skill under Skills.
- 4Install Python and RDKit. Make sure Python and the RDKit library are available, either installed by you or by the agent.
- 5Ask with a molecular request. Describe your SMILES input or molecule file and what you want calculated or searched.
- 6Check the output. Confirm that invalid entries were reported and that results match what you expected.
What does the chemistry-rdkit skill make the agent do?
An agent skill is a folder containing instructions that an AI agent reads when a task matches the skill's description. This one contains a single file, SKILL.md, with reference guidance for RDKit. It is guidance text, not a standalone tool: the agent still writes and runs its own Python code.
When a request involves SMILES strings, drug-like compounds or structure comparison, the agent has a reference for loading molecules, checking for invalid input, calculating properties such as molecular weight and LogP, comparing molecules by fingerprint similarity and searching for functional groups.
- Load molecules from SMILES, SDF and SMILES files, and write SDF output
- Calculate descriptors such as molecular weight, LogP, TPSA, hydrogen-bond donors and acceptors, and rotatable bonds
- Apply the Lipinski Rule of 5 thresholds (MW <= 500, LogP <= 5, HBD <= 5, HBA <= 10)
- Compare molecules with Morgan, RDKit and MACCS fingerprints using Tanimoto similarity
- Find functional groups with SMARTS patterns
How do you install the chemistry-rdkit skill?
You can install the skill from the ZIP file on this page in one of two ways. Use the folder option if you work with Claude Code, or the upload option if you use the Claude apps.
For a personal install, unzip the download into ~/.claude/skills/. For a single project, unzip it into the project's .claude/skills/ folder. In the Claude apps, open Settings, go to Capabilities, and upload the skill under Skills.
- Personal: unzip into ~/.claude/skills/ so the skill is available everywhere
- Project only: unzip into .claude/skills/ inside your project folder
- Claude apps: Settings → Capabilities → Skills, then upload the skill
Install RDKit so the examples can run
The skill does not install anything itself. It needs Python and the RDKit library. You can install RDKit yourself, or ask the agent to install it as part of the task. The examples in the skill cannot run without both.
- Python must be available on your machine
- The RDKit library must be installed in that Python environment
How do you trigger the skill with natural requests?
You do not need to name the skill. The skill's description covers SMILES, drug discovery and cheminformatics tasks, and its trigger keywords include molecule, SMILES, chemical, drug, rdkit, fingerprint, molecular, compound, reaction and cheminformatics. Plain requests that use these words are the most likely to load it.
Be specific about the input and the outcome you want. Say which molecules you have and what you need back.
- "Calculate molecular weight, LogP and TPSA for these SMILES: CCO, c1ccccc1O"
- "Check which compounds in this SMILES list pass Lipinski's Rule of 5 and list any that fail."
- "Rank my library by Tanimoto similarity to this reference molecule using Morgan fingerprints."
- "Find all carboxylic acids in this SDF file using a SMARTS pattern."
What does a typical result look like?
For a property request, expect the agent to parse each SMILES, skip or report entries that return None, and print the descriptor values. For a similarity request, expect Morgan fingerprints at radius 2 with 2048 bits and Tanimoto scores for each compound. The skill notes that Tanimoto above 0.7 suggests structural similarity in a virtual-screening context.
Check the output yourself. The skill's rules of thumb are screening heuristics, not validated predictions.
mol = Chem.MolFromSmiles('CCO')
print(Descriptors.MolWt(mol))What safety and practical limits should you know?
The skill's metadata says it does not run scripts and does not use the network. It requires Python and RDKit. Because it is only guidance, the code the agent writes is what runs on your machine, so review it before running it on data you care about.
The skill does not address medical, safety or clinical decisions, synthesis, hazardous chemicals, lab handling or regulation. Descriptors and filters such as Lipinski and Veber are screening aids, not predictions of toxicity or efficacy.
- Do not use the output for medical or clinical decisions
- Do not rely on it for hazardous-chemical or synthesis work
- Check that MolFromSmiles did not return None before trusting results
Tips for better results
Give the agent clean input. Invalid SMILES is the most common source of trouble, and the skill advises checking for None and treating kekulization errors as a sign of invalid input. Ask the agent to report rejected entries rather than silently dropping them.
Use the defaults unless you have a reason not to. The skill recommends sanitizing molecules by default and using radius 2 for Morgan fingerprints for most applications. For 3D work, add hydrogens first, and for large SDF files, use ForwardSDMolSupplier to save memory.
- Ask for the count of valid and invalid molecules in every batch
- State the fingerprint and threshold you want, or accept the defaults
- For large files, mention the file size so the agent can stream it
What people use it for
- Calculating molecular weight, LogP and TPSA for a list of SMILES strings before a screening meeting
- Flagging compounds in a library that break Lipinski's Rule of 5 thresholds
- Ranking a compound collection by Tanimoto similarity to a known reference molecule
- Filtering an SDF file for molecules that contain a specific functional group, such as a carboxylic acid
- Preparing a clean, canonical SMILES list from a messy file with invalid entries reported
Frequently asked questions
Is the chemistry-rdkit skill free?
The skill is released under the MIT licence, as listed on its page. RDKit is an open-source library, but check its own licence terms for your use.
Do I need to install RDKit to use this skill?
Yes. The skill requires Python and the RDKit library, and the examples cannot run without them. You can install RDKit yourself or have the agent install it.
Where do I put the skill folder?
Unzip the download into ~/.claude/skills/ for personal use, or into .claude/skills/ in a specific project. In the Claude apps, upload it under Settings, then Capabilities, then Skills.
Does this skill run scripts or use the internet?
According to its metadata, the skill does not run scripts and does not use the network. It only provides guidance that the agent uses when writing its own code.
How do I know the skill is being used?
Use plain molecular wording such as SMILES, molecule, fingerprint or Lipinski in your request. The trigger keywords include these terms, so the agent is more likely to apply the RDKit guidance.
Can I use this for medical or drug-safety decisions?
No. The skill's descriptors and rules are screening heuristics, not validated predictions of toxicity or efficacy, and it does not address safety, regulation or clinical decisions.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
This skill suits researchers, students and developers who work in Python and want an agent to apply RDKit properties, Lipinski filters and similarity searches correctly. It is not suitable for medical, safety or clinical decisions, for hazardous-chemical or synthesis work, or for anyone without Python and RDKit installed.
Download the skill