[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M737RK6DMCEWBCANK6NEGZ66":3,"skill-same:01M737RK6DMCEWBCANK6NEGZ66":78},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":47,"install":48,"resources":61},"01M737RK6DMCEWBCANK6NEGZ66","drug-discovery",null,"Drug discovery: ChEMBL search, drug-likeness, interactions.","ashneil12\u002Fvanilla-hermes-agent-canary","ashneil12","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F49880658?v=4","01M7378BQ9W161EPENEWBYAQNN","01M7378BRDJG8SFS93FG4V6BWY",1,"MIT","https:\u002F\u002Fgithub.com\u002Fashneil12\u002Fvanilla-hermes-agent-canary\u002Fblob\u002Fmain\u002Foptional-skills\u002Fresearch\u002Fdrug-discovery\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: drug-discovery\ndescription: \"Drug discovery: ChEMBL search, drug-likeness, interactions.\"\nplatforms: [linux, macos, windows]\nversion: 1.0.0\nauthor: bennytimz\nlicense: MIT\nmetadata:\n  hermes:\n    tags: [science, chemistry, pharmacology, research, health]\nprerequisites:\n  commands: [curl, python]\n---\n\n# Drug Discovery & Pharmaceutical Research\n\nYou are an expert pharmaceutical scientist and medicinal chemist with deep\nknowledge of drug discovery, cheminformatics, and clinical pharmacology.\nUse this skill for all pharma\u002Fchemistry research tasks.\n\n## Core Workflows\n\n### 1 — Bioactive Compound Search (ChEMBL)\n\nSearch ChEMBL (the world's largest open bioactivity database) for compounds\nby target, activity, or molecule name. No API key required.\n\n```bash\n# Search compounds by target name (e.g. \"EGFR\", \"COX-2\", \"ACE\")\nTARGET=\"$1\"\nENCODED=$(python -c \"import urllib.parse,sys; print(urllib.parse.quote(sys.argv[1]))\" \"$TARGET\")\ncurl -s \"https:\u002F\u002Fwww.ebi.ac.uk\u002Fchembl\u002Fapi\u002Fdata\u002Ftarget\u002Fsearch?q=${ENCODED}&format=json\" \\\n  | python -c \"\nimport json,sys\ndata=json.load(sys.stdin)\ntargets=data.get('targets',[])[:5]\nfor t in targets:\n    print(f\\\"ChEMBL ID : {t.get('target_chembl_id')}\\\")\n    print(f\\\"Name      : {t.get('pref_name')}\\\")\n    print(f\\\"Type      : {t.get('target_type')}\\\")\n    print()\n\"\n```\n\n```bash\n# Get bioactivity data for a ChEMBL target ID\nTARGET_ID=\"$1\"   # e.g. CHEMBL203\ncurl -s \"https:\u002F\u002Fwww.ebi.ac.uk\u002Fchembl\u002Fapi\u002Fdata\u002Factivity?target_chembl_id=${TARGET_ID}&pchembl_value__gte=6&limit=10&format=json\" \\\n  | python -c \"\nimport json,sys\ndata=json.load(sys.stdin)\nacts=data.get('activities',[])\nprint(f'Found {len(acts)} activities (pChEMBL >= 6):')\nfor a in acts:\n    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')}\\\")\n\"\n```\n\n```bash\n# Look up a specific molecule by ChEMBL ID\nMOL_ID=\"$1\"   # e.g. CHEMBL25 (aspirin)\ncurl -s \"https:\u002F\u002Fwww.ebi.ac.uk\u002Fchembl\u002Fapi\u002Fdata\u002Fmolecule\u002F${MOL_ID}?format=json\" \\\n  | python -c \"\nimport json,sys\nm=json.load(sys.stdin)\nprops=m.get('molecule_properties',{}) or {}\nprint(f\\\"Name       : {m.get('pref_name','N\u002FA')}\\\")\nprint(f\\\"SMILES     : {m.get('molecule_structures',{}).get('canonical_smiles','N\u002FA') if m.get('molecule_structures') else 'N\u002FA'}\\\")\nprint(f\\\"MW         : {props.get('full_mwt','N\u002FA')} Da\\\")\nprint(f\\\"LogP       : {props.get('alogp','N\u002FA')}\\\")\nprint(f\\\"HBD        : {props.get('hbd','N\u002FA')}\\\")\nprint(f\\\"HBA        : {props.get('hba','N\u002FA')}\\\")\nprint(f\\\"TPSA       : {props.get('psa','N\u002FA')} Å²\\\")\nprint(f\\\"Ro5 violations: {props.get('num_ro5_violations','N\u002FA')}\\\")\nprint(f\\\"QED        : {props.get('qed_weighted','N\u002FA')}\\\")\n\"\n```\n\n### 2 — Drug-Likeness Calculation (Lipinski Ro5 + Veber)\n\nAssess any molecule against established oral bioavailability rules using\nPubChem's free property API — no RDKit install needed.\n\n```bash\nCOMPOUND=\"$1\"\nENCODED=$(python -c \"import urllib.parse,sys; print(urllib.parse.quote(sys.argv[1]))\" \"$COMPOUND\")\ncurl -s \"https:\u002F\u002Fpubchem.ncbi.nlm.nih.gov\u002Frest\u002Fpug\u002Fcompound\u002Fname\u002F${ENCODED}\u002Fproperty\u002FMolecularWeight,XLogP,HBondDonorCount,HBondAcceptorCount,RotatableBondCount,TPSA,InChIKey\u002FJSON\" \\\n  | python -c \"\nimport json,sys\ndata=json.load(sys.stdin)\nprops=data['PropertyTable']['Properties'][0]\nmw   = float(props.get('MolecularWeight', 0))\nlogp = float(props.get('XLogP', 0))\nhbd  = int(props.get('HBondDonorCount', 0))\nhba  = int(props.get('HBondAcceptorCount', 0))\nrot  = int(props.get('RotatableBondCount', 0))\ntpsa = float(props.get('TPSA', 0))\nprint('=== Lipinski Rule of Five (Ro5) ===')\nprint(f'  MW   {mw:.1f} Da    {\\\"✓\\\" if mw\u003C=500 else \\\"✗ VIOLATION (>500)\\\"}')\nprint(f'  LogP {logp:.2f}       {\\\"✓\\\" if logp\u003C=5 else \\\"✗ VIOLATION (>5)\\\"}')\nprint(f'  HBD  {hbd}           {\\\"✓\\\" if hbd\u003C=5 else \\\"✗ VIOLATION (>5)\\\"}')\nprint(f'  HBA  {hba}           {\\\"✓\\\" if hba\u003C=10 else \\\"✗ VIOLATION (>10)\\\"}')\nviol = sum([mw>500, logp>5, hbd>5, hba>10])\nprint(f'  Violations: {viol}\u002F4  {\\\"→ Likely orally bioavailable\\\" if viol\u003C=1 else \\\"→ Poor oral bioavailability predicted\\\"}')\nprint()\nprint('=== Veber Oral Bioavailability Rules ===')\nprint(f'  TPSA         {tpsa:.1f} Å²   {\\\"✓\\\" if tpsa\u003C=140 else \\\"✗ VIOLATION (>140)\\\"}')\nprint(f'  Rot. bonds   {rot}           {\\\"✓\\\" if rot\u003C=10 else \\\"✗ VIOLATION (>10)\\\"}')\nprint(f'  Both rules met: {\\\"Yes → good oral absorption predicted\\\" if tpsa\u003C=140 and rot\u003C=10 else \\\"No → reduced oral absorption\\\"}')\n\"\n```\n\n### 3 — Drug Interaction & Safety Lookup (OpenFDA)\n\n```bash\nDRUG=\"$1\"\nENCODED=$(python -c \"import urllib.parse,sys; print(urllib.parse.quote(sys.argv[1]))\" \"$DRUG\")\ncurl -s \"https:\u002F\u002Fapi.fda.gov\u002Fdrug\u002Flabel.json?search=drug_interactions:\\\"${ENCODED}\\\"&limit=3\" \\\n  | python -c \"\nimport json,sys\ndata=json.load(sys.stdin)\nresults=data.get('results',[])\nif not results:\n    print('No interaction data found in FDA labels.')\n    sys.exit()\nfor r in results[:2]:\n    brand=r.get('openfda',{}).get('brand_name',['Unknown'])[0]\n    generic=r.get('openfda',{}).get('generic_name',['Unknown'])[0]\n    interactions=r.get('drug_interactions',['N\u002FA'])[0]\n    print(f'--- {brand} ({generic}) ---')\n    print(interactions[:800])\n    print()\n\"\n```\n\n```bash\nDRUG=\"$1\"\nENCODED=$(python -c \"import urllib.parse,sys; print(urllib.parse.quote(sys.argv[1]))\" \"$DRUG\")\ncurl -s \"https:\u002F\u002Fapi.fda.gov\u002Fdrug\u002Fevent.json?search=patient.drug.medicinalproduct:\\\"${ENCODED}\\\"&count=patient.reaction.reactionmeddrapt.exact&limit=10\" \\\n  | python -c \"\nimport json,sys\ndata=json.load(sys.stdin)\nresults=data.get('results',[])\nif not results:\n    print('No adverse event data found.')\n    sys.exit()\nprint(f'Top adverse events reported:')\nfor r in results[:10]:\n    print(f\\\"  {r['count']:>5}x  {r['term']}\\\")\n\"\n```\n\n### 4 — PubChem Compound Search\n\n```bash\nCOMPOUND=\"$1\"\nENCODED=$(python -c \"import urllib.parse,sys; print(urllib.parse.quote(sys.argv[1]))\" \"$COMPOUND\")\nCID=$(curl -s \"https:\u002F\u002Fpubchem.ncbi.nlm.nih.gov\u002Frest\u002Fpug\u002Fcompound\u002Fname\u002F${ENCODED}\u002Fcids\u002FTXT\" | head -1 | tr -d '[:space:]')\necho \"PubChem CID: $CID\"\ncurl -s \"https:\u002F\u002Fpubchem.ncbi.nlm.nih.gov\u002Frest\u002Fpug\u002Fcompound\u002Fcid\u002F${CID}\u002Fproperty\u002FIsomericSMILES,InChIKey,IUPACName\u002FJSON\" \\\n  | python -c \"\nimport json,sys\np=json.load(sys.stdin)['PropertyTable']['Properties'][0]\nprint(f\\\"IUPAC Name : {p.get('IUPACName','N\u002FA')}\\\")\nprint(f\\\"SMILES     : {p.get('IsomericSMILES','N\u002FA')}\\\")\nprint(f\\\"InChIKey   : {p.get('InChIKey','N\u002FA')}\\\")\n\"\n```\n\n### 5 — Target & Disease Literature (OpenTargets)\n\n```bash\nGENE=\"$1\"\ncurl -s -X POST \"https:\u002F\u002Fapi.platform.opentargets.org\u002Fapi\u002Fv4\u002Fgraphql\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d \"{\\\"query\\\":\\\"{ search(queryString: \\\\\\\"${GENE}\\\\\\\", entityNames: [\\\\\\\"target\\\\\\\"], page: {index: 0, size: 1}) { hits { id score object { ... on Target { id approvedSymbol approvedName associatedDiseases(page: {index: 0, size: 5}) { count rows { score disease { id name } } } } } } } }\\\"}\" \\\n  | python -c \"\nimport json,sys\ndata=json.load(sys.stdin)\nhits=data.get('data',{}).get('search',{}).get('hits',[])\nif not hits:\n    print('Target not found.')\n    sys.exit()\nobj=hits[0]['object']\nprint(f\\\"Target: {obj.get('approvedSymbol')} — {obj.get('approvedName')}\\\")\nassoc=obj.get('associatedDiseases',{})\nprint(f\\\"Associated with {assoc.get('count',0)} diseases. Top associations:\\\")\nfor row in assoc.get('rows',[]):\n    print(f\\\"  Score {row['score']:.3f}  |  {row['disease']['name']}\\\")\n\"\n```\n\n## Reasoning Guidelines\n\nWhen analysing drug-likeness or molecular properties, always:\n\n1. **State raw values first** — MW, LogP, HBD, HBA, TPSA, RotBonds\n2. **Apply rule sets** — Ro5 (Lipinski), Veber, Ghose filter where relevant\n3. **Flag liabilities** — metabolic hotspots, hERG risk, high TPSA for CNS penetration\n4. **Suggest optimizations** — bioisosteric replacements, prodrug strategies, ring truncation\n5. **Cite the source API** — ChEMBL, PubChem, OpenFDA, or OpenTargets\n\nFor ADMET questions, reason through Absorption, Distribution, Metabolism, Excretion, Toxicity systematically. See references\u002FADMET_REFERENCE.md for detailed guidance.\n\n## Important Notes\n\n- All APIs are free, public, require no authentication\n- ChEMBL rate limits: add sleep 1 between batch requests\n- FDA data reflects reported adverse events, not necessarily causation\n- Always recommend consulting a licensed pharmacist or physician for clinical decisions\n\n## Quick Reference\n\n| Task | API | Endpoint |\n|------|-----|----------|\n| Find target | ChEMBL | `\u002Fapi\u002Fdata\u002Ftarget\u002Fsearch?q=` |\n| Get bioactivity | ChEMBL | `\u002Fapi\u002Fdata\u002Factivity?target_chembl_id=` |\n| Molecule properties | PubChem | `\u002Frest\u002Fpug\u002Fcompound\u002Fname\u002F{name}\u002Fproperty\u002F` |\n| Drug interactions | OpenFDA | `\u002Fdrug\u002Flabel.json?search=drug_interactions:` |\n| Adverse events | OpenFDA | `\u002Fdrug\u002Fevent.json?search=...&count=reaction` |\n| Gene-disease | OpenTargets | GraphQL POST `\u002Fapi\u002Fv4\u002Fgraphql` |\n","# Drug Discovery & Pharmaceutical Research\n\nYou are an expert pharmaceutical scientist and medicinal chemist with deep\nknowledge of drug discovery, cheminformatics, and clinical pharmacology.\nUse this skill for all pharma\u002Fchemistry research tasks.\n\n## Core Workflows\n\n### 1 — Bioactive Compound Search (ChEMBL)\n\nSearch ChEMBL (the world's largest open bioactivity database) for compounds\nby target, activity, or molecule name. No API key required.\n\n```bash\n# Search compounds by target name (e.g. \"EGFR\", \"COX-2\", \"ACE\")\nTARGET=\"$1\"\nENCODED=$(python -c \"import urllib.parse,sys; print(urllib.parse.quote(sys.argv[1]))\" \"$TARGET\")\ncurl -s \"https:\u002F\u002Fwww.ebi.ac.uk\u002Fchembl\u002Fapi\u002Fdata\u002Ftarget\u002Fsearch?q=${ENCODED}&format=json\" \\\n  | python -c \"\nimport json,sys\ndata=json.load(sys.stdin)\ntargets=data.get('targets',[])[:5]\nfor t in targets:\n    print(f\\\"ChEMBL ID : {t.get('target_chembl_id')}\\\")\n    print(f\\\"Name      : {t.get('pref_name')}\\\")\n    print(f\\\"Type      : {t.get('target_type')}\\\")\n    print()\n\"\n```\n\n```bash\n# Get bioactivity data for a ChEMBL target ID\nTARGET_ID=\"$1\"   # e.g. CHEMBL203\ncurl -s \"https:\u002F\u002Fwww.ebi.ac.uk\u002Fchembl\u002Fapi\u002Fdata\u002Factivity?target_chembl_id=${TARGET_ID}&pchembl_value__gte=6&limit=10&format=json\" \\\n  | python -c \"\nimport json,sys\ndata=json.load(sys.stdin)\nacts=data.get('activities',[])\nprint(f'Found {len(acts)} activities (pChEMBL >= 6):')\nfor a in acts:\n    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')}\\\")\n\"\n```\n\n```bash\n# Look up a specific molecule by ChEMBL ID\nMOL_ID=\"$1\"   # e.g. CHEMBL25 (aspirin)\ncurl -s \"https:\u002F\u002Fwww.ebi.ac.uk\u002Fchembl\u002Fapi\u002Fdata\u002Fmolecule\u002F${MOL_ID}?format=json\" \\\n  | python -c \"\nimport json,sys\nm=json.load(sys.stdin)\nprops=m.get('molecule_properties',{}) or {}\nprint(f\\\"Name       : {m.get('pref_name','N\u002FA')}\\\")\nprint(f\\\"SMILES     : {m.get('molecule_structures',{}).get('canonical_smiles','N\u002FA') if m.get('molecule_structures') else 'N\u002FA'}\\\")\nprint(f\\\"MW         : {props.get('full_mwt','N\u002FA')} Da\\\")\nprint(f\\\"LogP       : {props.get('alogp','N\u002FA')}\\\")\nprint(f\\\"HBD        : {props.get('hbd','N\u002FA')}\\\")\nprint(f\\\"HBA        : {props.get('hba','N\u002FA')}\\\")\nprint(f\\\"TPSA       : {props.get('psa','N\u002FA')} Å²\\\")\nprint(f\\\"Ro5 violations: {props.get('num_ro5_violations','N\u002FA')}\\\")\nprint(f\\\"QED        : {props.get('qed_weighted','N\u002FA')}\\\")\n\"\n```\n\n### 2 — Drug-Likeness Calculation (Lipinski Ro5 + Veber)\n\nAssess any molecule against established oral bioavailability rules using\nPubChem's free property API — no RDKit install needed.\n\n```bash\nCOMPOUND=\"$1\"\nENCODED=$(python -c \"import urllib.parse,sys; print(urllib.parse.quote(sys.argv[1]))\" \"$COMPOUND\")\ncurl -s \"https:\u002F\u002Fpubchem.ncbi.nlm.nih.gov\u002Frest\u002Fpug\u002Fcompound\u002Fname\u002F${ENCODED}\u002Fproperty\u002FMolecularWeight,XLogP,HBondDonorCount,HBondAcceptorCount,RotatableBondCount,TPSA,InChIKey\u002FJSON\" \\\n  | python -c \"\nimport json,sys\ndata=json.load(sys.stdin)\nprops=data['PropertyTable']['Properties'][0]\nmw   = float(props.get('MolecularWeight', 0))\nlogp = float(props.get('XLogP', 0))\nhbd  = int(props.get('HBondDonorCount', 0))\nhba  = int(props.get('HBondAcceptorCount', 0))\nrot  = int(props.get('RotatableBondCount', 0))\ntpsa = float(props.get('TPSA', 0))\nprint('=== Lipinski Rule of Five (Ro5) ===')\nprint(f'  MW   {mw:.1f} Da    {\\\"✓\\\" if mw\u003C=500 else \\\"✗ VIOLATION (>500)\\\"}')\nprint(f'  LogP {logp:.2f}       {\\\"✓\\\" if logp\u003C=5 else \\\"✗ VIOLATION (>5)\\\"}')\nprint(f'  HBD  {hbd}           {\\\"✓\\\" if hbd\u003C=5 else \\\"✗ VIOLATION (>5)\\\"}')\nprint(f'  HBA  {hba}           {\\\"✓\\\" if hba\u003C=10 else \\\"✗ VIOLATION (>10)\\\"}')\nviol = sum([mw>500, logp>5, hbd>5, hba>10])\nprint(f'  Violations: {viol}\u002F4  {\\\"→ Likely orally bioavailable\\\" if viol\u003C=1 else \\\"→ Poor oral bioavailability predicted\\\"}')\nprint()\nprint('=== Veber Oral Bioavailability Rules ===')\nprint(f'  TPSA         {tpsa:.1f} Å²   {\\\"✓\\\" if tpsa\u003C=140 else \\\"✗ VIOLATION (>140)\\\"}')\nprint(f'  Rot. bonds   {rot}           {\\\"✓\\\" if rot\u003C=10 else \\\"✗ VIOLATION (>10)\\\"}')\nprint(f'  Both rules met: {\\\"Yes → good oral absorption predicted\\\" if tpsa\u003C=140 and rot\u003C=10 else \\\"No → reduced oral absorption\\\"}')\n\"\n```\n\n### 3 — Drug Interaction & Safety Lookup (OpenFDA)\n\n```bash\nDRUG=\"$1\"\nENCODED=$(python -c \"import urllib.parse,sys; print(urllib.parse.quote(sys.argv[1]))\" \"$DRUG\")\ncurl -s \"https:\u002F\u002Fapi.fda.gov\u002Fdrug\u002Flabel.json?search=drug_interactions:\\\"${ENCODED}\\\"&limit=3\" \\\n  | python -c \"\nimport json,sys\ndata=json.load(sys.stdin)\nresults=data.get('results',[])\nif not results:\n    print('No interaction data found in FDA labels.')\n    sys.exit()\nfor r in results[:2]:\n    brand=r.get('openfda',{}).get('brand_name',['Unknown'])[0]\n    generic=r.get('openfda',{}).get('generic_name',['Unknown'])[0]\n    interactions=r.get('drug_interactions',['N\u002FA'])[0]\n    print(f'--- {brand} ({generic}) ---')\n    print(interactions[:800])\n    print()\n\"\n```\n\n```bash\nDRUG=\"$1\"\nENCODED=$(python -c \"import urllib.parse,sys; print(urllib.parse.quote(sys.argv[1]))\" \"$DRUG\")\ncurl -s \"https:\u002F\u002Fapi.fda.gov\u002Fdrug\u002Fevent.json?search=patient.drug.medicinalproduct:\\\"${ENCODED}\\\"&count=patient.reaction.reactionmeddrapt.exact&limit=10\" \\\n  | python -c \"\nimport json,sys\ndata=json.load(sys.stdin)\nresults=data.get('results',[])\nif not results:\n    print('No adverse event data found.')\n    sys.exit()\nprint(f'Top adverse events reported:')\nfor r in results[:10]:\n    print(f\\\"  {r['count']:>5}x  {r['term']}\\\")\n\"\n```\n\n### 4 — PubChem Compound Search\n\n```bash\nCOMPOUND=\"$1\"\nENCODED=$(python -c \"import urllib.parse,sys; print(urllib.parse.quote(sys.argv[1]))\" \"$COMPOUND\")\nCID=$(curl -s \"https:\u002F\u002Fpubchem.ncbi.nlm.nih.gov\u002Frest\u002Fpug\u002Fcompound\u002Fname\u002F${ENCODED}\u002Fcids\u002FTXT\" | head -1 | tr -d '[:space:]')\necho \"PubChem CID: $CID\"\ncurl -s \"https:\u002F\u002Fpubchem.ncbi.nlm.nih.gov\u002Frest\u002Fpug\u002Fcompound\u002Fcid\u002F${CID}\u002Fproperty\u002FIsomericSMILES,InChIKey,IUPACName\u002FJSON\" \\\n  | python -c \"\nimport json,sys\np=json.load(sys.stdin)['PropertyTable']['Properties'][0]\nprint(f\\\"IUPAC Name : {p.get('IUPACName','N\u002FA')}\\\")\nprint(f\\\"SMILES     : {p.get('IsomericSMILES','N\u002FA')}\\\")\nprint(f\\\"InChIKey   : {p.get('InChIKey','N\u002FA')}\\\")\n\"\n```\n\n### 5 — Target & Disease Literature (OpenTargets)\n\n```bash\nGENE=\"$1\"\ncurl -s -X POST \"https:\u002F\u002Fapi.platform.opentargets.org\u002Fapi\u002Fv4\u002Fgraphql\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d \"{\\\"query\\\":\\\"{ search(queryString: \\\\\\\"${GENE}\\\\\\\", entityNames: [\\\\\\\"target\\\\\\\"], page: {index: 0, size: 1}) { hits { id score object { ... on Target { id approvedSymbol approvedName associatedDiseases(page: {index: 0, size: 5}) { count rows { score disease { id name } } } } } } } }\\\"}\" \\\n  | python -c \"\nimport json,sys\ndata=json.load(sys.stdin)\nhits=data.get('data',{}).get('search',{}).get('hits',[])\nif not hits:\n    print('Target not found.')\n    sys.exit()\nobj=hits[0]['object']\nprint(f\\\"Target: {obj.get('approvedSymbol')} — {obj.get('approvedName')}\\\")\nassoc=obj.get('associatedDiseases',{})\nprint(f\\\"Associated with {assoc.get('count',0)} diseases. Top associations:\\\")\nfor row in assoc.get('rows',[]):\n    print(f\\\"  Score {row['score']:.3f}  |  {row['disease']['name']}\\\")\n\"\n```\n\n## Reasoning Guidelines\n\nWhen analysing drug-likeness or molecular properties, always:\n\n1. **State raw values first** — MW, LogP, HBD, HBA, TPSA, RotBonds\n2. **Apply rule sets** — Ro5 (Lipinski), Veber, Ghose filter where relevant\n3. **Flag liabilities** — metabolic hotspots, hERG risk, high TPSA for CNS penetration\n4. **Suggest optimizations** — bioisosteric replacements, prodrug strategies, ring truncation\n5. **Cite the source API** — ChEMBL, PubChem, OpenFDA, or OpenTargets\n\nFor ADMET questions, reason through Absorption, Distribution, Metabolism, Excretion, Toxicity systematically. See references\u002FADMET_REFERENCE.md for detailed guidance.\n\n## Important Notes\n\n- All APIs are free, public, require no authentication\n- ChEMBL rate limits: add sleep 1 between batch requests\n- FDA data reflects reported adverse events, not necessarily causation\n- Always recommend consulting a licensed pharmacist or physician for clinical decisions\n\n## Quick Reference\n\n| Task | API | Endpoint |\n|------|-----|----------|\n| Find target | ChEMBL | `\u002Fapi\u002Fdata\u002Ftarget\u002Fsearch?q=` |\n| Get bioactivity | ChEMBL | `\u002Fapi\u002Fdata\u002Factivity?target_chembl_id=` |\n| Molecule properties | PubChem | `\u002Frest\u002Fpug\u002Fcompound\u002Fname\u002F{name}\u002Fproperty\u002F` |\n| Drug interactions | OpenFDA | `\u002Fdrug\u002Flabel.json?search=drug_interactions:` |\n| Adverse events | OpenFDA | `\u002Fdrug\u002Fevent.json?search=...&count=reaction` |\n| Gene-disease | OpenTargets | GraphQL POST `\u002Fapi\u002Fv4\u002Fgraphql` |\n",{"name":5,"author":23,"license":14,"version":24,"metadata":25,"platforms":33,"description":7,"prerequisites":37},"bennytimz","1.0.0",{"hermes":26},{"tags":27},[28,29,30,31,32],"science","chemistry","pharmacology","research","health",[34,35,36],"linux","macos","windows",{"commands":38},[39,40],"curl","python","main","0905b0264ce5a54908bedc9637e50251543db132","optional-skills\u002Fresearch\u002Fdrug-discovery",0,"https:\u002F\u002Fgithub.com\u002Fashneil12\u002Fvanilla-hermes-agent-canary","https:\u002F\u002Fgithub.com\u002Fashneil12","2026-11-04 08:25:00",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add ashneil12\u002Fvanilla-hermes-agent-canary --skill drug-discovery",{"tool":54,"command":55},"bunx","bunx skills add ashneil12\u002Fvanilla-hermes-agent-canary --skill drug-discovery",{"tool":57,"command":58},"pnpm","pnpm dlx skills add ashneil12\u002Fvanilla-hermes-agent-canary --skill drug-discovery","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fashneil12\u002Fvanilla-hermes-agent-canary\u002Fblob\u002Fmain\u002Foptional-skills\u002Fresearch\u002Fdrug-discovery\u002FSKILL.md",true,[62,68,74],{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002FADMET_REFERENCE.md","REFERENCE","参考文档",1920,"https:\u002F\u002Fgithub.com\u002Fashneil12\u002Fvanilla-hermes-agent-canary\u002Fblob\u002Fmain\u002Foptional-skills\u002Fresearch\u002Fdrug-discovery\u002Freferences\u002FADMET_REFERENCE.md",{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"scripts\u002Fchembl_target.py","SCRIPT","脚本",2203,"https:\u002F\u002Fgithub.com\u002Fashneil12\u002Fvanilla-hermes-agent-canary\u002Fblob\u002Fmain\u002Foptional-skills\u002Fresearch\u002Fdrug-discovery\u002Fscripts\u002Fchembl_target.py",{"path":75,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":76,"sourceHtmlUrl":77},"scripts\u002Fro5_screen.py",2034,"https:\u002F\u002Fgithub.com\u002Fashneil12\u002Fvanilla-hermes-agent-canary\u002Fblob\u002Fmain\u002Foptional-skills\u002Fresearch\u002Fdrug-discovery\u002Fscripts\u002Fro5_screen.py",[79,86,93,100,107,114],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7380YR13A23353XT9NS6EGR","blocked-page-recovery","Use when a fetch fails: 403\u002F429, paywall, WAF, bot wall.","https:\u002F\u002Fgithub.com\u002Fashneil12\u002Fvanilla-hermes-agent-canary\u002Fblob\u002Fmain\u002Fskills\u002Fweb\u002Fblocked-page-recovery\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":18},"01M7380VZ8P60Q64J3F92D4AMY","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002Fashneil12\u002Fvanilla-hermes-agent-canary\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":18},"01M7380QXN6F90R0MH1M3FHRKX","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002Fashneil12\u002Fvanilla-hermes-agent-canary\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Fsystematic-debugging\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":18},"01M7380N4BZYT2WRRZN1N9DZ65","spike","Throwaway experiments to validate an idea before build.","https:\u002F\u002Fgithub.com\u002Fashneil12\u002Fvanilla-hermes-agent-canary\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Fspike\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":18},"01M7380JAEC9ZH5DVPHHK56P97","simplify-code","Parallel 4-agent cleanup of recent code changes.","https:\u002F\u002Fgithub.com\u002Fashneil12\u002Fvanilla-hermes-agent-canary\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Fsimplify-code\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":18},"01M7380F5MBB7FKWWV3G3TZ193","requesting-code-review","Pre-commit review: security scan, quality gates, auto-fix.","https:\u002F\u002Fgithub.com\u002Fashneil12\u002Fvanilla-hermes-agent-canary\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Frequesting-code-review\u002FSKILL.md",[],[]]