Organic chemistry

From XuShuwenn/RedAct · View interactive version

Organic chemistry is an AI agent skill from the GitHub repository XuShuwenn/RedAct. This skill covers identifying the type of organic reaction from reaction SMILES.

How to use this skill

Skill file

Organic Chemistry: Reaction Type Classification

Overview

This skill covers identifying the type of organic reaction from reaction SMILES.

Reaction SMILES Format

Reactants and products are separated by >>:

reactant1.reactant2>>product1.product2

Core Reaction Types

1. Elimination

2. Addition

3. Substitution

4. Reduction

5. Oxidation

Decision Logic

1. Count reactant atoms (C, H, O, halogens)
2. Count product atoms
3. Compare:
   - If H increased AND halogen decreased → REDUCTION
   - If H decreased AND O/halogen decreased → ELIMINATION
   - If H decreased AND O increased → OXIDATION
   - If H increased AND halogen increased → ADDITION
   - If heavy atoms same but atom types changed → SUBSTITUTION

Example Analysis

Reaction: CCBr>>CC

Reactants: C2H5Br

Products: C2H6

This is reduction (halogen lost, hydrogen gained)

Reaction: CCO>>C=C

Reactants: C2H5OH

Products: C2H4

This is elimination (loss of H and OH as water, double bond formed)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.