nmpa-drug-registry-lookup

nmpa-drug-registry-lookup is a skill for Claude Code, Codex from EthanYoQ/Skill-hub. It costs 326 tokens per session (3,612 once invoked), scanned A, original, MIT.

A drug-registry lookup tool that combines Chinese regulator records with international drug and chemical databases. It maps generic names, brand names, English names, uses, approval numbers, and launch dates.

In plain words
What is it for?
Use it to verify a medicine name, find its Chinese approval record, connect brand and generic names, check its indication or launch date, and look up related chemical information.
Why use it?
It helps prevent mistakes when identifying medicines across Chinese and English names or checking whether a drug has an official Chinese record. This is useful because brand names and approvals can differ by market.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; mentions Codex; mentions Gemini CLI.

Good fit Use it to verify a medicine name, find its Chinese approval record, connect brand and generic names, check its indication or launch date, and look up related chemical information.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ethanyoq/skill-hub/nmpa-drug-registry-lookup
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add EthanYoQ/Skill-hub --skill nmpa-drug-registry-lookup
Clone the repo
git clone --depth 1 https://github.com/EthanYoQ/Skill-hub

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for nmpa-drug-registry-lookup

README.md
[![agentmods](https://agentmods.dev/badge/skills/ethanyoq/skill-hub/nmpa-drug-registry-lookup/github.svg)](https://agentmods.dev/skills/ethanyoq/skill-hub/nmpa-drug-registry-lookup)
Your own site
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/nmpa-drug-registry-lookup"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/nmpa-drug-registry-lookup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for nmpa-drug-registry-lookup

Your own site · 80×15
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/nmpa-drug-registry-lookup"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/nmpa-drug-registry-lookup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 326 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,612 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00326 $0.03612
Opus 5.5 $0.00130 $0.01445
Sonnet 5.5 $0.00065 $0.00722
Haiku 4.5 $0.00033 $0.00361

Measured 2mo ago against content hash 2e44a59db239, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nmpa-drug-registry-lookup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 7 executable files (scripts/__init__.py, scripts/_cache.py, scripts/_cde.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

archives/user-installed-skills/nmpa-drug-registry-lookup/c46e383d394cc99a/nmpa-drug-registry-lookup/SKILL.md · 267 lines

How it starts

The opening of the file, as written. The whole thing — 267 lines — stays where its author put it; the contents beside it link to each section on GitHub.

nmpa-drug-registry-lookup · 中国药品权威 Registry

一句话定义

中国市场所有报告里的药品提及,都从此 skill 拿权威记录(NMPA + CDE + DrugBank + PubChem 多源融合);LLM 不允许凭记忆改写药品名。


Iron Law(违反此条 = 报告作废)

任何写入报告的药品名(通用名 / 商品名 / 英文名),必须通过 lookup_drug() 验证。

LLM 不允许凭训练记忆拼凑通用名↔商品名↔英文名对应关系 — 因为:

  1. 药企会更换商品名(如同一通用名在不同厂家有多个商品名)
  2. 新药持续上市,LLM 训练截止日期之后的数据完全不可信
  3. 中国市场命名经常与全球市场不同(如:Lorlatinib 中国商品名"博瑞纳",国外"Lorbrena")
  4. 一个药名错位 = 整份报告地基塌方(治疗推荐错 / GRADE 错 / LP 错 / 市场份额测算错)

唯一允许的姿势:

from nmpa_drug_registry_lookup.scripts.registry import lookup_drug, UnverifiedDrugError

rec = lookup_drug("洛拉替尼")
if rec is None:
    raise UnverifiedDrugError("洛拉替尼 not in NMPA registry — refuse to write to report")

# 报告里写药名时,通用名和商品名都从 record 取,不要手输
generic_zh = rec.generic_name_zh   # "洛拉替尼"
generic_en = rec.generic_name_en   # "Lorlatinib"
brand_zh   = rec.brand_names_zh[0] # "博瑞纳"

绝不允许:

# 错误!LLM 凭记忆
report_html += "<p>洛拉替尼(商品名:赛可瑞)...</p>"   # 赛可瑞实际是克唑替尼!
report_html += "<p>布加替尼(商品名:博瑞纳)...</p>"   # 博瑞纳实际是洛拉替尼!

何时调用

  • 任何报告生成阶段(market-sizing / 治疗方案 / 决策树 / 市场份额测算)涉及具体药品名
  • 用户问"X 药的通用名是什么?"、"Y 药什么时候在中国上市?"、"Z 药 NMPA 批文号是多少?"
  • medical-evidence-grading / disease-market-sizing-orchestration 调用方需要药名锚定
  • 报告生成完毕,跑 cross_check_drug_mentions() 全文扫描,catch LLM 偷偷凭记忆改写的药名

何时不调用

  • 文献检索本身(给 PubMed query 时)— 不需要,query 自由文本即可
  • 询问药物机制 / 靶点(用 pubtator-entity-search 抓基因/通路)
  • 询问临床试验状态(用 clinical-trials-v2)

与其他 skill 的协作关系

                        ┌─ pubmed-eutils(召回主力)
召回层 ───┬─────────────┤
          │             └─ europepmc-search
          │
          │             ┌─ cn-clinical-guidelines-fetch(指南权威)
权威层 ───┼─────────────┤
          │             └─ ★ nmpa-drug-registry-lookup(本 skill · 药品权威)
          │
          ▼
报告生成层 ───  所有药品名引用 → lookup_drug() / cross_check_drug_mentions()

调用顺序:

  1. orchestration 解析疾病 → fetch_chinese_guidelines() 拿指南治疗推荐表
  2. 用指南里提到的药品 → lookup_drugs_batch() 建立本疾病 drug_registry.json
  3. 报告生成时所有药品名引用从 drug_registry.json 取(LLM 禁止改写)
  4. 报告草稿出来 → cross_check_drug_mentions(html) 全文扫描,critical 严重性 → raise

Read the full file on GitHub · 267 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 267 lines · 326 tokens per session scan A 2e44a59db239

Subscribe to this mod's changes

nmpa-drug-registry-lookup is a skill published in the GitHub repository EthanYoQ/Skill-hub (12 stars, last pushed 2d ago), licensed MIT. It adds 326 tokens to every session and 3,612 once invoked, about $0.0013 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-13.

Related

nmpa-drug-registry-lookup compared with skills from other repositories

nmpa-drug-registry-lookup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nmpa-drug-registry-lookupEthanYoQ/Skill-hubSkill122d agoMITA326Claude Code, Codex
autoresearchYSAA1/harness-workflowSkill31mo agoMITA113Claude Code
arxiv-researchervignesh2027/Claude-Agentic-Skills2.0-versionSkill43mo agoMITA71Claude Code, Codex
biotech-analystvignesh2027/Claude-Agentic-Skills2.0-versionSkill43mo agoMITA73Claude Code, Codex
climate-tech-analystvignesh2027/Claude-Agentic-Skills2.0-versionSkill43mo agoMITA83Claude Code, Codex
latex-writerinbharatai/claude-skillsSkill448mo agoMITA28Claude Code, Codex
literature-reviewerinbharatai/claude-skillsSkill448mo agoMITA25Claude Code, Codex