Agent skill

Molecule Io Core

by VectorSpaceLab in VectorSpaceLab/AREX-Skill

A skill your agent uses for RDKit molecule creation, file/string I/O, validation, sanitization, atom/bond/ring queries, substructure matching, hydrogens, and editable molecule workflows.

BSD-3-ClauseAuto-check passedResearch & Science

Install Molecule Io Core

skills CLI
$ npx skills add VectorSpaceLab/AREX-Skill --skill molecule-io-core -a claude-code

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

GitHub CLI
$ gh skill install VectorSpaceLab/AREX-Skill molecule-io-core --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/VectorSpaceLab/AREX-Skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/repositories/repo-skills/rdkit/sub-skills/molecule-io-core .claude/skills/molecule-io-core && 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
molecule-io-core
GitHub stars
330
Token cost
~936 tokens
SKILL.md length
311 words
Files
5 (incl. scripts, references)
Skills in repo
159
Repo updated
First seen
Licence
BSD-3-Clause

At a glance

A skill your agent uses for RDKit molecule creation, file/string I/O, validation, sanitization, atom/bond/ring queries, substructure matching, hydrogens, and editable molecule workflows.

  • Works in 5 steps: Parse input and immediately check for… → Canonicalize with Chem.MolToSmiles(mol,… → Use suppliers defensively: iterate with… → …
  • RDKit molecule creation
  • SKILL.md covers Route here, Route elsewhere, Start with these references and Core workflow, plus 2 more sections
  • Runs Python scripts from its folder; calls python

What it does

Molecule Io Core is an agent skill from VectorSpaceLab/AREX-Skill. Use for RDKit molecule creation, file/string I/O, validation, sanitization, atom/bond/ring queries, substructure matching, hydrogens, and editable molecule workflows. Route descriptors/fingerprints, conformers/drawing, reactions/standardization, and R-group workflows to their dedicated RDKit sub-skills.

Its SKILL.md is about 940 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `references/molecule-io.md`, `references/sanitization-and-queries.md` and `references/troubleshooting.md`).

It sits in Research & Science, covering Drug discovery and cheminformatics. It works with RDKit. The repository describes itself as: A Skill Library for Automated Machine Learning. The licence is BSD-3-Clause.

When your agent uses it

  • RDKit molecule creation
  • File/string I/O
  • Atom/bond/ring queries
  • Substructure matching

Example prompts

  • “/molecule-io-core”

Requirements

  • Python 3

Workflow steps

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

  1. Parse input and immediately check for None before doing any chemistry.
  2. Canonicalize with Chem.MolToSmiles(mol, isomericSmiles=True) when comparing or de-duplicating molecules.
  3. Use suppliers defensively: iterate with indexes, skip or report None, and preserve molecule names/properties when writing SDF.
  4. If using sanitize=False, run a deliberate Chem.SanitizeMol step before relying on valence, aromaticity, rings, descriptors, or…
  5. For structural edits, edit a copy, call GetMol(), update property cache if needed, then sanitize or report the sanitization failure.

What it can do on your machine

Read from SKILL.md and the folder at commit ac3fe1a. 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

    Ships 1 file in scripts/ (Python), which the agent can run.

    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.

Context cost

Molecule Io Core loads about 936 tokens when it runs, and up to ~4.5k if it reads all its reference files. Until then it costs about 80 tokens; SKILL.md has 311 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~80
When it runs · the whole SKILL.md, loaded when a task matches
~936
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.5k

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); the scripts in this folder are not scanned.

SKILL.md

The full file from VectorSpaceLab/AREX-Skill at commit ac3fe1a, republished under its BSD-3-Clause licence (© VectorSpaceLab). 311 words, ~936 tokens.

Download SKILL.mdSave it as .claude/skills/molecule-io-core/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
molecule-io-core
description
Use for RDKit molecule creation, file/string I/O, validation, sanitization, atom/bond/ring queries, substructure matching, hydrogens, and editable molecule workflows. Route descriptors/fingerprints, conformers/drawing, reactions/standardization, and R-group workflows to their dedicated RDKit sub-skills.
disable-model-invocation
true
metadata.disco-role
operating
license
BSD 3-Clause

RDKit Molecule I/O Core

Use this sub-skill when a task asks an agent to parse, validate, inspect, edit, serialize, or round-trip RDKit molecules from SMILES, SMARTS, MolBlocks, SDF, or delimited SMILES files.

Route here

  • Parse strings with Chem.MolFromSmiles, Chem.MolFromSmarts, Chem.MolFromMolBlock, or supplier classes.
  • Write canonical/isomeric SMILES, MolBlocks, SDF, or SMILES files with Chem.MolToSmiles, Chem.MolToMolBlock, Chem.SDWriter, or Chem.SmilesWriter.
  • Validate invalid SMILES and empty supplier entries without silently passing None molecules downstream.
  • Control sanitization, kekulization, aromaticity, valence handling, and explicit/implicit hydrogens.
  • Query atoms, bonds, rings, properties, and substructure matches.
  • Make small structural edits with Chem.RWMol or Chem.EditableMol and re-sanitize the result.

Route elsewhere

  • Descriptors, fingerprints, bit vectors, similarity, and clustering: descriptors-fingerprints.
  • 3D conformers, force-field optimization, 2D coordinates, and drawing: conformers-drawing.
  • Reaction SMARTS, product sanitization after reactions, molecule standardization, tautomer handling, stereochemistry workflows, and R-groups: reactions-standardization.
  • Pandas, database, RDKit data-file location, and CLI integration: data-cli-integration.

Start with these references

  • references/molecule-io.md for parsing, suppliers, writers, and round-trip patterns.
  • references/sanitization-and-queries.md for sanitization, hydrogens, atom/bond/ring queries, substructure matching, and molecule editing.
  • references/troubleshooting.md for common failures and safe recovery patterns.
  • scripts/molecule_io_smoke.py for a tiny standalone smoke test that canonicalizes SMILES and round-trips SDF.

Core workflow

  1. Parse input and immediately check for None before doing any chemistry.
  2. Canonicalize with Chem.MolToSmiles(mol, isomericSmiles=True) when comparing or de-duplicating molecules.
  3. Use suppliers defensively: iterate with indexes, skip or report None, and preserve molecule names/properties when writing SDF.
  4. If using sanitize=False, run a deliberate Chem.SanitizeMol step before relying on valence, aromaticity, rings, descriptors, or substructure behavior.
  5. For structural edits, edit a copy, call GetMol(), update property cache if needed, then sanitize or report the sanitization failure.

Minimal examples

python
from rdkit import Chem

mol = Chem.MolFromSmiles("CC(=O)O")
if mol is None:
    raise ValueError("invalid SMILES")
canonical = Chem.MolToSmiles(mol, isomericSmiles=True)
python
query = Chem.MolFromSmarts("[CX3](=O)[OX2H1]")
matches = mol.GetSubstructMatches(query)
python
edited = Chem.RWMol(mol)
atom_index = edited.AddAtom(Chem.Atom("Cl"))
edited.AddBond(0, atom_index, Chem.BondType.SINGLE)
new_mol = edited.GetMol()
Chem.SanitizeMol(new_mol)

Bundled check

Run the bundled helper in any environment where RDKit is importable:

bash
python scripts/molecule_io_smoke.py --smiles "CCO" "c1ccccc1" --include-invalid

It asserts that valid SMILES parse, invalid SMILES are reported, canonical SMILES are stable after a second parse, and a tiny SDF round-trip preserves molecule count and properties.

© VectorSpaceLab, BSD-3-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts, references) in skills/repositories/repo-skills/rdkit/sub-skills/molecule-io-core of VectorSpaceLab/AREX-Skill.

  • SKILL.md
  • references/molecule-io.md
  • references/sanitization-and-queries.md
  • references/troubleshooting.md
  • scripts/molecule_io_smoke.py

Open the folder on GitHubat commit ac3fe1a

Compare with similar skills

Molecule Io Core 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.

Molecule Io Core compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Molecule Io Core this skillVectorSpaceLab/AREX-Skill330—~936Automated safety check: PassBSD-3-Clause
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
Biopipelineslocbp-uzh/biopipelines109—~2.4kAutomated safety check: PassMIT
RDKit Cheminformatics Practicesaiming-lab/AutoResearchClaw15k—~708Automated safety check: PassMIT
Rowanlamm-mit/scienceclaw2444 repos~3.1kAutomated safety check: WarnProprietary

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 11 days ago
    Research & ScienceAuto-check passed
  • Biopipelines

    locbp-uzh/biopipelines

    Design and run computational protein and ligand workflows on a GPU: binder and enzyme design, de novo backbone generation, inverse folding and sequence redesign, structure prediction, protein-ligand…

    109 GitHub stars~2.4k tokensUpdated 9 days ago
    Research & ScienceAuto-check passed
  • RDKit Cheminformatics Practices

    aiming-lab/AutoResearchClaw

    Reference guide for working with molecules in RDKit: reading SMILES and SDF files, computing descriptors and fingerprints, and searching substructures.

    15k GitHub stars~708 tokensUpdated 1 mo 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
  • Coot Rdkit

    pemsley/coot

    RDKit molecular manipulation and visualization within Coot's Python environment.

    168 GitHub stars~981 tokensUpdated yesterday
    Research & ScienceAuto-check passed

More from VectorSpaceLab/AREX-Skill

All 159 skills in this repo
  • Agent Lightning

    VectorSpaceLab/AREX-Skill

    Use this repo skill for Agent Lightning package tasks: authoring trainable agents, tracing rewards and spans, running LightningStore/Trainer loops, using agl CLI services, choosing examples, and…

    330 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Agent Tools

    VectorSpaceLab/AREX-Skill

    A skill your agent uses when configuring LiteLLM for MCP tools, A2A agents, Claude Code/Cursor agent gateway traffic, MCP auth/OAuth, tool permissions, semantic filtering, or agent-specific proxy…

    330 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Agents And Awel

    VectorSpaceLab/AREX-Skill

    Build and debug DB-GPT agents, tools, skills, teams, and AWEL workflows, including deterministic local DAG runs and HTTP-trigger topology without assuming an LLM, credential, or external service.

    330 GitHub stars~2.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Agents And Middleware

    VectorSpaceLab/AREX-Skill

    Work on the actively maintained LangChain v1 agent package: initchatmodel, createagent, structured output, tools, middleware, embeddings initialization, provider routing, and agent runtime…

    330 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Agents Workflows

    VectorSpaceLab/AREX-Skill

    A skill your agent uses for giskard.agents async chat workflows, tools, prompt templates, structured outputs, retries, rate limiting, embeddings, and optional LiteLLM backend.

    330 GitHub stars~500 tokensUpdated 1 mo ago
    Auto-check passed
  • Alphafold3

    VectorSpaceLab/AREX-Skill

    A skill your agent uses for AlphaFold 3 input preparation, prediction command planning, output interpretation, and Python API inspection.

    330 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about Molecule Io Core

What does Molecule Io Core do?

A skill your agent uses for RDKit molecule creation, file/string I/O, validation, sanitization, atom/bond/ring queries, substructure matching, hydrogens, and editable molecule workflows. Molecule Io Core is an agent skill from VectorSpaceLab/AREX-Skill. Use for RDKit molecule creation, file/string I/O, validation, sanitization, atom/bond/ring queries, substructure matching, hydrogens, and editable molecule workflows.

When should I use Molecule Io Core?

Molecule Io Core fits situations like: RDKit molecule creation; file/string I/O; atom/bond/ring queries; substructure matching.

How do I install Molecule Io Core in Claude Code?

Run `npx skills add VectorSpaceLab/AREX-Skill --skill molecule-io-core -a claude-code`. Or copy the skill folder (skills/repositories/repo-skills/rdkit/sub-skills/molecule-io-core in VectorSpaceLab/AREX-Skill) into .claude/skills/molecule-io-core in your project. Claude Code loads it when a task matches its description.

How do I install Molecule Io Core in Codex?

Run `npx skills add VectorSpaceLab/AREX-Skill --skill molecule-io-core -a codex`. Or copy the skill folder (skills/repositories/repo-skills/rdkit/sub-skills/molecule-io-core in VectorSpaceLab/AREX-Skill) into .agents/skills/molecule-io-core in your project. Codex loads it when a task matches its description.

Can I use Molecule Io Core 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 VectorSpaceLab/AREX-Skill --skill molecule-io-core -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/molecule-io-core, .gemini/skills/molecule-io-core, .github/skills/molecule-io-core and .opencode/skills/molecule-io-core in your project.

What does Molecule Io Core need to run?

Going by SKILL.md and its folder, Molecule Io Core needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Molecule Io Core 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 Molecule Io Core 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Molecule Io Core use?

Molecule Io Core is published under the BSD-3-Clause licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Molecule Io Core use?

About 936 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.5k tokens, read only when the agent opens those files.

What are the alternatives to Molecule Io Core?

Skills that share tags, products or a category with Molecule Io Core: DiffDock Molecular Docking (K-Dense-AI/scientific-agent-skills, 48k stars), Edu Chem Reaction (wy51ai/edulab, 1.4k stars), Biopipelines (locbp-uzh/biopipelines, 109 stars) and RDKit Cheminformatics Practices (aiming-lab/AutoResearchClaw, 15k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Molecule Io Core?

VectorSpaceLab (a GitHub organization) maintains it in VectorSpaceLab/AREX-Skill, which has 330 GitHub stars. The repository holds 159 skills in this directory. The repository was last updated on September 3, 2026.

Source: VectorSpaceLab/AREX-Skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.