medchem — Claude Code skill: what it does, how to install
Filters compound libraries with drug-likeness rules, structural alerts, and complexity checks. Use it when triaging molecular candidates.
npx skills add K-Dense-AI/scientific-agent-skills --skill medchem -a claude-codeWhat medchem does
This skill applies Lipinski, Veber, CNS, and lead-like rules to molecular collections. It uses medchem, datamol, and RDKit; RuleFilters returns pandas DataFrames, while functional calls return boolean pass masks.
It can check PAINS, Brenk, NIBR, and ChEMBL-derived structural alerts. The skill also covers molecular complexity, chemical-group detection, and multi-criterion library filters written with the medchem query language.
It requires Python 3.11+, medchem 2.1.1, datamol 0.13.0, and RDKit 2026.3.6. Validate empty or unparsed structures before filtering: the functional NIBR filter with a 10 cutoff can pass parse failures that have zero severity. Lilly support needs native tools, a C++ compiler, make, zlib, and Ruby.
What it helps with
- filter compounds that fail Lipinski rules
- detect PAINS and Brenk structural alerts
- screen a molecular library with NIBR rules
- check molecular complexity against ZINC thresholds
- build multi-criterion filters with
medchemqueries
Example prompts for the agent
- Use the medchem skill to screen this library with Lipinski and Veber rules.
- Run medchem to find PAINS and Brenk alerts in `mol_list`.
- Apply the NIBR filter to `smiles_list` and remove structures with severity from `10`.
How to install medchem
1Skills CLI (Vercel)
npx skills add K-Dense-AI/scientific-agent-skills --skill medchem -a claude-code2Manually: put the files in place
~/.claude/skills/medchem/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/medchem/
1Skills CLI (Vercel)
npx skills add K-Dense-AI/scientific-agent-skills --skill medchem -a codex2Manually: put the files in place
.agents/skills/medchem/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add K-Dense-AI/scientific-agent-skills --skill medchem -a cursor2Manually: put the files in place
.cursor/skills/medchem/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install K-Dense-AI/scientific-agent-skills medchem2Manually: put the files in place
.github/skills/medchem/SKILL.md1Skills CLI (Vercel)
npx skills add K-Dense-AI/scientific-agent-skills --skill medchem -a gemini-cli2Platform CLI
gemini skills install https://github.com/K-Dense-AI/scientific-agent-skills --path skills/medchemManually: put the files in place
.devin/skills/medchem/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add K-Dense-AI/scientific-agent-skills --skill medchem -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set120
The whole set →Similar
Questions about medchem
How do I install medchem in Claude Code?
Run npx skills add K-Dense-AI/scientific-agent-skills --skill medchem -a claude-code, then run npx skills add K-Dense-AI/scientific-agent-skills --skill medchem -a claude-code again. The skill file is at ~/.claude/skills/medchem/SKILL.md.
What does medchem do?
It filters and prioritizes molecules using drug-likeness rules, structural alerts, and complexity metrics. It also works with PAINS, Brenk, and NIBR catalogs.
What does medchem require?
It requires Python 3.11+, medchem 2.1.1, datamol 0.13.0, and RDKit 2026.3.6. Standard filters run locally without credentials, while installation needs network access.