Cheminformatics logo

Cheminformatics

Organization
awslabs
cheminformatics

Cheminformatics pipeline for small-molecule property calculation, filtering, and similarity analysis using RDKit. Use when the user asks to compute molecular descriptors, filter compounds by Lipinski or Veber rules, detect PAINS, calculate fingerprint similarity, run matched molecular pair analysis, generate ADMET descriptors, or process SMILES. Triggers include "RDKit", "molecular descriptors", "Lipinski", "rule of five", "Veber", "PAINS", "pan-assay interference", "Morgan fingerprint", "Tanimoto", "fingerprint similarity", "matched molecular pair", "MMP", "mmpdb", "ADMET", "druglikeness", "SMILES", "cheminformatics", "compound filtering", "chemical similarity".

Overview

Publisherawslabs
Repositoryhcls-agent-skills
Skill namecheminformatics
Stars
71
Forks
14
Bundled files
Instructions only
LicenseMIT-0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by awslabs on GitHub. Read the source before you install it.

Installation

Install the Cheminformatics AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/awslabs/hcls-agent-skills/tree/main/skills/cheminformatics
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/awslabs/hcls-agent-skills.git /tmp/hcls-agent-skills
mkdir -p .claude/skills
cp -r /tmp/hcls-agent-skills/skills/cheminformatics .claude/skills/cheminformatics
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Cheminformatics in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Cheminformatics on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Cheminformatics is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Cheminformatics (RDKit) — Pipeline Skill (Thin Scaffold)

Overview

Adds fingerprint selection logic, filter cascade ordering, and version-specific gotchas for RDKit workflows. The agent already knows RDKit syntax — this skill prevents parameter mismatches and deprecated API usage.

Usage

  • Activate when filtering compound libraries (Lipinski/Veber/PAINS)
  • Activate for fingerprint similarity search or clustering
  • Activate for matched molecular pair (MMP) analysis with mmpdb

Core Concepts

Filter cascade order: Lipinski → Veber → PAINS → similarity (cheapest first, most expensive last).

Fingerprint API: Use rdFingerprintGenerator module exclusively (since RDKit 2024.03). The AllChem.GetMorganFingerprintAsBitVect() path is deprecated and will be removed.

SMILES validation: Always parse with sanitize=False then explicit SanitizeMol() in try/except. Default MolFromSmiles silently returns None on partial failures.

Decision Logic

Fingerprint Selection

GoalFingerprintParametersTanimoto threshold
General similarityMorgan (ECFP4)radius=2, fpSize=2048≥ 0.7
High-specificity matchingMorgan (ECFP6)radius=3, fpSize=4096≥ 0.6
Substructure screeningMACCS 166 keys—≥ 0.8
Pharmacophore similarityFCFPradius=2, GetMorganFeatureAtomInvGen()≥ 0.6
Large-scale clusteringMorganradius=2, fpSize=1024Speed over precision

Filter Thresholds

FilterRuleThresholdNotes
Lipinski MW≤ 500 DaAllow ≤1 violation totalNot binary pass/fail
Lipinski LogP≤ 5——
Lipinski HBD≤ 5——
Lipinski HBA≤ 10——
Veber TPSA≤ 140 ŲHard cutoff—
Veber RotBonds≤ 10Hard cutoff—
PAINSA+B+C catalogsHTS triage onlyDon't apply to advanced compounds

MMP Analysis Decision

ScenarioToolKey parameter
SAR from compound pairsmmpdb fragment → index → transform--min-pairs 3
Property predictionmmpdb predictRequires indexed DB with property data
Core identificationrdFMCS.FindMCS()ringMatchesRingOnly=True, completeRingsOnly=True
Large libraries (>10K)mmpdb CLI--max-variable-size 10 to limit fragmentation

Critical Parameters

ParameterValueWhen to change
Morgan radius2 (ECFP4)3 for higher specificity
fpSize20481024 for speed; 4096 for precision
includeChiralityFalseTrue for stereo-sensitive applications
Lipinski max_violations10 for strict; exempt biologics entirely
mmpdb --min-pairs3Lower for sparse datasets
mmpdb --max-variable-size10Increase for macrocycle transformations
PAINS catalogsA+B+C (all three)Never use partial sets

Common Mistakes

  • Wrong: AllChem.GetMorganFingerprintAsBitVect() → Right: rdFingerprintGenerator.GetMorganGenerator(radius=2, fpSize=2048).GetFingerprint(mol) → Why: AllChem FP functions deprecated since RDKit 2024.03, will be removed

  • Wrong: Default MolFromSmiles(smi) without error handling → Right: MolFromSmiles(smi, sanitize=False) + SanitizeMol() in try/except → Why: Default silently returns None; explicit sanitize catches partial failures

  • Wrong: Lipinski as hard binary filter → Right: Allow ≤1 violation → Why: Many approved drugs violate one rule; binary filtering rejects valid candidates

  • Wrong: PAINS on clinical candidates → Right: PAINS only for HTS library triage → Why: Designed for screening artifacts; flags valid advanced compounds

  • Wrong: Morgan radius=1 → Right: radius=2 minimum (ECFP4) → Why: Radius 1 loses structural information; too many false-positive similarities

  • Wrong: Comparing FPs with different radius or nBits → Right: Identical parameters for both FPs → Why: Tanimoto only meaningful in same parameter space

  • Wrong: Ignoring stereochemistry for chiral compounds → Right: includeChirality=True in generator → Why: Default treats enantiomers as identical

  • Wrong: Fixed 0.7 threshold for all FP types → Right: Validate threshold per fingerprint type and chemical series → Why: 0.7 convention is ECFP4-specific; other types need different cutoffs

  • Wrong: Raw SMILES into mmpdb → Right: Pre-canonicalize with MolToSmiles(MolFromSmiles(smi)) → Why: mmpdb expects canonical SMILES; non-canonical causes fragmentation errors

  • Wrong: Confusing LogP with LogD → Right: Use LogD at pH 7.4 for ionizable compounds; RDKit computes LogP only → Why: LogP overestimates lipophilicity for ionizable molecules at physiological pH

Response Format

  • Lead with the command or code the user needs — explain after
  • Structure as: confirm inputs → working code → key parameters explained → gotchas
  • One complete working example per task; do not show every alternative
  • Keep code comments minimal and functional
  • Target: 50-100 lines of code with brief surrounding explanation

Frequently asked questions

What does the Cheminformatics AI skill do?

Cheminformatics pipeline for small-molecule property calculation, filtering, and similarity analysis using RDKit. Use when the user asks to compute molecular descriptors, filter compounds by Lipinski or Veber rules, detect PAINS, calculate fingerprint similarity, run matched molecular pair analysis, generate ADMET descriptors, or process SMILES. Triggers include "RDKit", "molecular descriptors", "Lipinski", "rule of five", "Veber", "PAINS", "pan-assay interference", "Morgan fingerprint", "Tanimoto", "fingerprint similarity", "matched molecular pair", "MMP", "mmpdb", "ADMET", "druglikeness",...

Why use Cheminformatics on TypingMind?

Because you install it once and use it with any model. Cheminformatics is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Cheminformatics in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/awslabs/hcls-agent-skills/tree/main/skills/cheminformatics. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Cheminformatics?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Cheminformatics?

As many as you like. As long as a model supports skills, you can use Cheminformatics with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Cheminformatics AI skill free?

Yes. It is published on GitHub by awslabs under the MIT-0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇