nmpa-drug-registry-lookup SKILL.md skillA
nmpa-drug-registry-lookup from ethanyoq/skill-hub is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add ethanyoq/skill-hub/nmpa-drug-registry-lookup@git:20260912.84c6c93Pins git:20260912.84c6c93 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- ethanyoq/skill-hub
- Path
archives/user-installed-skills/nmpa-drug-registry-lookup/c46e383d394cc99a/nmpa-drug-registry-lookup/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260912.84c6c93, committed Sep 12, 2026
- Size
- 12,264 bytes
- Repository stars
- 11
- License
- MIT
中国药品权威数据库查询 — NMPA(国家药监局) + CDE(药品审评中心) + DrugBank(英文名/ATC) + PubChem(化学结构) 多源融合,提供(通用名 ↔ 商品名 ↔ 英文名 ↔ 适应症 ↔ NMPA 批文号 ↔ 上市日期)精确映射。Make sure to use this skill whenever the user mentions 药品名 / 通用名 / 商品名 / NMPA / 国药准字 / 药监局 / CDE / drug brand name / generic name / drug registry / pharmaceutical lookup / drug verification / 药物核验 / 商品名对应 / drug cross-check / drug authority lookup. 在任何 medical / market-sizing / clinical / disease-research 报告生成阶段,**所有药品提及必须先调 lookup_drug() 验证**,严禁 LLM…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 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 错 / 市场份额测算错)
**唯一允许的姿势**:
```python
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] # "博瑞纳"
```
**绝不允许**:
```python
# 错误!LLM 凭记忆
report_html += "<p>洛拉替尼(商品名:赛可瑞)...</p>" # 赛可瑞实际是克唑替尼!
report_html += "<p>布加替尼(商品名:博瑞纳)...</p>" # 博瑞纳实际是洛拉替尼!
```
---
## 何时调用
- 任何**报告生成阶段**(market-sizing / 治疗方案 / 决策树 / 市场份额测算)涉及具体药品名
- 用户问"X 药的通用名是什么?"、"Y 药什么时候在中国上市?"、"Z 药 NMPA 批文号是多少?"
…Read the whole file at its exact version.
How to install
mdr add ethanyoq/skill-hub/nmpa-drug-registry-lookup@sha256:2e44a59db23900aeThe line at the top of this page pins the label git:20260912.84c6c93, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_623h7rk734had43h)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Sep 12, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (12264 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
ethanyoq/skill-hub · 11 stars · license MIT · pushed 2026-11-07 · branch mine
API
GET https://markdownregistry.com/api/v1/artifacts/art_623h7rk734had43h GET https://markdownregistry.com/api/v1/resolve?ref=ethanyoq/skill-hub/nmpa-drug-registry-lookup GET https://markdownregistry.com/api/v1/blob/2e44a59db23900ae4e5ef3eb81b9b732e3868ede3a95ad9fed94dc63a5d710d6
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.