smiles-to-iupac

smiles-to-iupac is a skill for Claude Code, Codex from InternScience/ChemClaw. It costs 45 tokens per session (3,798 once invoked), scanned A, original, MIT.

A chemical naming tool that converts SMILES, a text format for describing molecular structures, into IUPAC chemical names. It also validates structures, calculates selected molecular properties, supports batches and polymer markers, and can retain stereochemistry.

In plain words
What is it for?
Use it to name one or many molecules from SMILES, check whether a SMILES is valid, and review molecular weight, LogP, TPSA, and confidence information.
Why use it?
It avoids manually interpreting a molecular text string and looking up its formal name. Multiple lookup and conversion methods provide fallback when one source does not return a result.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to name one or many molecules from SMILES, check whether a SMILES is valid, and review molecular weight, LogP, TPSA, and confidence information.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/internscience/chemclaw/smiles-to-iupac
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 InternScience/ChemClaw --skill smiles-to-iupac
Clone the repo
git clone --depth 1 https://github.com/InternScience/ChemClaw

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 smiles-to-iupac

README.md
[![agentmods](https://agentmods.dev/badge/skills/internscience/chemclaw/smiles-to-iupac/github.svg)](https://agentmods.dev/skills/internscience/chemclaw/smiles-to-iupac)
Your own site
<a href="https://agentmods.dev/skills/internscience/chemclaw/smiles-to-iupac"><img src="https://agentmods.dev/badge/skills/internscience/chemclaw/smiles-to-iupac/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 smiles-to-iupac

Your own site · 80×15
<a href="https://agentmods.dev/skills/internscience/chemclaw/smiles-to-iupac"><img src="https://agentmods.dev/badge/skills/internscience/chemclaw/smiles-to-iupac.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,798 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.00045 $0.03798
Opus 5 $0.00023 $0.01899
Sonnet 5 $0.00009 $0.00760
Haiku 4.5 $0.00005 $0.00380

Measured 11d ago against content hash 03dc82d660cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

smiles-to-iupac 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 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/smiles_to_iupac.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/smiles-to-iupac/SKILL.md · 455 lines

How it starts

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

SMILES to IUPAC Name Converter (Optimized)

将 SMILES 字符串转换为 IUPAC 化学名称,使用多种方法智能转换:PubChem API、NCI/CADD、STOUT (Docker)、RDKit-InChI。

触发条件

  • 用户提供 SMILES 并要求转换
  • 提到"SMILES 转 IUPAC"、"smiles to iupac"
  • 说"这个 SMILES 叫什么"、"命名这个分子"
  • 提供 SMILES 字符串并要求化学名称

功能特性

  • 多方法支持 - PubChem、NCI/CADD、STOUT、RDKit-InChI
  • 智能降级 - 自动尝试多种方法直到成功
  • SMILES 验证 - 使用 RDKit 验证 SMILES 有效性
  • 分子性质 - 计算分子量、LogP、TPSA 等
  • 聚合物支持 - 自动清理聚合物标记
  • 立体化学 - 支持立体化学信息
  • 批量处理 - 支持多个 SMILES 同时转换
  • 置信度评估 - 提供结果置信度

核心模型

方法 来源 返回 置信度 速度
PubChem NCBI IUPAC ⭐⭐⭐⭐⭐
NCI/CADD NCI IUPAC ⭐⭐⭐⭐⭐
STOUT Docker InChI ⭐⭐⭐⭐
RDKit-InChI RDKit InChI ⭐⭐⭐⭐

方法选择逻辑 (auto 模式)

1. PubChem API → 成功?→ 返回 IUPAC 名称
                    ↓ 失败
2. NCI/CADD API → 成功?→ 返回 IUPAC 名称
                     ↓ 失败
3. STOUT (Docker) → 成功?→ 返回 InChI
                       ↓ 失败
4. RDKit-InChI → 生成 InChI → 返回

PubChem PUG-REST API (首选)

  • 来源: NCBI PubChem (>1 亿化合物)
  • 优势:
    • 权威数据源,准确率最高
    • 直接返回 IUPAC 名称
    • 覆盖药物、天然产物等
  • 限制:
    • 需要网络连接
    • 速率限制:~10 请求/秒

NCI/CADD Chemical Identifier Resolver (备选)

  • 来源: NCI/CADD
  • 优势:
    • 权威数据源
    • 支持多种化学标识符
    • 准确率与 PubChem 相当
  • 限制:
    • 需要网络连接
    • 某些化合物可能无 IUPAC 名称

STOUT (Docker) (本地方案)

  • 架构: Docker 容器 + RDKit
  • 优势:
    • 本地运行,保护隐私
    • 不依赖外部 API
    • 生成 InChI 标准化标识
  • 限制:
    • 需要安装 Docker
    • 需要安装 stout

RDKit-InChI (最终方案)

  • 来源: RDKit + InChI
  • 优势:
    • 完全本地运行
    • 生成标准化 InChI
    • InChI 可转换为 IUPAC
  • 限制:
    • 返回 InChI 而非直接 IUPAC

使用方法

对话框中使用

把 CCO 转成 IUPAC 名称
SMILES: CC(=O)Oc1ccccc1C(=O)O,转 IUPAC
smiles to iupac: C1=CC=C(C=C1)O
自动转换这个 SMILES

命令行使用

# 基本转换(自动选择最佳方法)
python3 scripts/smiles_to_iupac.py -s "CCO"

# 指定使用 PubChem
python3 scripts/smiles_to_iupac.py -s "CCO" -m pubchem

# 指定使用 NCI/CADD
python3 scripts/smiles_to_iupac.py -s "CCO" -m nci

# 指定使用 STOUT (Docker)
python3 scripts/smiles_to_iupac.py -s "CCO" -m stout

# 指定生成 InChI
python3 scripts/smiles_to_iupac.py -s "CCO" -m inchi

# 指定输出目录
python3 scripts/smiles_to_iupac.py -s "CCO" -o ./results

# 不计算分子性质(加快速度)
python3 scripts/smiles_to_iupac.py -s "CCO" --no-properties

# 安静模式(输出 JSON)
python3 scripts/smiles_to_iupac.py -s "CCO" -q

Read the full file on GitHub · 455 lines

Files

What ships with it

4 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. 11d ago First seen · 455 lines · 45 tokens per session scan A 03dc82d660cd

Subscribe to this mod's changes

smiles-to-iupac is a skill published in the GitHub repository InternScience/ChemClaw (52 stars, last pushed 5mo ago), licensed MIT. It adds 45 tokens to every session and 3,798 once invoked, about $0.0002 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

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

phylogenetics

Build and analyze phylogenetic trees using MAFFT (multiple alignment), IQ-TREE 2 (maximum likelihood), and FastTree (fast NJ/ML). Visualize with ETE3 or FigTree. For evolutionary analysis, microbial genomics, viral phylodynamics, protein family analysis, and molecular clock studies.

K-Dense-AI/scientific-agent-skills · 68 tokens

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

mapping-to-snomed

Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary. Use when the user wants to code findings, disorders, procedures, body structures, or substances to SNOMED CT, run an ECL…

maziyarpanahi/openmed · 205 tokens