[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71FQ4V6FZQFYX97B8V1FYSQ":3,"skill-same:01M71FQ4V6FZQFYX97B8V1FYSQ":90},{"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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":13,"repositoryHtmlUrl":57,"repositoryHomepageUrl":6,"ownerHtmlUrl":58,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":59,"install":60,"resources":73},"01M71FQ4V6FZQFYX97B8V1FYSQ","drug-discovery",null,"Pharmaceutical research assistant for drug discovery workflows. Search bioactive compounds on ChEMBL, calculate drug-likeness (Lipinski Ro5, QED, TPSA, synthetic accessibility), look up drug-drug interactions via OpenFDA, interpret ADMET profiles, and assist with lead optimization. Use for medicinal chemistry questions, molecule property analysis, clinical pharmacology, and open-science drug research.","gjbvsjjvgm-sketch\u002Fhermes-sovereign-unified-v13.6","gjbvsjjvgm-sketch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F278511911?v=4","01M71F3JXKZQ70H2KCHHTXKZDA","01M71F3JY8A79Z3NZBW08TF4JD",0,"MIT","https:\u002F\u002Fgithub.com\u002Fgjbvsjjvgm-sketch\u002Fhermes-sovereign-unified-v13.6\u002Fblob\u002Fmain\u002Fhermes-agent\u002Foptional-skills\u002Fresearch\u002Fdrug-discovery\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"discovery","drug discovery","up","likeness","for","profiles","pharmacology","drug interactions","synthetic","clinical","research assistant","workflows","use","python3","open","health","science","analysis","Optimization","search","2026-11-10 10:12:30",false,"---\nname: drug-discovery\ndescription: >\n  Pharmaceutical research assistant for drug discovery workflows. Search\n  bioactive compounds on ChEMBL, calculate drug-likeness (Lipinski Ro5, QED,\n  TPSA, synthetic accessibility), look up drug-drug interactions via\n  OpenFDA, interpret ADMET profiles, and assist with lead optimization.\n  Use for medicinal chemistry questions, molecule property analysis, clinical\n  pharmacology, and open-science drug research.\nversion: 1.0.0\nauthor: bennytimz\nlicense: MIT\nmetadata:\n  hermes:\n    tags: [science, chemistry, pharmacology, research, health]\nprerequisites:\n  commands: [curl, python3]\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=$(python3 -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  | python3 -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  | python3 -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  | python3 -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=$(python3 -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  | python3 -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=$(python3 -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  | python3 -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=$(python3 -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  | python3 -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=$(python3 -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  | python3 -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  | python3 -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=$(python3 -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  | python3 -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  | python3 -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  | python3 -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=$(python3 -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  | python3 -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=$(python3 -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  | python3 -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=$(python3 -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  | python3 -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=$(python3 -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  | python3 -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  | python3 -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":43,"license":14,"version":44,"metadata":45,"description":50,"prerequisites":51},"bennytimz","1.0.0",{"hermes":46},{"tags":47},[34,48,24,49,33],"chemistry","research","Pharmaceutical research assistant for drug discovery workflows. Search bioactive compounds on ChEMBL, calculate drug-likeness (Lipinski Ro5, QED, TPSA, synthetic accessibility), look up drug-drug interactions via OpenFDA, interpret ADMET profiles, and assist with lead optimization. Use for medicinal chemistry questions, molecule property analysis, clinical pharmacology, and open-science drug research.\n",{"commands":52},[53,31],"curl","main","93bbc269671fbb340afa15b36a8766f15dc30df2","hermes-agent\u002Foptional-skills\u002Fresearch\u002Fdrug-discovery","https:\u002F\u002Fgithub.com\u002Fgjbvsjjvgm-sketch\u002Fhermes-sovereign-unified-v13.6","https:\u002F\u002Fgithub.com\u002Fgjbvsjjvgm-sketch","2026-04-27 02:51:28",{"source":8,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add gjbvsjjvgm-sketch\u002Fhermes-sovereign-unified-v13.6 --skill drug-discovery",{"tool":66,"command":67},"bunx","bunx skills add gjbvsjjvgm-sketch\u002Fhermes-sovereign-unified-v13.6 --skill drug-discovery",{"tool":69,"command":70},"pnpm","pnpm dlx skills add gjbvsjjvgm-sketch\u002Fhermes-sovereign-unified-v13.6 --skill drug-discovery","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgjbvsjjvgm-sketch\u002Fhermes-sovereign-unified-v13.6\u002Fblob\u002Fmain\u002Fhermes-agent\u002Foptional-skills\u002Fresearch\u002Fdrug-discovery\u002FSKILL.md",true,[74,80,86],{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002FADMET_REFERENCE.md","REFERENCE","参考文档",1920,"https:\u002F\u002Fgithub.com\u002Fgjbvsjjvgm-sketch\u002Fhermes-sovereign-unified-v13.6\u002Fblob\u002Fmain\u002Fhermes-agent\u002Foptional-skills\u002Fresearch\u002Fdrug-discovery\u002Freferences\u002FADMET_REFERENCE.md",{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"scripts\u002Fchembl_target.py","SCRIPT","脚本",2217,"https:\u002F\u002Fgithub.com\u002Fgjbvsjjvgm-sketch\u002Fhermes-sovereign-unified-v13.6\u002Fblob\u002Fmain\u002Fhermes-agent\u002Foptional-skills\u002Fresearch\u002Fdrug-discovery\u002Fscripts\u002Fchembl_target.py",{"path":87,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":88,"sourceHtmlUrl":89},"scripts\u002Fro5_screen.py",2058,"https:\u002F\u002Fgithub.com\u002Fgjbvsjjvgm-sketch\u002Fhermes-sovereign-unified-v13.6\u002Fblob\u002Fmain\u002Fhermes-agent\u002Foptional-skills\u002Fresearch\u002Fdrug-discovery\u002Fscripts\u002Fro5_screen.py",[91,99,125,145,159,172],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":98},"01M72P39X9AV4XW6C283JHRCBQ","stable-diffusion-image-generation","State-of-the-art text-to-image generation with Stable Diffusion models via HuggingFace Diffusers. Use when generating images from text prompts, performing image-to-image translation, inpainting, or building custom diffusion pipelines.","https:\u002F\u002Fgithub.com\u002Fgjbvsjjvgm-sketch\u002Fhermes-sovereign-unified-v13.6\u002Fblob\u002Fmain\u002Fhermes_sovereign_data\u002Fskills\u002Fmlops\u002Fmodels\u002Fstable-diffusion\u002FSKILL.md",[],[],"2026-11-10 22:39:42",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":38},"01M71G6TJ2RAQ1J0PV3K6D9GQA","writing-plans","Use when you have a spec or requirements for a multi-step task. Creates comprehensive implementation plans with bite-sized tasks, exact file paths, and complete code examples.","https:\u002F\u002Fgithub.com\u002Fgjbvsjjvgm-sketch\u002Fhermes-sovereign-unified-v13.6\u002Fblob\u002Fmain\u002Fhermes_sovereign_data\u002Fskills\u002Fsoftware-development\u002Fwriting-plans\u002FSKILL.md",[],[106,107,108,109,110,111,22,112,113,114,115,116,117,118,119,120,121,122,123,124],"writing","writing plans","plans","paths","planning","development","code-review","when","design","superpowers","test-driven-development","you","code","tasks","subagent","test-driven","workflow","review","documentation",{"skillNo":126,"name":116,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":38},"01M71G6R81013R3T7W5VP56GCB","Use when implementing any feature or bugfix, before writing implementation code. Enforces RED-GREEN-REFACTOR cycle with test-first approach.","https:\u002F\u002Fgithub.com\u002Fgjbvsjjvgm-sketch\u002Fhermes-sovereign-unified-v13.6\u002Fblob\u002Fmain\u002Fhermes_sovereign_data\u002Fskills\u002Fsoftware-development\u002Ftest-driven-development\u002FSKILL.md",[],[131,111,132,133,134,106,115,135,136,137,138,139,140,141,142,143,144,120,118,113],"test driven development","test","driven","green","implementing","testing","red-green-refactor","cycle","debugging","test-first","systematic-debugging","refactor","bugfix","systematic",{"skillNo":146,"name":141,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":38},"01M71G6N0Y546JZEDF25E2PMCE","Use when encountering any bug, test failure, or unexpected behavior. 4-phase root cause investigation — NO fixes without understanding the problem first.","https:\u002F\u002Fgithub.com\u002Fgjbvsjjvgm-sketch\u002Fhermes-sovereign-unified-v13.6\u002Fblob\u002Fmain\u002Fhermes_sovereign_data\u002Fskills\u002Fsoftware-development\u002Fsystematic-debugging\u002FSKILL.md",[],[144,139,151,132,152,30,108,153,154,111,155,156,120,113,106,115,116,157,158,121],"systematic debugging","root-cause","problem","fixes","bug","phase","problem-solving","root cause",{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":165,"publishedAt":38},"01M71G6J0DXEGY48GH4KVW2SJH","subagent-driven-development","Use when executing implementation plans with independent tasks. Dispatches fresh delegate_task per task with two-stage review (spec compliance then code quality).","https:\u002F\u002Fgithub.com\u002Fgjbvsjjvgm-sketch\u002Fhermes-sovereign-unified-v13.6\u002Fblob\u002Fmain\u002Fhermes_sovereign_data\u002Fskills\u002Fsoftware-development\u002Fsubagent-driven-development\u002FSKILL.md",[],[133,111,120,166,106,115,167,168,116,121,113,108,169,170,171,123,112,119,118,122],"subagent driven development","delegation","delegate","code quality","parallel","fresh",{"skillNo":173,"name":174,"nameZh":6,"description":175,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":176,"categories":177,"keywords":178,"publishedAt":38},"01M71G6EFFBQX6634E6XHB09Y1","requesting-code-review","Pre-commit verification pipeline — static security scan, baseline-aware quality gates, independent reviewer subagent, and auto-fix loop. Use after code changes and before committing, pushing, or opening a PR.","https:\u002F\u002Fgithub.com\u002Fgjbvsjjvgm-sketch\u002Fhermes-sovereign-unified-v13.6\u002Fblob\u002Fmain\u002Fhermes_sovereign_data\u002Fskills\u002Fsoftware-development\u002Frequesting-code-review\u002FSKILL.md",[],[179,118,123,180,181,182,183,112,120,184,185,106,186,115,187,188,116,189,190,121],"requesting code review","code review","security scan","verification","reviewer","commit","loop","auto","auto-fix","fix","static","pipeline"]