Organic chemistry

From XuShuwenn/RedAct · View interactive version

Organic chemistry is an AI agent skill from the GitHub repository XuShuwenn/RedAct. This skill covers counting structural (constitutional) isomers for alkane molecules given their molecular formula.

How to use this skill

Skill file

Organic Chemistry: Isomer Counting

Overview

This skill covers counting structural (constitutional) isomers for alkane molecules given their molecular formula.

Alkane Formulas

Alkanes follow the formula CnH2n+2 (saturated hydrocarbons).

Counting Structural Isomers

Structural isomers have the same formula but different connectivity. For alkanes:

Rules for Valid Alkane Structures

  1. Each carbon has exactly 4 bonds
  2. No double bonds or rings (saturated)
  3. All carbons must be connected in a chain or branched arrangement

Method

For a given formula CnH2n+2:

  1. Determine if straight-chain (no branching) is possible → 1 isomer
  2. Count branched possibilities:

Known Isomer Counts

| Formula | # Isomers | Names |

|---------|-----------|-------|

| C1H4 | 1 | methane |

| C2H6 | 1 | ethane |

| C3H8 | 1 | propane |

| C4H10 | 2 | butane, isobutane |

| C5H12 | 3 | pentane, isopentane, neopentane |

| C6H14 | 5 | hexane isomers |

| C7H16 | 9 | heptane isomers |

| C8H18 | 18 | octane isomers |

Validation

To verify your count:

Example

C4H10 (butane): 2 isomers

C5H12 (pentane): 3 isomers

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.