bio-molecular-standardization

bio-molecular-standardization is a skill for Claude Code, Codex from PKU-YuanGroup/OpenAI4S. It costs 108 tokens per session (4,253 once invoked), scanned A, a copy of bio-molecular-standardization, MIT.

A chemistry workflow for converting molecular structures into a consistent form by handling salts, solvents, charges, tautomers, mixtures, isotopes, and stereochemistry. Standardization means applying the same structure-cleaning rules to every molecule.

In plain words
What is it for?
Use it to clean datasets, select parent structures, canonicalize tautomers, remove salts and solvents, and prepare molecules for deduplication or database joins.
Why use it?
It prevents duplicate compounds, inconsistent machine-learning inputs, and failed matches between chemical databases caused by different ways of representing the same molecule.

Skill for Claude CodeCodex

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

Good fit Use it to clean datasets, select parent structures, canonicalize tautomers, remove salts and solvents, and prepare molecules for deduplication or database joins.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pku-yuangroup/openai4s/bio-chemoinformatics-molecular-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 PKU-YuanGroup/OpenAI4S --skill bio-chemoinformatics-molecular-standardization
Clone the repo
git clone --depth 1 https://github.com/PKU-YuanGroup/OpenAI4S

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 bio-molecular-standardization

README.md
[![agentmods](https://agentmods.dev/badge/skills/pku-yuangroup/openai4s/bio-chemoinformatics-molecular-standardization/github.svg)](https://agentmods.dev/skills/pku-yuangroup/openai4s/bio-chemoinformatics-molecular-standardization)
Your own site
<a href="https://agentmods.dev/skills/pku-yuangroup/openai4s/bio-chemoinformatics-molecular-standardization"><img src="https://agentmods.dev/badge/skills/pku-yuangroup/openai4s/bio-chemoinformatics-molecular-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 bio-molecular-standardization

Your own site · 80×15
<a href="https://agentmods.dev/skills/pku-yuangroup/openai4s/bio-chemoinformatics-molecular-standardization"><img src="https://agentmods.dev/badge/skills/pku-yuangroup/openai4s/bio-chemoinformatics-molecular-standardization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,253 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 95% copy Near-identical to another mod 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.00108 $0.04253
Opus 5 $0.00054 $0.02126
Sonnet 5 $0.00022 $0.00851
Haiku 4.5 $0.00011 $0.00425

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

Security

Grade A, and why

bio-molecular-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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/standardize_library.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.

Origin

This is a copy

95% identical to bio-molecular-standardization — 12 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/bioskills/bio-chemoinformatics-molecular-standardization/SKILL.md · 315 lines

How it starts

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

Version Compatibility

Reference examples tested with: RDKit 2024.09+ and chembl_structure_pipeline 1.2+. MolVS 0.1.1 is a legacy package; use RDKit's maintained rdMolStandardize module for custom pipelines.

Before using code patterns, verify installed versions match. If versions differ:

  • Python: pip show <package> then help(module.function) to check signatures

If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.

Molecular Standardization

Convert raw molecular structures into a consistent form for ML training data, deduplication, registry, and cross-database joining. Skipping standardization can create data leakage when alternate representations of one compound enter different splits, distort QSAR inputs, and cause database join misses. The ChEMBL structure pipeline (Bento et al. 2020) is built on RDKit and applies ChEMBL-specific normalization and parent-selection rules. canSARchem (Dolciami et al. 2022) adds canonical-tautomer selection before parent extraction. RDKit's maintained rdMolStandardize module provides primitives for building an explicit custom pipeline.

For format-level I/O and aromaticity perception, see chemoinformatics/molecular-io. For descriptor calculation after standardization, see chemoinformatics/molecular-descriptors.

Standardization Pipeline Stages

Stage RDKit Tool Operation Common errors caught
1. Sanitization Chem.SanitizeMol Kekulize, assign aromaticity, fix valences Wrong valence on N/O
2. Salt stripping rdMolStandardize.FragmentRemover or LargestFragmentChooser Remove counterions Cl-, Na+, K+, OH-
3. Mixture choice LargestFragmentChooser Pick parent fragment Co-crystals, hydrates
4. Charge neutralization Uncharger Neutralize while preserving net charge Permanent charges preserved (quaternary N+)
5. Tautomer canonicalization TautomerEnumerator.Canonicalize Pick canonical tautomer Keto/enol; amide/imidate
6. Stereo standardization Chem.AssignStereochemistry Consistent stereo descriptors Lost wedges, ambiguous R/S
7. Isotope normalization Explicitly set selected atom isotope labels to 0 Remove 13C, 2H labels Tracer studies; preserve labels when scientifically meaningful
8. Output canonicalization Chem.MolToSmiles(canonical=True) Canonical SMILES + InChIKey Round-trip stability

Read the full file on GitHub · 315 lines

Files

What ships with it

2 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. 9d ago First seen · 315 lines · 108 tokens per session scan A 74781a7841eb

Subscribe to this mod's changes

bio-molecular-standardization is a skill published in the GitHub repository PKU-YuanGroup/OpenAI4S (407 stars, last pushed yesterday), licensed MIT. It adds 108 tokens to every session and 4,253 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 95% identical to bio-molecular-standardization, differing in 12 lines, and is treated as a copy.

Related

Other skills, from other repositories

histolab

Lightweight WSI tile extraction and preprocessing. Use for basic slide processing tissue detection, tile extraction, stain normalization for H&E images. Best for simple pipelines, dataset preparation, quick tile-based analysis. For advanced spatial proteomics, multiplexed imaging, or deep learning pipelines use pathml.

synthetic-sciences/openscience · 62 tokens

pyhealth

Comprehensive healthcare AI toolkit for developing, testing, and deploying machine learning models with clinical data. This skill should be used when working with electronic health records (EHR), clinical prediction tasks (mortality, readmission, drug recommendation), medical coding systems (ICD, NDC, ATC)…

synthetic-sciences/openscience · 109 tokens

deepchem

Molecular ML with diverse featurizers and pre-built datasets. Use for property prediction (ADMET, toxicity) with traditional ML or GNNs when you want extensive featurization options and MoleculeNet benchmarks. Best for quick experiments with pre-trained models, diverse molecular representations. For graph-first…

synthetic-sciences/openscience · 78 tokens

torch-geometric

Graph Neural Networks (PyG). Node/graph classification, link prediction, GCN, GAT, GraphSAGE, heterogeneous graphs, molecular property prediction, for geometric deep learning.

synthetic-sciences/openscience · 41 tokens

zarr-python

Chunked N-D arrays for cloud storage. Compressed arrays, parallel I/O, S3/GCS integration, NumPy/Dask/Xarray compatible, for large-scale scientific computing pipelines.

synthetic-sciences/openscience · 42 tokens

alphafold-database

Access AlphaFold 200M+ AI-predicted protein structures. Retrieve structures by UniProt ID, download PDB/mmCIF files, analyze confidence metrics (pLDDT, PAE), for drug discovery and structural biology.

synthetic-sciences/openscience · 54 tokens