xushuwenn/redact/organic-chemistry-smarts

Claude Code and agent skill by xushuwenn/redact

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Match SMILES molecules against SMARTS patterns to detect functional groups using RDKit.

Install

npx vskill@latest install xushuwenn/redact/organic-chemistry-smarts

SKILL.md

SMARTS Pattern Matching for Molecules

When to Use

  • Check if molecules contain specific functional groups
  • Use SMARTS patterns for substructure search
  • Detect chemical features via pattern matching

Input Format

File /root/input.txt (2 lines):

  • Line 1: SMILES string
  • Line 2: SMARTS pattern

Output Format

To /root/output.txt:

Match: yes/no

Output "yes" if pattern matches, "no" otherwise.

Using RDKit

python
from rdkit import Chem
mol = Chem.MolFromSmiles(smiles)
pattern = Chem.MolFromSmarts(smarts_pattern)
if mol.HasSubstructMatch(pattern):
# Match found

SMARTS Patterns

  • Common patterns for functional groups
  • Use RDKit's SMARTS support for matching
  • Handle aromatic and aliphatic variants

Tips

  • Parse SMILES and SMARTS from input file
  • Use HasSubstructMatch for checking
  • Handle invalid patterns gracefully

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
13
7-day trend score
18

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/xushuwenn/redact/organic-chemistry-smarts/badge)](https://verified-skill.com/skills/xushuwenn/redact/organic-chemistry-smarts)

Something wrong with this skill or its page? Tell us.