medchem
Filter molecules by drug-likeness rules
Also available from: davila7
Drug discovery requires filtering large compound libraries for drug-like properties. This skill applies established medicinal chemistry rules including Rule of Five, Veber, and PAINS filters to prioritize compounds and identify structural alerts efficiently.
Download the skill ZIP
Upload in Claude
Go to Settings → Capabilities → Skills → Upload skill
Toggle on and start using
Test it
Using "medchem". Filter this SMILES list for drug-likeness: CC(=O)OC1=CC=CC=C1C(=O)O, c1ccccc1, CCN
Expected outcome:
- Aspirin: Passes Rule of Five
- Benzene: Passes Ro5 but fails H-bond donor/acceptor requirements
- Ethylamine: Passes Rule of Five
- Summary: 2 of 3 molecules pass drug-likeness criteria
Using "medchem". Check for PAINS patterns in these molecules
Expected outcome:
- No PAINS patterns detected in the first molecule
- Second molecule contains rhodanine substructure (PAINS alert)
- Third molecule flagged for catechol pattern
Security Audit
SafeAll 288 static findings are false positives. The static analyzer misidentified markdown code fences (backticks) as shell execution, Python file operations as Node.js fs, medicinal chemistry terminology (MD5, DES) as cryptographic weaknesses, and molecule validation as reconnaissance. This is a legitimate drug discovery library with no malicious code.
Risk Factors
⚙️ External commands (3)
📁 Filesystem access (1)
🌐 Network access (1)
Quality Score
What You Can Build
Prioritize lead compounds
Filter virtual screening hits to identify drug-like candidates for synthesis.
Assess compound quality
Evaluate synthesized compounds against established medicinal chemistry rules.
Library design
Design focused compound libraries with optimal physicochemical properties.
Try These Prompts
Filter this list of SMILES using the Rule of Five and identify compounds that pass.
Check these molecules for PAINS patterns and common structural alerts. Report any alerts found.
Apply lead-like criteria and Lilly demerits filter to prioritize compounds for optimization.
Apply multiple filters including Rule of Five, NIBR filters, and complexity metrics to my compound library.
Best Practices
- Combine multiple filter types for comprehensive assessment
- Use parallel processing for large compound libraries
- Document filtering decisions for reproducibility
Avoid
- Blindly accepting or rejecting compounds based solely on rule pass/fail
- Ignoring structural alerts in favor of property-based rules alone
- Applying strict filters too early in the discovery pipeline
Frequently Asked Questions
What is the Rule of Five?
What are PAINS filters?
Can I use this for covalent inhibitor design?
What file formats are supported?
Does this require RDKit?
How are results structured?
Developer Details
Author
K-Dense-AILicense
Apache-2.0 license
Repository
https://github.com/K-Dense-AI/claude-scientific-skills/tree/main/scientific-skills/medchemRef
main
File structure