Agent skill

Rdkit

by Hello-QM in Hello-QM/catgo-LRG

Use RDKit for molecular conformer generation, SMILES/InChI handling, molecular descriptors, fingerprints, and substructure searching.

AGPL-3.0Auto-check passedResearch & Science

Install Rdkit

skills CLI
$ npx skills add Hello-QM/catgo-LRG --skill rdkit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Hello-QM/catgo-LRG rdkit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Hello-QM/catgo-LRG.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/rdkit .claude/skills/rdkit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
rdkit
GitHub stars
205
Token cost
~1.1k tokens
SKILL.md length
201 words
Files
1
Skills in repo
75
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Use RDKit for molecular conformer generation, SMILES/InChI handling, molecular descriptors, fingerprints, and substructure searching.

  • Works in 6 steps: Forgetting AddHs — RDKit molecules from… → Embedding failure — EmbedMolecule… → MMFF94 unsupported atoms — MMFF94 does… → …
  • Tasks that involve Drug discovery and cheminformatics
  • SKILL.md covers When to Use, Prerequisites, Workflow Steps and Script — Conformer Generation, plus 5 more sections
  • Calls python

What it does

Rdkit is an agent skill from Hello-QM/catgo-LRG. Use RDKit for molecular conformer generation, SMILES/InChI handling, molecular descriptors, fingerprints, and substructure searching. Python-based toolkit.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Requires RDKit Python package (conda install -c conda-forge rdkit or pip install rdkit).

It sits in Research & Science, covering Drug discovery and cheminformatics. It works with RDKit and Python. The repository describes itself as: AI-driven workbench for computational materials science — interactive 3D structure viewer, natural-language CatBot assistant, visual DAG workflow engine, HPC job submission… The licence is AGPL-3.0.

When your agent uses it

  • Tasks that involve Drug discovery and cheminformatics

Example prompts

  • “/rdkit”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): Requires RDKit Python package (conda install -c conda-forge rdkit or pip install rdkit).

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Forgetting AddHs — RDKit molecules from SMILES have implicit H. Call Chem.AddHs() before 3D embedding.
  2. Embedding failure — EmbedMolecule returns -1 on failure. Check return value; retry with useRandomCoords=True.
  3. MMFF94 unsupported atoms — MMFF94 does not cover all elements. Use UFF for organometallics.
  4. Stereo loss — ensure SMILES include stereochemistry (/, \, @, @@) if relevant.
  5. Large flexible molecules — conformer generation for molecules with >10 rotatable bonds needs many conformers (200+).
  6. Sanitization errors — invalid SMILES cause MolFromSmiles to return None. Always check for None.

What it can do on your machine

Read from SKILL.md and the folder at commit fd6291b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires RDKit Python package (conda install -c conda-forge rdkit or pip install rdkit).

    From compatibility in the SKILL.md frontmatter.

Context cost

Rdkit loads about 1.1k tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 201 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~40
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Hello-QM/catgo-LRG at commit fd6291b, republished under its AGPL-3.0 licence (© Hello-QM). 201 words, ~1,140 tokens.

Download SKILL.mdSave it as .claude/skills/rdkit/SKILL.md (or your agent's skills folder).
name
rdkit
description
Use RDKit for molecular conformer generation, SMILES/InChI handling, molecular descriptors, fingerprints, and substructure searching. Python-based toolkit.
compatibility
Requires RDKit Python package (conda install -c conda-forge rdkit or pip install rdkit).
catalog-hidden
true

RDKit — Conformers and Molecular Representations

When to Use

  • User needs to generate multiple 3D conformers for a molecule
  • User wants to compute molecular fingerprints or descriptors
  • User needs SMILES canonicalization or InChI generation
  • User wants substructure matching or molecular similarity
  • User needs to embed a molecule and optimize geometry with MMFF94/UFF

Prerequisites

  1. RDKit installed (python -c "from rdkit import Chem; print(Chem.__version__)")

Workflow Steps

Conformer Generation
catgo_workflow_engine(action="add_task", params={
  "workflow_id": "wf_xxx",
  "task_type": "shell",
  "name": "rdkit_conf",
  "command": "python gen_conformers.py",
  "input_files": {
    "gen_conformers.py": "<script content>"
  },
  "system_name": "caffeine_conformers"
})

Script — Conformer Generation

python
from rdkit import Chem
from rdkit.Chem import AllChem, rdMolDescriptors

smiles = "CN1C=NC2=C1C(=O)N(C(=O)N2C)C"  # caffeine
mol = Chem.MolFromSmiles(smiles)
mol = Chem.AddHs(mol)

# Generate conformers
params = AllChem.ETKDGv3()
params.numThreads = 0  # use all cores
params.pruneRmsThresh = 0.5  # Angstrom RMSD pruning

cids = AllChem.EmbedMultipleConfs(mol, numConfs=50, params=params)
print(f"Generated {len(cids)} conformers")

# Optimize with MMFF94
results = AllChem.MMFFOptimizeMoleculeConfs(mol, numThreads=0)

# Sort by energy and write
energies = [(cid, res[1]) for cid, res in zip(cids, results) if res[0] == 0]
energies.sort(key=lambda x: x[1])

writer = Chem.SDWriter("conformers.sdf")
for cid, energy in energies[:20]:  # top 20 lowest energy
    mol.SetProp("Energy_kcal/mol", f"{energy:.2f}")
    writer.write(mol, confId=cid)
writer.close()

Script — Molecular Descriptors

python
from rdkit import Chem
from rdkit.Chem import Descriptors, rdMolDescriptors

mol = Chem.MolFromSmiles("CCO")

print(f"MW:       {Descriptors.MolWt(mol):.2f}")
print(f"LogP:     {Descriptors.MolLogP(mol):.2f}")
print(f"HBD:      {rdMolDescriptors.CalcNumHBD(mol)}")
print(f"HBA:      {rdMolDescriptors.CalcNumHBA(mol)}")
print(f"TPSA:     {Descriptors.TPSA(mol):.2f}")
print(f"RotBonds: {Descriptors.NumRotatableBonds(mol)}")

Script — Fingerprints and Similarity

python
from rdkit import Chem, DataStructs
from rdkit.Chem import AllChem

mol1 = Chem.MolFromSmiles("c1ccccc1")  # benzene
mol2 = Chem.MolFromSmiles("c1ccncc1")  # pyridine

fp1 = AllChem.GetMorganFingerprintAsBitVect(mol1, radius=2, nBits=2048)
fp2 = AllChem.GetMorganFingerprintAsBitVect(mol2, radius=2, nBits=2048)

tanimoto = DataStructs.TanimotoSimilarity(fp1, fp2)
print(f"Tanimoto similarity: {tanimoto:.3f}")

Script — SMILES to XYZ

python
from rdkit import Chem
from rdkit.Chem import AllChem

mol = Chem.MolFromSmiles("CCO")
mol = Chem.AddHs(mol)
AllChem.EmbedMolecule(mol, AllChem.ETKDGv3())
AllChem.MMFFOptimizeMolecule(mol)

# Write XYZ
conf = mol.GetConformer()
symbols = [a.GetSymbol() for a in mol.GetAtoms()]
coords = conf.GetPositions()

with open("molecule.xyz", "w") as f:
    f.write(f"{len(symbols)}\n")
    f.write("Generated by RDKit\n")
    for sym, (x, y, z) in zip(symbols, coords):
        f.write(f"{sym} {x:.6f} {y:.6f} {z:.6f}\n")

Parameter Guidance

ParameterTypical valueNotes
numConfs50-200More for flexible molecules
pruneRmsThresh0.5 AngRemove near-duplicate conformers
MMFF94 vs UFFMMFF94 preferredUFF as fallback for metals
Morgan radius2ECFP4 equivalent
nBits2048Fingerprint length

Common Pitfalls

  1. Forgetting AddHs — RDKit molecules from SMILES have implicit H. Call Chem.AddHs() before 3D embedding.
  2. Embedding failure — EmbedMolecule returns -1 on failure. Check return value; retry with useRandomCoords=True.
  3. MMFF94 unsupported atoms — MMFF94 does not cover all elements. Use UFF for organometallics.
  4. Stereo loss — ensure SMILES include stereochemistry (/, \, @, @@) if relevant.
  5. Large flexible molecules — conformer generation for molecules with >10 rotatable bonds needs many conformers (200+).
  6. Sanitization errors — invalid SMILES cause MolFromSmiles to return None. Always check for None.

© Hello-QM, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/rdkit of Hello-QM/catgo-LRG.

Open the folder on GitHubat commit fd6291b

Compare with similar skills

Rdkit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Rdkit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rdkit this skillHello-QM/catgo-LRG205—~1.1kAutomated safety check: PassAGPL-3.0
DiffDock Molecular DockingK-Dense-AI/scientific-agent-skills48k1 repos~3kAutomated safety check: NotesMIT
Edu Chem Reactionwy51ai/edulab1.4k—~1.2kAutomated safety check: PassApache-2.0
Rowanlamm-mit/scienceclaw2444 repos~3.1kAutomated safety check: WarnProprietary
RDKit Cheminformaticsdavila7/claude-code-templates32k15 repos~5kAutomated safety check: PassMIT
RDKit Conformer Generatorjinzhezenggroup/computational-chemistry-agent-skills148—~2.4kAutomated safety check: PassLGPL-3.0

Similar skills

  • DiffDock Molecular Docking

    K-Dense-AI/scientific-agent-skills

    Predicts how small molecules bind to a protein with DiffDock, covering batch docking, pose ranking by confidence and checks on the results; not for binding affinity.

    48k GitHub starsUsed in 1 repo~3k tokens
    Research & ScienceAuto-check: notes
  • Edu Chem Reaction

    wy51ai/edulab

    把一个化学反应做成自包含的微观 3D 交互演示网页:左/上为 Three.js 可交互分子动画 (拖滑块看断键·成键·原子重组,分步高亮),右为 KaTeX 反应方程 + 分步讲解 + 原子守恒计数 + 可选能量-反应进程曲线。支持三入口——给定文字反应/方程、随机出题、上传图片识别后演示。

    1.4k GitHub stars~1.2k tokensUpdated 9 days ago
    Research & ScienceAuto-check passed
  • Rowan

    lamm-mit/scienceclaw

    Cloud-based quantum chemistry platform with Python API. An agent skill from lamm-mit/scienceclaw.

    244 GitHub starsUsed in 4 repos~3.1k tokens
    Research & ScienceAuto-check: warnings
  • RDKit Cheminformatics

    davila7/claude-code-templates

    Guides molecular work with RDKit in Python: reading SMILES and SDF, sanitization, descriptors, fingerprints, substructure and similarity search, reactions and coordinates.

    32k GitHub starsUsed in 15 repos~5k tokens
    Research & ScienceAuto-check passed
  • RDKit Conformer Generator

    jinzhezenggroup/computational-chemistry-agent-skills

    Generates 3D molecular conformers from SMILES strings or files with RDKit, keeps the lowest-energy one per molecule, and falls back to 2D coordinates when embedding fails.

    148 GitHub stars~2.4k tokensUpdated 2 days ago
    Research & ScienceAuto-check passed
  • RDKit Descriptors and Fingerprints

    jinzhezenggroup/computational-chemistry-agent-skills

    Computes RDKit physicochemical descriptors and molecular fingerprints from SMILES through a uv-run CLI script that skips and logs invalid molecules.

    148 GitHub stars~2.3k tokensUpdated 2 days ago
    Research & ScienceAuto-check passed

More from Hello-QM/catgo-LRG

All 75 skills in this repo
  • Campaign Md Orchestration

    Hello-QM/catgo-LRG

    Drive a file-first, agent-in-the-loop computational campaign via a folder + markdown tree (no DB).

    205 GitHub stars~1.6k tokensUpdated 15 days ago
    Auto-check passed
  • Lammps Deepmd

    Hello-QM/catgo-LRG

    Run LAMMPS molecular dynamics with DeePMD-kit machine learning potentials.

    205 GitHub starsUsed in 1 repo~1k tokens
    Auto-check passed
  • Catgo Gibbs Pipeline

    Hello-QM/catgo-LRG

    Compute adsorption/reaction Gibbs free energies, free-energy diagrams, and electrochemical overpotentials (HER/ORR/OER/CO2RR/NRR) with VASP.

    205 GitHub stars~669 tokensUpdated 15 days ago
    Auto-check passed
  • Abinit

    Hello-QM/catgo-LRG

    Generate and manage ABINIT DFT calculations. An agent skill from Hello-QM/catgo-LRG.

    205 GitHub stars~963 tokensUpdated 15 days ago
    Auto-check passed
  • Adsorbate Placement

    Hello-QM/catgo-LRG

    A skill your agent uses when the user asks to place an adsorbate molecule on a surface, find adsorption sites, or set up a surface+adsorbate model for DFT.

    205 GitHub stars~3k tokensUpdated 15 days ago
    Auto-check passed
  • Adsorption Energy

    Hello-QM/catgo-LRG

    A skill your agent uses when the user asks for adsorption energy, binding energy, or wants to compare how strongly a molecule binds to a surface.

    205 GitHub stars~1.4k tokensUpdated 15 days ago
    Auto-check passed

Works with

Questions about Rdkit

What does Rdkit do?

Use RDKit for molecular conformer generation, SMILES/InChI handling, molecular descriptors, fingerprints, and substructure searching. Rdkit is an agent skill from Hello-QM/catgo-LRG. Use RDKit for molecular conformer generation, SMILES/InChI handling, molecular descriptors, fingerprints, and substructure searching.

When should I use Rdkit?

Rdkit fits situations like: tasks that involve Drug discovery and cheminformatics.

How do I install Rdkit in Claude Code?

Run `npx skills add Hello-QM/catgo-LRG --skill rdkit -a claude-code`. Or copy the skill folder (.claude/skills/rdkit in Hello-QM/catgo-LRG) into .claude/skills/rdkit in your project. Claude Code loads it when a task matches its description.

How do I install Rdkit in Codex?

Run `npx skills add Hello-QM/catgo-LRG --skill rdkit -a codex`. Or copy the skill folder (.claude/skills/rdkit in Hello-QM/catgo-LRG) into .agents/skills/rdkit in your project. Codex loads it when a task matches its description.

Can I use Rdkit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Hello-QM/catgo-LRG --skill rdkit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rdkit, .gemini/skills/rdkit, .github/skills/rdkit and .opencode/skills/rdkit in your project.

What does Rdkit need to run?

Going by SKILL.md and its folder, Rdkit needs the command-line tools its instructions call (python). Our summary lists: Python 3. Compatibility (from SKILL.md): Requires RDKit Python package (conda install -c conda-forge rdkit or pip install rdkit). .

Does Rdkit access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Rdkit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Rdkit use?

Rdkit is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Rdkit use?

About 1.1k tokens (SKILL.md is roughly 4.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Rdkit?

Skills that share tags, products or a category with Rdkit: DiffDock Molecular Docking (K-Dense-AI/scientific-agent-skills, 48k stars), Edu Chem Reaction (wy51ai/edulab, 1.4k stars), Rowan (lamm-mit/scienceclaw, 244 stars) and RDKit Cheminformatics (davila7/claude-code-templates, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Rdkit?

Hello-QM (a GitHub user) maintains it in Hello-QM/catgo-LRG, which has 205 GitHub stars. The repository holds 75 skills in this directory. The repository was last updated on September 22, 2026.

Source: Hello-QM/catgo-LRG on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.