cheminformatics-reactions
БесплатноЗапускает вложенные скриптыНе проверенProposes and models organic reactions, retrosynthesis, multi-step synthesis routes, intramolecular cyclizations, and reaction SMARTS: checks experimental…
от sharkrebel★ 94 звезды на GitHubОб этом скилле
RDKit Chemical Reactions & Mechanism Arrows (cheminformatics-reactions)
Prerequisites
rdkit-general: Read therdkit-generalskill before running any workflow here.uv: Read theuvskill and follow its Setup instructions to ensureuvis installed and on PATH. Always execute skill scripts asuv run /path/to/script.py ...(orpython3 /path/to/script.py ...); never runuv run python3 /path/to/script.py, as placingpython3afteruv runbypasses the script's PEP 723# /// scriptdependency block.- User Notification: If
.licenses/cheminformatics_reactions_LICENSE.txtdoes not already exist in the workspace root then (1) prominently notify the user of the terms of use for the tools and data sources this skill relies on, then (2) create the file recording the notification text and timestamp:- RDKit: BSD 3-Clause License (Landrum et al.)
- Open Reaction Database (ORD) (CC BY-SA 4.0,
https://open-reaction-database.org), PubChem PUG REST, and Google
Patents (https://patents.google.com), when running
../cheminformatics_doc2mol/scripts/precedent_lookup.py
Core Rules
- Shared foundation rules: Follow all core rules in
../rdkit_general/SKILL.md. - Precedent-first reaction & synthesis design: Before proposing a
reaction, conditions, or synthesis route, unless prompted otherwise by the
user, search ORD/USPTO and Google Patents via
uv run ../cheminformatics_doc2mol/scripts/precedent_lookup.py --api all(--product "<TARGET_SMILES>",--reaction-smiles "R_SMILES>>P_SMILES", or--batch-json <steps.json>) plus peer-reviewed literature (pubmed-database,literature-search-openalex). Adopt or adapt attested routes and conditions (citing ORD IDs, patent numbers, or DOIs/PMIDs); design de novo steps only when no viable precedent exists and explicitly label them as proposed extensions. - Electron-pushing arrows on every transformation: Any reaction,
intramolecular cyclization, or synthesis step you propose or depict must be
delivered as a 2D diagram with curved electron-pushing arrows (rendered in
Crimson
#E11D48), generated byscripts/render_mechanism.py. Never substitute a straight arrow or a static precursor/product compound grid for a transformation. - Decompose cofactor- or catalyst-mediated reactions into elementary
steps: When an enzymatic or catalytic transformation involves a cofactor
or catalyst, never depict the composite net reaction as a single concerted
step without the cofactor or catalyst. Always include the explicit cofactor
or catalyst SMILES (with
atom_labelsfor abbreviated prosthetic groups, ligands, or residues as needed) and step through the elementary catalytic sequence (activation, substrate turnover, and resting-state regeneration).
1. Geometric, Stereochemical, & Residue Identity Invariants
Read references/mechanism_arrow_geometry.md for complete Bézier curve
equations, glyph exclusion radii ($r_{\text{glyph}}$), double-bond normal
clearance ($0.24\text{ cm}$), and amino acid residue SMILES templates.
- Reaction Orientation & Kekulé Consistency (
--auto-rotate&scripts/rotation_solver.py): Pass--auto-rotateon the CLI (or"auto_rotate": truein JSON/YAML) to automatically solve 12-angle ChemDraw/IUPAC orientations for reactants and MCS minimum-RMSD scaffold alignment for products.render_mechanism.pyautomatically selects the arrow-consistent Kekulé resonance contributor on aromatic reactants, preserves post-arrow Kekulé bond orders on aromatic products, and aligns product ring scaffolds via 2D $O(2)$ Procrustes overCompareAnyMCS so rings (e.g., $\text{NAD}^+ \leftrightarrow \text{NADH}$) never mirror-flip relative to reactants. - Explicit Hydrogens (
add_h), Dummy Labels (atom_labels), & Amino Acid Side-Chain Identity Gate:- Pass
add_h: {"r1": parent_atom_idx}whenever an arrow starts or ends on a $\text{C}-\text{H}$ or heteroatom $-\text{H}$ bond; omit"side"on short intramolecular proton transfers socompute_attack_bezierselects the direct interior arc. - Provide
atom_labels: {atom_idx: "Label"}for dummy attachments (*). - Amino Acid Side-Chain Identity Gate:
verify_mechanism_with_electron_graphenforces that any molecule whosenameoratom_labelsnames a canonical amino acid residue uses its authentic functional group (e.g.*c1cnc[nH]1/*c1c[nH+]c[nH]1forHis,*CC(=O)[O-]/*C(=O)[O-]forAsp/Glu,*CS/*C[S-]forCys,*COforSer,*CC[NH3+]forLys; seereferences/mechanism_arrow_geometry.mdfor all 20 residues).
- Pass
- **Collision-F
Установить cheminformatics-reactions в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл cheminformatics-reactions?
Proposes and models organic reactions, retrosynthesis, multi-step synthesis routes, intramolecular cyclizations, and reaction SMARTS: checks experimental precedents first, validates atom conservation, prochirality (pro-R/pro-S, Re/Si), topicity, 1H/13C NMR equivalence, and stereogenesis, and renders 2D curved-arrow mechanisms.
Как установить скилл cheminformatics-reactions?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл cheminformatics-reactions запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic