agentsclimarketplace

Iuphar

Skill BioTender-max/awesome-bio-agent-skills/skills/drugclaw/iuphar

Query the IUPHAR/BPS Guide to Pharmacology REST API for drug targets, ligands (drugs/compounds), and their interactions. Use whenever the user asks about pharmacological targets, receptor–ligand relationships, drug mechanisms of action, or wants to look up any drug or target name in IUPHAR. Supports single entity or batch queries. No API key required.From its SKILL.md

Install
npx -y skills add BioTender-max/awesome-bio-agent-skills --skill iuphar

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

2.7 KB, 634 tokens by cl100k_base, as published. Nobody here has run it

IUPHAR/BPS Guide to Pharmacology Skill

Query the expert-curated IUPHAR database for ligands (drugs/compounds), targets (receptors/enzymes/channels), and ligand–target interactions.

Entity auto-detection

query_entity(name) tries ligand search first; if no hits, falls back to target search.

Input exampleDetected asWhat you get
morphineligandligandId, type, approved status, INN …
5-HT1A receptortargettargetId, type, gene IDs, family IDs …
GABA receptortargettarget info + top 10 ligand–target interactions

API

FunctionInputReturns
query_entity(name)single entity stringdict with entity, type, results, interactions
query_entities(names)list of entity strings{name: result_dict}
summarize(result)output of query_entityconcise human-readable text
search_ligand(name)drug/compound namelist of ligand dicts
get_ligand(id)numeric ligand IDfull ligand detail dict
search_target(name)target namelist of target dicts
get_target(id)numeric target IDfull target detail dict
get_interactions(target_id)numeric target IDlist of interaction dicts

Usage

from importlib.util import spec_from_file_location, module_from_spec
spec = spec_from_file_location("iuphar", "<path>/13_IUPHAR_BPS_Guide_to_Pharmacology.py")
iuphar = module_from_spec(spec); spec.loader.exec_module(iuphar)

# Single query
r = iuphar.query_entity("morphine")
print(iuphar.summarize(r))

# Batch query
results = iuphar.query_entities(["aspirin", "5-HT1A receptor"])
for name, res in results.items():
    print(iuphar.summarize(res))

See if __name__ == "__main__" block in the .py file for more runnable examples (single ligand, single target, batch, direct ID lookup).

Key fields returned

Ligand: ligandId, name, type, approved, inn, species

Target: targetId, name, abbreviation, type, familyIds, geneIds

Interaction: ligandId, targetId, action, affinityRange, affinityType, endogenous, species

What ships with it: 5 files

11.4 KB alongside SKILL.md, 4 of them executable

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.