rdkit-molecule-standardization

rdkit-molecule-standardization is a skill for Claude Code, Codex from ma-compbio-lab/SkillFoundry. It costs 52 tokens per session (590 once invoked), scanned A, original, Apache-2.0.

A tool for cleaning and standardizing one small-molecule SMILES string with RDKit, a chemistry software library. It can remove salts, adjust charges, and choose a canonical tautomer—the preferred equivalent structural form.

In plain words
What is it for?
Use it to produce standardized SMILES, compare charge states, and report the cleaned molecule’s formula and heavy-atom count.
Why use it?
It makes a molecule’s text representation more consistent before later chemical analysis or fingerprinting.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to produce standardized SMILES, compare charge states, and report the cleaned molecule’s formula and heavy-atom count.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ma-compbio-lab/skillfoundry/rdkit-molecule-standardization
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 ma-compbio-lab/SkillFoundry --skill rdkit-molecule-standardization
Clone the repo
git clone --depth 1 https://github.com/ma-compbio-lab/SkillFoundry

Made for: Claude Code, Codex.

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-molecule-standardization

README.md
[![agentmods](https://agentmods.dev/badge/skills/ma-compbio-lab/skillfoundry/rdkit-molecule-standardization/github.svg)](https://agentmods.dev/skills/ma-compbio-lab/skillfoundry/rdkit-molecule-standardization)
Your own site
<a href="https://agentmods.dev/skills/ma-compbio-lab/skillfoundry/rdkit-molecule-standardization"><img src="https://agentmods.dev/badge/skills/ma-compbio-lab/skillfoundry/rdkit-molecule-standardization/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-molecule-standardization

Your own site · 80×15
<a href="https://agentmods.dev/skills/ma-compbio-lab/skillfoundry/rdkit-molecule-standardization"><img src="https://agentmods.dev/badge/skills/ma-compbio-lab/skillfoundry/rdkit-molecule-standardization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 590 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.
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.00052 $0.00590
Opus 5.5 $0.00021 $0.00236
Sonnet 5.5 $0.00010 $0.00118
Haiku 4.5 $0.00005 $0.00059

Measured 3mo ago against content hash 0def739c4ac7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rdkit-molecule-standardization 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 3mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/standardize_rdkit_molecule.py, tests/test_standardize_rdkit_molecule.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/drug-discovery-and-cheminformatics/rdkit-molecule-standardization/SKILL.md · 56 lines

How it starts

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

Purpose

Turn a single SMILES string into a deterministic standardization summary using RDKit MolStandardize.

When to use

  • You need a local starter for the taxonomy leaf molecule-standardization.
  • You want to strip salts or counterions before downstream featurization.
  • You want a compact JSON summary with fragment-parent, uncharged, and canonical-tautomer SMILES.

When not to use

  • You need conformers, docking, or quantum chemistry.
  • You need bulk normalization across large compound libraries.

Inputs

  • One SMILES string passed by --smiles or a single-line file passed by --smiles-file
  • Optional molecule name
  • Optional JSON output path

Outputs

  • JSON summary with cleaned, fragment-parent, uncharged, and canonical-tautomer SMILES
  • Charge before and after standardization
  • Formula and heavy-atom count for the standardized molecule

Requirements

  • slurm/envs/chem-tools with RDKit and MolStandardize

Procedure

  1. Run slurm/envs/chem-tools/bin/python skills/drug-discovery-and-cheminformatics/rdkit-molecule-standardization/scripts/standardize_rdkit_molecule.py --smiles-file skills/drug-discovery-and-cheminformatics/rdkit-molecule-standardization/examples/sodium_acetate.smiles --name sodium-acetate.
  2. Inspect fragment_parent_smiles to confirm salt stripping.
  3. Inspect uncharged_smiles and canonical_tautomer_smiles before reusing the molecule downstream.

Validation

  • The script exits successfully with the chem-tools prefix.
  • The sodium acetate example standardizes to CC(=O)O.
  • The runtime output matches assets/sodium_acetate_standardized.json.

Failure modes and fixes

  • Invalid SMILES: verify the input string or the first non-empty line in the SMILES file.
  • Missing RDKit environment: run the script with slurm/envs/chem-tools/bin/python.

Safety and limits

  • This is a molecule-cleanup helper only.
  • It does not imply medicinal-chemistry, ADMET, or synthesis interpretation.

Provenance

Read the full file on GitHub · 56 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 56 lines · 52 tokens per session scan A 0def739c4ac7

Subscribe to this mod's changes

rdkit-molecule-standardization is a skill published in the GitHub repository ma-compbio-lab/SkillFoundry (46 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 52 tokens to every session and 590 once invoked, about $0.0002 per session on Opus 5.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

rdkit-molecule-standardization compared with skills from other repositories

rdkit-molecule-standardization next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rdkit-molecule-standardizationma-compbio-lab/SkillFoundrySkill462mo agoApache-2.0A52Claude Code, Codex
arxiv-searchTaewoooPark/MagLabSkill114mo agoMITA68Claude Code
revision-letterTaewoooPark/MagLabSkill114mo agoMITA68Claude Code
literature-searchTaewoooPark/MagLabSkill114mo agoMITA60Claude Code
physics-oracleTaewoooPark/MagLabSkill114mo agoMITA84Claude Code, Codex
km-survival-curveaipoch/medical-research-skillsSkill2.1k10d agoMITA57Claude Code, Codex
nomogram-constructionaipoch/medical-research-skillsSkill2.1k10d agoMITA67Claude Code, Codex