ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified data analysis Safety 5/5

intern_pubchem_name_conversion

Convert molecules between IUPAC, SMILES, and molecular formula using PubChem as the source of truth. Use this whenever the user asks to convert, normalize, or cross-check molecular representations in chemistry/science workflows (including Intern research tasks). Prefer API lookup over memory; do not guess.

Why use this skill?

Easily convert chemical names, IUPAC, SMILES, and formulas using the PubChem API. Perfect for chemistry workflows and data analysis.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/guox18/intern-pubchem-name-conversion
Or

What This Skill Does

The intern_pubchem_name_conversion skill acts as a specialized bridge between human-readable chemical nomenclature and machine-readable molecular data. By leveraging the comprehensive PubChem database, this skill performs high-precision conversions between IUPAC names, molecular formulas, and SMILES strings. It is designed to ensure that OpenClaw agents maintain scientific accuracy by strictly utilizing the PubChem API as their primary source of truth rather than relying on potentially hallucinated internal training data. The skill handles the complexities of URL encoding, multi-step API resolution (including fast-identity and CID-based fallbacks), and data mapping from PubChem's JSON output structures.

Installation

You can integrate this skill into your environment by running the following command in your terminal: clawhub install openclaw/skills/skills/guox18/intern-pubchem-name-conversion

Use Cases

This skill is indispensable for laboratory research workflows, educational chemistry tools, and computational biology tasks. Common use cases include:

  • Normalizing a list of chemical names into a standardized IUPAC format.
  • Generating SMILES strings from common drug names to feed into downstream chemoinformatics pipelines.
  • Verifying the molecular formula of a given chemical structure to ensure data integrity.
  • Cross-referencing disparate chemical identifiers used by different research teams or datasets.

Example Prompts

  1. "What is the IUPAC name and molecular formula for the molecule represented by the SMILES string C1=CC=CC=C1?"
  2. "Convert 'Aspirin' to its corresponding SMILES representation and provide the chemical formula."
  3. "Check if these two representations refer to the same compound: O=C(O)C1=CC=CC=C1 and Benzoic acid."

Tips & Limitations

  • Precision First: The skill is configured to treat specific characters like brackets, signs, and digits as indicators of a SMILES string. If a string is ambiguous, provide context for the best results.
  • No Memory Reliance: Always expect the agent to trigger the PubChem API. This ensures that you receive the most current data, including any recent updates or corrections in the PubChem registry.
  • Error Handling: If a lookup fails, the skill returns empty fields rather than guessing, allowing your workflow to handle missing data gracefully through your own conditional logic.
  • Stereochemistry: The skill preserves stereochemistry markers exactly as provided by the database; users should not attempt to normalize these manually as it may change the identity of the molecule.

Metadata

Author@guox18
Stars2387
Views1
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-guox18-intern-pubchem-name-conversion": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#chemistry#molecular-data#pubchem#science#chemoinformatics
Safety Score: 5/5

Flags: network-access, external-api