bio-molecular-io

bio-molecular-io is a skill for Claude Code, Codex from PKU-YuanGroup/OpenAI4S. It costs 101 tokens per session (3,970 once invoked), scanned A, a copy of bio-molecular-io, MIT.

A molecular file-handling workflow for reading, writing, and converting formats such as SMILES, SDF, MOL2, PDB, and InChI. It preserves details including stereochemistry, charges, aromaticity, and hydrogens where supported.

In plain words
What is it for?
Use it to import chemical libraries, convert structure files, separate salts and fragments, and prepare molecules for cheminformatics or modelling workflows.
Why use it?
It helps prevent downstream errors caused by losing or misreading important chemical information when moving structures between tools.

Skill for Claude CodeCodex

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

Good fit Use it to import chemical libraries, convert structure files, separate salts and fragments, and prepare molecules for cheminformatics or modelling workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pku-yuangroup/openai4s/bio-chemoinformatics-molecular-io
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-io
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-io

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pku-yuangroup/openai4s/bio-chemoinformatics-molecular-io"><img src="https://agentmods.dev/badge/skills/pku-yuangroup/openai4s/bio-chemoinformatics-molecular-io.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,970 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 92% 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.00101 $0.03970
Opus 5.5 $0.00040 $0.01588
Sonnet 5.5 $0.00020 $0.00794
Haiku 4.5 $0.00010 $0.00397

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

Security

Grade A, and why

bio-molecular-io scanned grade A with 1 finding 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 2mo ago.

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

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

subprocess.run(['obabel', 'docked.pdbqt', '-O', 'docked.sdf'], check=True)
Origin

This is a copy

92% identical to bio-molecular-io — 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-io/SKILL.md · 278 lines

How it starts

The opening of the file, as written. The whole thing — 278 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+, Open Babel 3.1.1+, ChEMBL structure_pipeline 1.2+.

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

  • Python: pip show <package> then help(module.function) to check signatures
  • CLI: obabel -V; obabel -L formats

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

Molecular I/O

Parse, write, and convert molecular file formats. Most downstream errors trace back to silent I/O issues: incorrect aromaticity perception, lost stereochemistry, mishandled charges, dropped stereo bonds, or non-canonical tautomers. This skill enumerates each format's failure modes and prescribes the correct toolchain for each scenario.

For full standardization (canonicalization, salt stripping, tautomer enumeration) see chemoinformatics/molecular-standardization. For generating 3D conformers from parsed 2D molecules, see chemoinformatics/conformer-generation.

Format Taxonomy

Format Dim Stereo Charges Strength Fails when
SMILES 2D Atom chirality @/@@; double-bond / and \ Atom-local formal charges Compact, web-friendly, fast parse Loses absolute coordinates; aromatic perception ambiguous across toolkits; tautomers not canonical
InChI 2D /b, /t, /m, /s stereo sublayers /q charge and /p added/removed-proton sublayers; /p is not a pH model Canonical by construction; cross-toolkit identity Standard InChI normalizes mobile-H forms; limited organometallic stereo; large molecules may require special handling
SDF V2000 2D/3D Wedge bonds M CHG line Industry default; metadata via tags 999-atom limit; cannot encode multi-component reactions; query atoms ambiguous
SDF V3000 2D/3D Wedge + stereo flag Inline charge No atom limit; query support; rich properties Some software (legacy) cannot read; verbose
MOL2 (Tripos) 3D Common records rely on 3D coordinates and toolkit perception; no portable explicit stereo field Per-atom partial SYBYL atom types preserved for docking Atom-type dialects diverge (SYBYL vs Corina); RDKit MOL2 parser brittle
PDB 3D None None standard Universal protein format No bond orders; aromatic perception lost; ligand names truncated to 3 chars
PDBQT 3D None Gasteiger / AD4 AutoDock-ready; torsion tree encoded Specific to docking; no aromaticity layer
BinaryCIF (MMTF retired) 3D Encoded Encoded BinaryCIF (.bcif) is the current compact structural format; RCSB stopped serving MMTF files on July 2, 2024 and recommends BinaryCIF (RCSB PDB 2024) Not all toolkits parse; binary format
CDX/CDXML 2D Drawing Drawing ChemDraw native Not a structural format; converts unreliably
InChIKey Hash Stereo layer n/a Database key, fast lookup Collision probability depends on key block and collection size; cannot recover structure

Read the full file on GitHub · 278 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. 2mo ago First seen · 278 lines · 101 tokens per session scan A 819be9fa3a61

Subscribe to this mod's changes

bio-molecular-io is a skill published in the GitHub repository PKU-YuanGroup/OpenAI4S (675 stars, last pushed today), licensed MIT. It adds 101 tokens to every session and 3,970 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). It is 92% identical to bio-molecular-io, differing in 12 lines, and is treated as a copy.

Related

bio-molecular-io compared with skills from other repositories

bio-molecular-io next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bio-molecular-ioPKU-YuanGroup/OpenAI4SSkill675todayMITA101Claude Code, Codex
boltz-structure-predictionzongtingwei/Bioclaw_Skills_HubSkill277mo agoMITA121Claude Code, Codex
imaging-data-commonssynthetic-sciences/openscienceSkill4.5k2d agoApache-2.0A62Claude Code, Codex
scientific-critical-thinkingxintaofei/codegSkill4.8k3d agoApache-2.0A63Claude Code
genomic-intelligencesynthetic-sciences/openscienceSkill4.5k2d agoApache-2.0A150Claude Code, Codex
flow-cytometry-analysissynthetic-sciences/openscienceSkill4.5k2d agoApache-2.0A67Claude Code, Codex
cellxgene-censussynthetic-sciences/openscienceSkill4.5k2d agoApache-2.0A67Claude Code, Codex