If you're filtering compound libraries in drug discovery, this gives you the standard medicinal chemistry toolkit in one place. It wraps Lipinski's Rule of Five, Veber, PAINS filters, and structural alerts from sources like NIBR and Lilly into a clean API with parallelization built in. The functional group detection and complexity metrics are handy for lead optimization when you need to go beyond basic drug-likeness rules. It's opinionated about what makes a good drug candidate, which is exactly what you want when triaging thousands of molecules. The query language for combining filters feels a bit over-engineered, but the core filtering functions are solid and faster than writing your own RDKit patterns.

skills.sh installs
241
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill medchem --agent claude-code

Installs into .claude/skills of the current project.

Files

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

uv pip install medchem

Core Capabilities

1. Medicinal Chemistry Rules

Apply established drug-likeness rules to molecules using the medchem.rules module.

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Category
Data Science & ML
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1specstoryai avatarspecstory-project-statsspecstoryai/agent-skillsFetch project statistics from SpecStory Cloud. Run when user says "get project stats", "show SpecStory stats", "project statistics", "how many sessions", or "Sp238skills.sh installs
2davila7 avatardatacommons-clientdavila7/claude-code-templatesWork with Data Commons, a platform providing programmatic access to public statistical data from global sources. Use this skill when working with demographic da225skills.sh installs
3davila7 avatarumap-learndavila7/claude-code-templatesUMAP dimensionality reduction. Fast nonlinear manifold learning for 2D/3D visualization, clustering preprocessing (HDBSCAN), supervised/parametric UMAP, for hig222skills.sh installs
4scientiacapital avatardata-analysisscientiacapital/skillsExecutive-grade data analysis with pandas/polars and McKinsey-quality visualizations. Use when analyzing data, building dashboards, creating investor presentati221skills.sh installs
5guia-matthieu avatarpersona-generatorguia-matthieu/clawfu-skillsCreate research-backed buyer personas that drive real marketing and product decisions. Combine Buyer Personas methodology with Jobs-to-be-Done to build profiles220skills.sh installs
6davila7 avatarcellxgene-censusdavila7/claude-code-templatesQuery CZ CELLxGENE Census (61M+ cells). Filter by cell type/tissue/disease, retrieve expression data, integrate with scanpy/PyTorch, for population-scale single219skills.sh installs