agentsclimarketplace

Ade corpus

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

A curated collection of AI agent skills for biomedical research, covering genomics, proteomics, single-cell analysis, clinical AI, and protein design.From the repository description

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

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.4 KB, 654 tokens by cl100k_base, as published. Nobody here has run it

32_ADE_Corpus

Overview

ADE Corpus V2 — Adverse Drug Event relation extraction dataset from annotated PubMed case reports.

FieldValue
CategoryDrug-centric
SubcategoryDrug NLP / Text Mining
SourceGitHub
PaperACL 2016
Local Pathresources_metadata/drug_nlp/ADECorpus/ADE-Corpus-V2

Data Files

FileContent
DRUG-AE.relDrug ↔ Adverse Event relation pairs with source sentences
DRUG-DOSE.relDrug ↔ Dose relation pairs with source sentences
ADE-NEG.txtNegative examples (sentences without adverse events)

Quick Start

from 32_ADE_Corpus import ADECorpus  # or rename to ade_corpus

corpus = ADECorpus()

# Single entity
print(corpus.query("aspirin"))

# Multiple entities
print(corpus.query(["lithium", "hepatotoxicity"]))

# Corpus statistics
print(corpus.stats())

Query Input / Output

Input

corpus.query(entities) — accepts str or list[str].
Each entity is matched case-insensitively against both drug names and adverse event names.

Output (JSON)

{
  "aspirin": {
    "entity": "aspirin",
    "matched_as_drug": true,
    "matched_as_adverse_event": false,
    "total_mentions": 42,
    "adverse_events": ["bleeding", "tinnitus", "..."],
    "doses": ["100mg", "..."],
    "related_drugs": null,
    "pubmed_ids": ["12345678", "..."],
    "sample_sentences": ["A 65-year-old patient developed ..."]
  }
}
FieldDescription
matched_as_drugEntity found as a drug name
matched_as_adverse_eventEntity found as an adverse event name
total_mentionsTotal matching records
adverse_eventsList of associated adverse events (when matched as drug)
dosesList of associated doses (when matched as drug)
related_drugsList of drugs causing this event (when matched as AE)
pubmed_idsUp to 10 source PubMed IDs
sample_sentencesUp to 3 example sentences

Notes

  • All matching is case-insensitive.
  • query() returns a JSON string directly consumable by LLMs.
  • stats() returns corpus-level counts (total relations, unique drugs/AEs).
  • No external dependencies — stdlib only (os, json, collections).

What ships with it: 5 files

14.2 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.