agentsclimarketplace

Ndfrt

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

Query NDF-RT (National Drug File Reference Terminology) via the NCI EVS REST API. Use when looking up drug mechanisms of action, physiological effects, pharmacologic classes, chemical structures, or drug–disease relationships (may_treat / may_prevent) in NDF-RT. Accepts drug names or NDF-RT codes.From its SKILL.md

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

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

NDF-RT Query Skill

Search NDF-RT concepts by drug name or NDF-RT code via the NCI EVS REST API. Auto-detects entity type by pattern:

Input PatternDetected AsLookup Logic
N0000145918NDF-RT code (N + 10 digits)direct concept GET
anything elsefree textfull-text search endpoint

API

FunctionInputReturns
search(entity, limit)single entity stringdict with entity, type, results
search_batch(entities, limit)list of entity stringsdict[str, dict]
summarize(result, entity)search result dict + labelcompact multi-line text
to_json(result)search result dictlist[dict]

Result dict structure

Each item in results contains:

KeyDescription
codeNDF-RT concept code
namePreferred concept name
kindConcept kind (e.g. DRUG_KIND, DISEASE_KIND)
propertiesflat {type: value} property dict
roleslist of {type, relatedCode, relatedName} role relationships
parentslist of {code, name} ISA parent concepts
synonymsdeduplicated list of synonym strings

Key NDF-RT relationship types (roles)

RoleMeaning
has_MoAmechanism of action
has_PEphysiological effect
has_EPCestablished pharmacologic class
may_treatindicated disease/condition
may_preventpreventable disease/condition
CI_withcontraindicated with
has_Chemical_Structurechemical structure classification

Usage

See if __name__ == "__main__" block in 52_NDF_RT.py for runnable examples covering: drug name search, code lookup, batch search, JSON output, and root concept listing.

Data

  • Source: NCI EVS REST API (https://api-evsrest.nci.nih.gov/api/v1)
  • Terminology: ndfrt
  • Auth: none required
  • Rate limits: not documented; use reasonable request spacing
  • Maintainer: U.S. Department of Veterans Affairs / NCI Enterprise Vocabulary Services

What ships with it: 5 files

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