Agent skill

medchem

Medicinal chemistry filters for compound triage. Apply drug-likeness rules (Lipinski, Veber, CNS), structural alert catalogs (PAINS, NIBR, ChEMBL), complexity metrics, and the medchem query language for library filtering.

K-Dense-AIgithub.com/K-Dense-AIGitHub ↗
claude-codecan modify filesships scriptsMIT
Install
npx skills add K-Dense-AI/scientific-agent-skills --skill medchem --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 4
SKILL.md size: 10 KB
Bundled scripts: yes
Version: 1.1
Allowed tools: ReadWriteEditBash
Requires: Requires Python 3.9+ and datamol (installed with medchem). Optional Lilly demerit filter requires separate…
Path: skills/medchem/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 32,619
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Medchem ## Overview Medchem is a Python library from [datamol-io](https://github.com/datamol-io/medchem) for molecular filtering and prioritization in drug discovery. Apply literature-derived drug-likeness rules, named alert catalogs, complexity thresholds, chemical-group detection, and a custom query language to triage compound libraries at scale. Filters are context-specific guidelines — combine with domain expertise and target knowledge. **Version note:** Examples target **medchem 2.0.5** (PyPI stable, Nov 2024). Requires **Python ≥3.9**. Depends on **datamol** and **RDKit** (installed automatically). `RuleFilters` and structural filter classes return **pandas DataFrames**. Lilly demerits require optional native binaries (`mamba install lilly-medchem-rules`). ## When to Use This Skill This skill should be used when: - Applying drug-likeness rules (Lipinski, Veber, CNS, lead-like) to compound libraries - Filtering molecules by structural alerts, PAINS, or NIBR screening-deck rules - Prioritizing compounds for hit-to-lead or lead optimization - Calculating complexity metrics against ZINC-derived thresholds - Detecting functional groups or named substructure catalogs - Building m

What's inside
Steps it walks through
  1. Overview
  2. When to Use This Skill
  3. Installation
  4. Core Capabilities
  5. 1. Medicinal Chemistry Rules
  6. 2. Structural Alert Filters
  7. 3. Named Catalog Filters (PAINS, Brenk, etc.)
  8. 4. Functional API
  9. 5. Chemical Groups
  10. 6. Molecular Complexity
  11. 7. Scaffold Constraints
  12. 8. Medchem Query Language
  13. Workflow Patterns
  14. Pattern 1: Initial Triage of a Compound Library
Ships with 3 files
  • references/api_guide.md
  • references/rules_catalog.md
  • scripts/filter_molecules.py
Commands it runs
uv pip install medchem datamol
mamba install -c conda-forge lilly-medchem-rules
uv run python scripts/filter_molecules.py input.csv \
More from scientific-agent-skills
All skills →
About this skill
What does the medchem skill do?

Medicinal chemistry filters for compound triage. Apply drug-likeness rules (Lipinski, Veber, CNS), structural alert catalogs (PAINS, NIBR, ChEMBL), complexity metrics, and the medchem query language for library filtering.

How do I install it?

Run `npx skills add K-Dense-AI/scientific-agent-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 K-Dense-AI/scientific-agent-skills, a repository with 32,619 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.

Keep going