Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

cheminformatics-reactions

БесплатноЗапускает вложенные скриптыНе проверен

Proposes and models organic reactions, retrosynthesis, multi-step synthesis routes, intramolecular cyclizations, and reaction SMARTS: checks experimental…

sharkrebelот sharkrebel★ 94 звезды на GitHub

Об этом скилле

RDKit Chemical Reactions & Mechanism Arrows (cheminformatics-reactions)

Prerequisites

  1. rdkit-general: Read the rdkit-general skill before running any workflow here.
  2. uv: Read the uv skill and follow its Setup instructions to ensure uv is installed and on PATH. Always execute skill scripts as uv run /path/to/script.py ... (or python3 /path/to/script.py ...); never run uv run python3 /path/to/script.py, as placing python3 after uv run bypasses the script's PEP 723 # /// script dependency block.
  3. User Notification: If .licenses/cheminformatics_reactions_LICENSE.txt does 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:

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 by scripts/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_labels for 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.

  1. Reaction Orientation & Kekulé Consistency (--auto-rotate & scripts/rotation_solver.py): Pass --auto-rotate on the CLI (or "auto_rotate": true in JSON/YAML) to automatically solve 12-angle ChemDraw/IUPAC orientations for reactants and MCS minimum-RMSD scaffold alignment for products. render_mechanism.py automatically 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 over CompareAny MCS so rings (e.g., $\text{NAD}^+ \leftrightarrow \text{NADH}$) never mirror-flip relative to reactants.
  2. 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 so compute_attack_bezier selects the direct interior arc.
    • Provide atom_labels: {atom_idx: "Label"} for dummy attachments (*).
    • Amino Acid Side-Chain Identity Gate: verify_mechanism_with_electron_graph enforces that any molecule whose name or atom_labels names a canonical amino acid residue uses its authentic functional group (e.g. *c1cnc[nH]1 / *c1c[nH+]c[nH]1 for His, *CC(=O)[O-] / *C(=O)[O-] for Asp/Glu, *CS / *C[S-] for Cys, *CO for Ser, *CC[NH3+] for Lys; see references/mechanism_arrow_geometry.md for all 20 residues).
  3. **Collision-F
Полный SKILL.md на GitHub

Установить cheminformatics-reactions в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/atom_conservation_and_smarts_verification.mdreferences/mechanism_arrow_geometry.mdreferences/mechanism_json_recipes.mdreferences/reaction_catalog_100.mdscripts/build_gallery.pyscripts/electron_graph.pyscripts/eln_reaction_table.pyscripts/prochirality.pyscripts/reaction_smarts.pyscripts/reaction_specs_100.pyscripts/reaction_to_cdxml.pyscripts/reactions_data.pyscripts/render_mechanism.pyscripts/rotation_solver.pyscripts/verify_atom_conservation.py

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить cheminformatics-reactions с