rdkit

rdkit is a skill for Claude Code from K-Dense-AI/drug-discovery-agent-skills. It costs 189 tokens per session (1,794 once invoked), scanned A, original, MIT.

A Python toolkit for working with chemical structures and reactions. It can read common molecular formats, calculate properties, compare structures, find chemical patterns, generate coordinates, and create visualisations.

In plain words
What is it for?
It helps analyse drug-like molecules, calculate descriptors such as molecular weight and lipophilicity, build fingerprints, measure similarity, search substructures, process reactions, and draw molecules.
Why use it?
It removes the need to implement common chemistry calculations and structure-handling operations from scratch. It supports both individual molecule analysis and larger cheminformatics workflows.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It helps analyse drug-like molecules, calculate descriptors such as molecular weight and lipophilicity, build fingerprints, measure similarity, search substructures, process reactions, and draw molecules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/k-dense-ai/drug-discovery-agent-skills/rdkit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add K-Dense-AI/drug-discovery-agent-skills --skill rdkit
Clone the repo
git clone --depth 1 https://github.com/K-Dense-AI/drug-discovery-agent-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rdkit

README.md
[![agentmods](https://agentmods.dev/badge/skills/k-dense-ai/drug-discovery-agent-skills/rdkit/github.svg)](https://agentmods.dev/skills/k-dense-ai/drug-discovery-agent-skills/rdkit)
Your own site
<a href="https://agentmods.dev/skills/k-dense-ai/drug-discovery-agent-skills/rdkit"><img src="https://agentmods.dev/badge/skills/k-dense-ai/drug-discovery-agent-skills/rdkit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rdkit

Your own site · 80×15
<a href="https://agentmods.dev/skills/k-dense-ai/drug-discovery-agent-skills/rdkit"><img src="https://agentmods.dev/badge/skills/k-dense-ai/drug-discovery-agent-skills/rdkit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 189 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,794 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00189 $0.01794
Opus 5 $0.00095 $0.00897
Sonnet 5 $0.00038 $0.00359
Haiku 4.5 $0.00019 $0.00179

Measured 12d ago against content hash c3765cdab00a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

rdkit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/molecular_properties.py, scripts/similarity_search.py, scripts/substructure_filter.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/rdkit/SKILL.md · 115 lines

How it starts

The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.

RDKit Cheminformatics Toolkit

Overview

RDKit is a comprehensive cheminformatics library providing Python APIs for molecular analysis and manipulation. This skill provides guidance for reading/writing molecular structures, calculating descriptors, fingerprinting, substructure searching, chemical reactions, 2D/3D coordinate generation, and molecular visualization. Use this skill for drug discovery, computational chemistry, and cheminformatics research tasks.

Checked against: RDKit 2026.03.5 (rdkit 2026.3.5 on PyPI, released 2026-08-03), August 2026. Official installation docs continue to recommend conda-forge for most users, while cross-platform PyPI wheels are published under the rdkit package name. rdkit-pypi is the old PyPI package name and should only appear when maintaining legacy environments.

Installation and Setup

Use uv when installing into an existing Python environment:

uv pip install rdkit

For reproducible chemistry environments, especially when mixing compiled scientific packages, conda-forge remains the upstream recommendation:

conda create -c conda-forge -n my-rdkit-env rdkit
conda activate my-rdkit-env

Avoid installing both conda rdkit and PyPI rdkit/rdkit-pypi into the same environment unless you are deliberately debugging packaging behavior. Mixed installs can make it unclear which binary extension is being imported.

Core Capabilities

Twelve capability areas, each with worked code, are documented in references/core_capabilities.md:

# Area Covers
1 Molecular I/O and creation SMILES, MOL files and blocks, InChI, SDF and SMILES suppliers, multithreaded reading, writers
2 Sanitization and validation disabling automatic sanitization, manual and partial sanitization, detecting problems first
3 Analysis and properties atom and bond iteration, ring information and SSSR, chirality and stereochemistry, fragments
4 Descriptors MW, LogP, TPSA, H-bond donors/acceptors, rotatable bonds, aromatic rings, bulk calculation, drug-likeness
5 Fingerprints and similarity topological, Morgan/ECFP via rdFingerprintGenerator, MACCS, atom pair, torsion, Avalon; Tanimoto and other metrics; Butina clustering
6 Substructure searching SMARTS queries, match retrieval, and a library of common patterns
7 Chemical reactions reaction SMARTS, applying reactions, reaction fingerprints
8 2D and 3D coordinates depiction, template alignment, ETKDG embedding, force-field optimization, RMSD, constrained embedding
9 Visualization single and grid images, substructure highlighting, custom drawer options, Jupyter integration, fingerprint bit environments
10 Molecular modification explicit hydrogens, Kekulization, aromaticity, substructure replacement, charge neutralization
11 Hashes and standardization Murcko scaffold and canonical hashes, regioisomer hashes, randomized SMILES for augmentation
12 Pharmacophore and 3D features feature factories and feature extraction

Read the full file on GitHub · 115 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 115 lines · 189 tokens per session scan A c3765cdab00a

Subscribe to this mod's changes

rdkit is a skill published in the GitHub repository K-Dense-AI/drug-discovery-agent-skills (28 stars, last pushed 4d ago), licensed MIT. It adds 189 tokens to every session and 1,794 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories