Logo: Chemical Space

Chemical Space

Organisatioun
K-Dense-AI
chemical-space

Navigate make-on-demand catalogues — ZINC-22 through CartBlanche and Enamine REAL Space — to find compounds that can actually be ordered. Use this skill to look substances up by ZINC identifier or structure, understand tranche partitioning by heavy-atom count and logP, and choose between screening an enumerated subset and searching a combinatorial synthon space with a fragment-growing method such as V-SYNTHES. Also trigger on ZINC22, CartBlanche, Enamine REAL, make-on-demand, tangible library, synthon, tranche, giga-scale enumeration, or ultra-large virtual screening.

Iwwersiicht

EditeurK-Dense-AI
Repositorydrug-discovery-agent-skills
Skill-Nummchemical-space
Stären
51
Forks
5
Matgeliwwert Dateien
6
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 6 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    K-Dense-AI huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Chemical Space an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/K-Dense-AI/drug-discovery-agent-skills/tree/main/skills/chemical-space
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/K-Dense-AI/drug-discovery-agent-skills.git /tmp/drug-discovery-agent-skills
mkdir -p .claude/skills
cp -r /tmp/drug-discovery-agent-skills/skills/chemical-space .claude/skills/chemical-space
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Chemical Space an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Chemical Space automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Chemical Space net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Purchasable Chemical Space

Make-on-demand catalogues turned virtual screening from "the million compounds we own" into "the tens of billions a vendor will synthesise". ZINC-22 holds about 54.9 billion 2D structures drawn from Enamine, WuXi, and Mcule; Enamine REAL Space defines around 94 billion combinatorially. This skill is about finding compounds in that space that can actually be ordered — and knowing when the space is too large to enumerate at all.

Services: https://cartblanche.docking.org (per-substance JSON) · https://files.docking.org/zinc22 (bulk tranche tree). Both unauthenticated. Checked against: the live services, August 2026.

Read references/zinc22-and-cartblanche.md before calling the API or downloading a tranche, references/combinatorial-spaces.md before assuming a space can be enumerated, and references/screening-strategy.md before designing a cascade — that one is judgement, not syntax.

The two scripts

ScriptAnswers
cartblanche_lookup.pyWhat is this ZINC id, and can I buy it?
space_plan.pyWhich tranches do I need, and what will the screen cost?

The API lies about its own responses

This is the thing to get right. CartBlanche answers unknown routes with HTTP 200, a Content-Type: application/json header, and its React app's HTML:

RouteStatusContent-TypeBody
/substance/ZINC000000000053.json200application/jsonJSON
/substance.json?zinc_id=…200application/jsonHTML shell
/tranches.json200application/jsonHTML shell

Neither the status code nor the header can be trusted; only the body can. get_json() raises a named error when a response begins with <. The one reliable JSON route is /substance/<ZINC id>.json — treat CartBlanche as per-identifier lookup and use the file tree for anything bulk.

Identifiers are zero-padded to twelve digits: ZINC53 does not resolve, ZINC000000000053 does. The scripts accept either.

Can I buy it?

bash
python skills/chemical-space/scripts/cartblanche_lookup.py substance ZINC19632618
zinc_id           smiles                              mwt      logp  heavy_atoms  purchasable  catalogs  min_price
ZINC000019632618  Cc1ccc(NC(=O)c2ccc(CN3CCN(C)CC3)...  493.615  4.59  37           true         281       240

That is imatinib, offered by 281 catalogues from 240 up. catalogs shows supplier, quantity, and lead time per entry.

Existing in ZINC is not the same as being purchasable. An empty catalogs block is a compound that was enumerated but that nobody offers. And a catalogue entry is an order, not a vial: make-on-demand synthesis fails roughly one time in five, with lead times of several weeks.

Which tranches, and what will it cost?

The bulk tree is addressed by heavy-atom count and logP, not molecular weight — H25P200 is 25 heavy atoms and logP 2.0, H25M100 is logP −1.0. A target profile expressed in MW cannot address the directories:

bash
python skills/chemical-space/scripts/space_plan.py tranches --hac-min 18 --hac-max 26 \
    --logp-min 1 --logp-max 4

Then make the funnel explicit before committing compute:

bash
python skills/chemical-space/scripts/space_plan.py cascade --library-size 1e9
stage              input          keep  survivors    core_hours  wall_days_at_cores
property filter    1000000000     0.3   300000000    138.9       0.01
fast dock          300000000      0.01  3000000      250000      10.42
standard dock      3000000        0.1   300000       25000       1.04
rescore / MM-GBSA  300000         0.1   30000        25000       1.04
visual triage      30000          0.2   6000         500         0.02

# 1,000,000,000 in, 6,000 out
# 300,639 core-hours total; 12.5 days on 1000 cores

The property filter is free and removes 70% — always first. Fast docking is 83% of the compute, so that is the only stage where a speedup matters. And 6000 survivors is still far more than anyone buys, so a real campaign ends with diversity selection and a budget cut.

Above 10⁸ compounds, stop enumerating

strategy reports the boundary, and the arithmetic behind it is unforgiving: 94 billion SMILES at 100 bytes is about 9 TB before conformers, and docking each for three seconds is roughly 78 000 core-years.

A combinatorial space is reagents plus reaction rules, not a list — so search it without enumerating it. Dock a minimal fragment library covering every scaffold and synthon, keep the best, and enumerate only those. V-SYNTHES2 reports this over 36 billion REAL Space compounds.

Four ways this misleads

  1. Bigger is sublinearly better. A thousandfold larger library buys closer to one log of affinity, and it does not improve enrichment — false positives scale with N too.
  2. Giga-scale finds your scoring function's blind spots reliably. High molecular weight, over-buried hydrophobics, and strained conformers presented as favourable are systematic artefacts, and a thorough search finds them precisely because it is thorough.
  3. Receptor quality does not scale away. A wrong protonation state costs the same fraction of the answer at any N. Preparing the structure beats enlarging the library.
  4. REAL Space is narrower than its size suggests. It is a product over amide couplings, Suzukis, and reductive aminations; unusual scaffolds are systematically absent.

When to stop using these tools

For similarity and substructure search across REAL Space without enumeration, use SmallWorld (https://sw.docking.org) and Arthor (https://arthor.docking.org). For the full synthon definition of REAL Space you need an agreement with Enamine — identifiers are public, the reagent and reaction files are not.

Composing with the rest of the bundle

  • binding-site-analysis → before: is the pocket worth a billion compounds at all?
  • medchem / rdkit → before: property filters and PAINS removal, at the top of the funnel.
  • autodock-vina → alongside: the docking engine the cascade is costed for.
  • retrosynthesis → alongside: for anything not in a catalogue, can it be made?
  • chembl → after: is a hit series already known against this target?

Reporting results honestly

Give the library actually screened, the keep-fraction at every stage, and whether a redocking control reproduced a known pose. A docking score is not an affinity and a rank is not a potency prediction. Report compounds ordered and compounds received — a hit rate computed against orders rather than deliveries is wrong by about a fifth.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Chemical Space?

Navigate make-on-demand catalogues — ZINC-22 through CartBlanche and Enamine REAL Space — to find compounds that can actually be ordered. Use this skill to look substances up by ZINC identifier or structure, understand tranche partitioning by heavy-atom count and logP, and choose between screening an enumerated subset and searching a combinatorial synthon space with a fragment-growing method such as V-SYNTHES. Also trigger on ZINC22, CartBlanche, Enamine REAL, make-on-demand, tangible library, synthon, tranche, giga-scale enumeration, or ultra-large virtual screening.

Firwat Chemical Space op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Chemical Space besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Chemical Space an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/K-Dense-AI/drug-discovery-agent-skills/tree/main/skills/chemical-space an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Chemical Space benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Chemical Space benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Chemical Space domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Chemical Space gratis?

Jo. K-Dense-AI huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇