medchem
Skill by K-Dense-AI
Applies medicinal chemistry filters to triage compound libraries. It covers drug-likeness rules, structural alerts, complexity metrics and a query language for drug discovery work.
Install medchem
Built from the published package, never by AI.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/medchem ~/.claude/skills/medchemRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/scientific-agent-skills/skills/medchem ~/.gemini/antigravity-cli/skills/medchemAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The medchem skill guides an AI assistant through the medchem Python library from datamol-io for molecular filtering in drug discovery. It covers drug-likeness rules such as Lipinski, Veber, CNS and lead-like rules, structural alert catalogs including PAINS, NIBR and ChEMBL-derived sets, and complexity thresholds based on ZINC-15. It also covers chemical group detection and a query language for combining criteria.
Filters return pandas DataFrames or boolean masks, and they run locally without credentials. The source states the skill was verified with medchem 2.1.1, datamol 0.13.0 and RDKit 2026.3.6 on Python 3.11 or later. It is aimed at medicinal chemists and computational teams triaging compounds for hit-to-lead or lead optimization, and it stresses that filters are context-specific and need domain expertise.
Written from the project's SKILL.md and checked against it.
What it can do
- Drug-likeness rulesApplies Lipinski, Veber, CNS, lead-like and other rules to compound libraries.
- Structural alert filtersFlags problematic patterns using common alert sets and NIBR screening-deck rules.
- Named catalog filtersChecks molecules against RDKit FilterCatalog sets such as PAINS and Brenk.
- Complexity metricsCompares Bertz, SAS, QED and other metrics against ZINC-15 percentile thresholds.
- Chemical group detectionFinds functional groups and curated pattern collections in molecules.
- Scaffold constraintsMatches a core scaffold and applies per-atom constraint functions.
- Query language filteringCombines rules, alerts, properties and substructures in one filter expression.
What you need
- Python 3.11 or later
- medchem, datamol and RDKit packages
- Network access for installation
- C++ compiler, make, zlib and Ruby for optional Lilly tools
Try asking
- Filter this CSV of SMILES with Lipinski and Veber rules
- Flag PAINS and NIBR alerts in my compound list
- Run a CNS rule check and keep molecules with TPSA at or below 90
Good to know
- Lilly native execution was not tested in the source review.
- The alert_filter class defaults to BMS only unless alert sets are set explicitly.
- Filters are context-specific guidelines and need domain expertise.
- bredt_filter kekulizes molecules in place, so pass copies.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/medchem/SKILL.md, skills/medchem/scripts/filter_molecules.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Read Write Edit Bash
-
SKILL.md15 KB -
references/api_guide.md14 KB -
references/rules_catalog.md11 KB -
scripts/filter_molecules.py13 KB
Alternatives to medchem
All alternatives →Searches arXiv for scientific papers and preprints, extracts their metadata and abstracts, and downloads PDF or HTML full text. Suited to users who need research papers, literature or specific arXiv IDs.
Downloads AlphaFold predicted structures and PAE matrices for a UniProt ID, then reports pLDDT confidence, domain boundaries and disorder. Built for users who already have a UniProt accession.
Queries the QuickGO and Evidence & Conclusion Ontology REST API to map genes to Gene Ontology terms. Built for researchers doing functional annotation and GO hierarchy exploration.
Connects an AI assistant to Peloton to browse fitness classes, check live and archived schedules, and manage workouts. Built for Peloton users who want to plan rides from their assistant.
Queries NCBI Gene through the E-utilities and Datasets API. It helps researchers search genes by symbol or ID, retrieve gene details, and run batch lookups for annotation and functional analysis.
Prepares and launches nf-core/pacsomatic runs for matched tumor-normal PacBio HiFi data starting from unaligned BAM files. It generates samplesheets and pinned launch artifacts, then runs locally or submits to a scheduler.
Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database
medchem: common questions
Does medchem need an API key or account?
The source says filters run locally without credentials. Installation and documentation lookup need network access.
Which rules and alerts does medchem support?
The source names Lipinski, Veber, CNS and lead-like rules, plus PAINS, NIBR, BMS, Dundee, Glaxo and Brenk catalogs.
What does the query language look like?
It uses functions such as MATCHRULE, HASALERT, HASPROP and HASSUBSTRUCTURE, combined with AND, OR and NOT.
How do I install medchem?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is medchem free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is medchem safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to medchem?
Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.
