Skip to content
TakoAPI
Back to skills

chemistry-query

by cheminem

Web & Frontend Development
482Downloads reported by clawskills.sh
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

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

Description

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

INPUT

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

AGENT
  1. 1

    Resolves 'caffeine' to a canonical SMILES string via PubChem

  2. 2

    Computes molecular properties: MW, logP, TPSA, HBD, HBA, rotatable bonds

  3. 3

    Runs BRICS retrosynthesis to depth 2 and returns precursor fragments

  4. 4

    Generates a 2D PNG structure image

  5. 5

    Returns unified JSON with props, retro fragments, and image path

OUTPUT

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

Installation

clawhub install cheminem/chemistry-query

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links