medchem
Medicinal chemistry filters. Apply drug-likeness rules (Lipinski, Veber), PAINS filters, structural alerts, complexity metrics, for compound prioritization and library filtering.
npx skills add LeonChaoX/qinyan-academic-skills --skill medchem --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Medchem ## Overview Medchem is a Python library for molecular filtering and prioritization in drug discovery workflows. Apply hundreds of well-established and novel molecular filters, structural alerts, and medicinal chemistry rules to efficiently triage and prioritize compound libraries at scale. Rules and filters are context-specific—use as guidelines combined with domain expertise. ## When to Use This Skill This skill should be used when: - Applying drug-likeness rules (Lipinski, Veber, etc.) to compound libraries - Filtering molecules by structural alerts or PAINS patterns - Prioritizing compounds for lead optimization - Assessing compound quality and medicinal chemistry properties - Detecting reactive or problematic functional groups - Calculating molecular complexity metrics ## Installation ```bash uv pip install medchem ``` ## Core Capabilities ### 1. Medicinal Chemistry Rules Apply established drug-likeness rules to molecules using the `medchem.rules` module. **Available Rules:** - Rule of Five (Lipinski) - Rule of Oprea - Rule of CNS - Rule of leadlike (soft and strict) - Rule of three - Rule of Reos - Rule of drug - Rule of Veber - Golden triangle - PAINS filters **Sing
- Overview
- When to Use This Skill
- Installation
- Core Capabilities
- 1. Medicinal Chemistry Rules
- 2. Structural Alert Filters
- 3. Functional API for High-Level Operations
- 4. Chemical Groups Detection
- 5. Named Catalogs
- 6. Molecular Complexity
- 7. Constraints Filtering
- 8. Medchem Query Language
- Workflow Patterns
- Pattern 1: Initial Triage of Compound Library
uv pip install medchem python scripts/filter_molecules.py input.csv --rules rule_of_five,rule_of_cns --alerts nibr --output filtered.csv
What does the medchem skill do?
Medicinal chemistry filters. Apply drug-likeness rules (Lipinski, Veber), PAINS filters, structural alerts, complexity metrics, for compound prioritization and library filtering.
How do I install it?
Run `npx skills add LeonChaoX/qinyan-academic-skills --skill medchem --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From LeonChaoX/qinyan-academic-skills, a repository with 759 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
