mol-2d-viewer

Convert SMILES strings or chemical names into 2D molecular drawings with RDKit.

52|11|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/InternScience/ChemClaw --skill mol-2d-viewer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mol-2d-viewer
Source: https://github.com/InternScience/ChemClaw/tree/main/skills/mol-2d-viewer
Command: npx skills add https://github.com/InternScience/ChemClaw --skill mol-2d-viewer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires rdkit, requests, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Converts SMILES strings or chemical names into 2D molecular structure drawings, including polymers, enabling quick visualization for research and teaching.

Core Features & Use Cases

  • Draws accurate 2D structures from SMILES or IUPAC names
  • Polymer support: renders polymers with repeating units and linkers
  • Outputs PNG or SVG, with batch processing for multiple inputs

Quick Start

输入一个 SMILES 或名称,绘制其分子 2D 结构图并保存为图片。

Frequently Asked Questions about mol-2d-viewer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a SMILES string to a 2D molecular structure drawing?

To convert SMILES strings to 2D molecular structures, the Skill uses RDKit rendering to translate the text input into an accurate 2D diagram. It accepts SMILES strings or chemical names and outputs the visualization directly.

Can I render 2D chemical structures from IUPAC names instead of SMILES?

Yes, you can render 2D chemical structures from IUPAC names. The Skill uses OPSIN to interpret chemical names and convert them into 2D molecular structure drawings, providing an accurate visualization without requiring SMILES input.

Does this tool support drawing polymers with repeating units in 2D?

Yes, this tool supports drawing polymers with repeating units in 2D. It implements specialized polymer handling to render repeating units and linkers accurately, making it suitable for complex polymer visualization tasks in chemical research.

What is the best way to batch process multiple SMILES strings for 2D visualization?

The best way to batch process multiple SMILES strings is to provide multiple inputs to the Skill. It supports batch processing to generate multiple 2D molecular structure drawings simultaneously, outputting them as either PNG or SVG files.

Do I need RDKit installed to generate 2D molecule diagrams from chemical names?

You do not need to manually install RDKit to generate 2D molecule diagrams, as the Skill manages its own dependencies including RDKit and OPSIN. You simply provide the chemical names or SMILES strings to get the 2D structure outputs.

Can I export the rendered 2D molecular structures as SVG or PNG files?

Yes, you can export the rendered 2D molecular structures as SVG or PNG files. The Skill supports both image output formats, allowing you to save the visualizations generated from SMILES strings or chemical names for research and education purposes.