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.

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.

agentmods
npx agentmods add skills/ma-compbio-lab/skillfoundry/rdkit-molecule-standardization
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00026 $0.00295
Sonnet 5 $0.00010 $0.00118
Haiku 4.5 $0.00005 $0.00059

Measured 6d ago against content hash 0def739c4ac7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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. 6d 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 (38 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 52 tokens to every session and 590 once invoked, about $0.0003 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

arxiv-search

Skill "arxiv-search" from TaewoooPark/MagLab, covering category scoping, query families (3–6 per topic), version and doi resolution, tier classification and output contract.

TaewoooPark/MagLab · 68 tokens

revision-letter

Point-by-point peer-review response letter workflow for journal resubmission. Invokes RevisionLetterAgent to quote each reviewer comment verbatim, draft a response, and add a change-location marker. Outputs carry HUMAN REVIEW REQUIRED; no auto-send. A DOI or manuscript location is required for every factual response…

TaewoooPark/MagLab · 68 tokens

literature-search

Broad literature search for magnetism & spintronics — OpenAlex REST query strategy, query family generation, tier classification, and evidencematrix construction (§14.3·§14.7). Activated by the maglab lit search command and the research orchestration search-scout agent.

TaewoooPark/MagLab · 60 tokens

physics-oracle

Use when validating the dimensional, range, and conservation-law plausibility of magnetic physics quantities, or when performing deterministic physics formula calculations and unit conversions. Gilbert damping 0≤α≤1 check, M≤Ms, exchange length and domain wall width calculations, Oe↔A/m↔T·emu/cm³↔A/m·Jij meV↔K…

TaewoooPark/MagLab · 84 tokens

gsmm-builder

Build or load a genome-scale metabolic model (GSMM) using COBRApy. Covers loading from BIGG, constructing minimal models from scratch, setting medium constraints, and exporting validated .json model files.

aiming-lab/AutoResearchClaw · 45 tokens

scgpt

Embed and annotate single-cell expression data with scGPT, a foundation model for single-cell biology. Use this skill when: (1) Producing cell embeddings from an AnnData for clustering/integration, (2) Zero-shot or fine-tuned cell-type annotation, (3) Gene-level representation for perturbation/GRN tasks. For…

aipoch/open-science · 89 tokens