LaunchKit · 2026
Back to Skills

chemistry-query

Chemistry agent skill for PubChem API queries (compound info/properties, structures/SMILES/images, synthesis.

0
482 downloads
by @cheminem

Setup & Installation

openclaw skills install @cheminem/chemistry-query

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install chemistry-query

What This Skill Does

Combines PubChem compound lookup with RDKit cheminformatics to retrieve molecular properties, generate 2D structure images, and plan synthesis routes. Accepts compound names or SMILES strings and outputs structured JSON. Includes 21 named reaction templates and BRICS-based retrosynthesis with configurable depth.

Chains PubChem name resolution with RDKit processing in a single call, eliminating manual API queries and separate cheminformatics scripts.

When to use it

  • Looking up molecular weight and logP for a drug candidate by name
  • Generating a 2D structure image of a SMILES string for a report
  • Planning retrosynthesis routes for a target pharmaceutical compound
  • Simulating a Suzuki coupling reaction with custom reactants
  • Finding structurally similar compounds to a known molecule by fingerprint

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: What are the molecular properties and retrosynthesis routes for caffeine?

AGENT
  1. 1Resolves 'caffeine' to a canonical SMILES string via PubChem
  2. 2Computes molecular properties: MW, logP, TPSA, HBD, HBA, rotatable bonds
  3. 3Runs BRICS retrosynthesis to depth 2 and returns precursor fragments
  4. 4Generates a 2D PNG structure image
  5. 5Returns unified JSON with props, retro fragments, and image path
OUTPUT

Structured JSON with molecular properties, BRICS precursors, and a path to the generated PNG