Isomer counting

From XuShuwenn/RedAct · View interactive version

Isomer counting is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Count structural isomers for a given molecular formula by determining possible constitutional isomer configurations.

How to use this skill

Skill file

Structural Isomer Counting

When to Use

Input Format

File /root/input.txt with molecular formula (e.g., C4H10)

Output Format

To /root/output.txt:

Number of isomers: [count]

Key Concepts

Approach

  1. Parse molecular formula to get atom counts
  2. Generate all possible connectivity arrangements
  3. Filter valid chemical structures
  4. Count unique isomers

Tips

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.