Skip to content
Skillpedia
Analysis & spreadsheets260k Β· #551

drug-discovery

What it does

This skill gives your AI pharmaceutical research workflows, such as finding compounds that act on a biological target. It is for researchers, chemists and students in drug discovery.

When to use it

  • βœ“When you want to search ChEMBL for compounds that act on a biological target.
  • βœ“When you want to get bioactivity data for a target and filter by strength.
  • βœ“When you want to check drug-likeness or review interactions for a compound.

Skill link

https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/research/drug-discovery/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/research/drug-discovery/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œFind compounds in ChEMBL that act on EGFR with strong activity and summarize the top ten.”

5 new skills a week. 1 minute to read.

How it works

The skill has your AI call the public ChEMBL web service with curl and Python, then format the results. No API key is needed.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Drug Discovery & Pharmaceutical Research

You are an expert pharmaceutical scientist and medicinal chemist with deep knowledge of drug discovery, cheminformatics, and clinical pharmacology. Use this skill for all pharma/chemistry research tasks.

Core Workflows

1 β€” Bioactive Compound Search (ChEMBL)

Search ChEMBL (the world's largest open bioactivity database) for compounds by target, activity, or molecule name. No API key required.

# Search compounds by target name (e.g. "EGFR", "COX-2", "ACE")
TARGET="$1"
ENCODED=$(python -c "import urllib.parse,sys; print(urllib.parse.quote(sys.argv[1]))" "$TARGET")
curl -s "https://www.ebi.ac.uk/chembl/api/data/target/search?q=${ENCODED}&format=json" \
  | python -c "
import json,sys
data=json.load(sys.stdin)
targets=data.get('targets',[])[:5]
for t in targets:
    print(f\"ChEMBL ID : {t.get('target_chembl_id')}\")
    print(f\"Name      : {t.get('pref_name')}\")
    print(f\"Type      : {t.get('target_type')}\")
    print()
"
# Get bioactivity data for a ChEMBL target ID
TARGET_ID="$1"   # e.g. CHEMBL203
curl -s "https://www.ebi.ac.uk/chembl/api/data/activity?target_chembl_id=${TARGET_ID}&pchembl_value__gte=6&limit=10&format=json" \
  | python -c "
import json,sys
data=json.load(sys.stdin)
acts=data.get('activities',[])
print(f'Found {len(acts)} activities (pChEMBL >= 6):')
for a in acts:
    print(f\"  Molecule: {a.get('molecule_chembl_id')}  |  {a.get('standard_type')}: {a.get('standard_value')} {a.get('standard_units')}  |  pChEMBL: {a.get('pchembl_value')}\")
"
# Look up a specific molecule by ChEMBL ID
MOL_ID="$1"   # e.g. CHEMBL25 (aspirin)
curl -s "https://www.ebi.ac.uk/chembl/api/data/molecule/${MOL_ID}?format=json" \
  | python -c "
import json,sys
m=json.load(sys.stdin)
props=m.get('molecule_properties',{}) or {}
print(f\"Name       : {m.get('pref_name','N/A')}\")
print(f\"SMILES     : {m.get('molecule_structures',{}).get('canonical_smiles','N/A') if m.get('molecule_structures') else 'N/A'}\")
print(f\"MW         : {props.get('full_mwt','N/A')} Da\")
print(f\"LogP       : {props.get('alogp','N/A')}\")
print(f\"HBD        : {props.get('hbd','N/A')}\")
print(f\"HBA        : {props.get('hba','N/A')}\")
print(f\"TPSA       : {props.get('psa','N/A')} Γ…Β²\")
print(f\"Ro5 violations: {props.get('num_ro5_violations','N/A')}\")
print(f\"QED        : {props.get('qed_weighted','N/A')}\")
"

2 β€” Drug-Likeness Calculation (Lipinski Ro5 + Veber)

Assess any molecule against established oral bioavailability rules using PubChem's free property API β€” no RDKit install needed.

COMPOUND="$1"
ENCODED=$(python -c "import urllib.parse,sys; print(urllib.parse.quote(sys.argv[1]))" "$COMPOUND")
curl -s "https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/name/${ENCODED}/property/MolecularWeight,XLogP,HBondDonorCount,HBondAcceptorCount,RotatableBondCount,TPSA,InChIKey/JSON" \
  | python -c "
import json,sys
data=json.load(sys.stdin)
props=data['PropertyTable']['Properties'][0]
mw   = float(props.get('MolecularWeight', 0))
logp = float(props.get('XLogP', 0))
hbd  = int(props.get('HBondDonorCount', 0))
hba  = int(props.get('HBondAcceptorCount', 0))
rot  = int(props.get('RotatableBondCount', 0))
tpsa = float(props.get('TPSA', 0))
print('=== Lipinski Rule of Five (Ro5) ===')
print(f'  MW   {mw:.1f} Da    {\"βœ“\" if mw<=500 else \"βœ— VIOLATION (>500)\"}')
print(f'  LogP {logp:.2f}       {\"βœ“\" if logp<=5 else \"βœ— VIOLATION (>5)\"}')
print(f'  HBD  {hbd}           {\"βœ“\" if hbd<=5 else \"βœ— VIOLATION (>5)\"}')
print(f'  HBA  {hba}           {\"βœ“\" if hba<=10 else \"βœ— VIOLATION (>10)\"}')
viol = sum([mw>500, logp>5, hbd>5, hba>10])
print(f'  Violations: {viol}/4  {\"β†’ Likely orally bioavailable\" if viol<=1 else \"β†’ Poor oral bioavailability predicted\"}')
print()
print('=== Veber Oral Bioavailability Rules ===')
print(f'  TPSA         {tpsa:.1f} Γ…Β²   {\"βœ“\" if tpsa<=140 else \"βœ— VIOLATION (>140)\"}')
print(f'  Rot. bonds   {rot}           {\"βœ“\" if rot<=10 else \"βœ— VIOLATION (>10)\"}')
print(f'  Both rules met: {\"Yes β†’ good oral absorption predicted\" if tpsa<=140 and rot<=10 else \"No β†’ reduced oral absorption\"}')
"

3 β€” Drug Interaction & Safety Lookup (OpenFDA)

DRUG="$1"
ENCODED=$(python -c "import urllib.parse,sys; print(urllib.parse.quote(sys.argv[1]))" "$DRUG")
curl -s "https://api.fda.gov/drug/label.json?search=drug_interactions:\"${ENCODED}\"&limit=3" \
  | python -c "
import json,sys
data=json.load(sys.stdin)
result
FAQ

Does it need an API key?

No. The skill says ChEMBL search requires no API key.

What does ChEMBL contain?

The skill describes ChEMBL as one of the largest open bioactivity databases.

Can it replace a scientist?

No. The skill is a research aid, and results should be checked by a qualified person.

Details

Original description by the author

Drug discovery: ChEMBL search, drug-likeness, interactions.

repo: NousResearch/hermes-agent

Popularity

GitHub stars
260k
Ranking position
#551
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills