LTKB Query Skill

SkillDatabases & data

Query the DILIrank/FDA Liver Toxicity Knowledge Base (LTKB). Use whenever the user asks about drug-induced liver injury (DILI) risk, hepatotoxicity classification, or wants to look up any drug (by name, LTKB ID, or DILIst ID) in the DILIrank or DILIst datasets.

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the LTKB Query Skill skill

What this skill tells your AI

The instructions your AI receives, as published by qsong-github/drugclaw in skills/drug_toxicity/dilirank/SKILL.md and read by ahel’s review.

Search FDA LTKB records (DILIrank 2.0 + DILIst) by any entity. Auto-detects type by pattern:

Input PatternDetected AsSearched In
LT00040LTKB IDDILIrank only
2 (digits)DILIst IDDILIst only
anything elsedrug nameboth datasets (substring)

Datasets

DILIrank 2.0 — 1,036 FDA-approved drugs ranked by DILI concern:

vDILI-ConcernMeaning
vMOST-DILI-concernStrong evidence of causing DILI
vLess-DILI-concernSome evidence of causing DILI
vNo-DILI-concernNo credible evidence
vAmbiguous-DILI-concernConflicting/insufficient evidence

Columns: LTKBID, CompoundName, SeverityClass, LabelSection, vDILI-Concern, Comment

DILIst — 1,279 drugs classified by DILI severity:

ClassificationMeaning
1DILI-positive
0DILI-negative

Columns: DILIST_ID, CompoundName, DILIst Classification, Routs of Administration

API

FunctionInputReturns
load_all(rank_path, list_path)Excel paths{"dilirank": [...], "dilist": [...]}
search(data, entity)data dict + entity string{"entity", "type", "dilirank": [], "dilist": []}
search_batch(data, entities)data dict + list of strings{entity: search_result}
summarize(result, entity)search result + labelcompact text
to_json(result)search resultJSON string

Usage

See if __name__ == "__main__" block in 48_LTKB.py for runnable examples covering: drug name, LTKB ID, DILIst ID, batch search, and JSON output.

Data

Signals

GitHub stars
116
Forks
3
Last commit
Aug 2026

ahel review

  • K1binfo
    installs-packages (in example.py)

Automated review, not a security audit. Ruleset v1+k2.

Advanced
Item type
skill
Key
x-48-ltkb
Source
github.com/qsong-github/drugclaw