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.
npx skills add EthanYoQ/Skill-hub --skill nmpa-drug-registry-lookupgit clone --depth 1 https://github.com/EthanYoQ/Skill-hubWrote 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.
[](https://agentmods.dev/skills/ethanyoq/skill-hub/nmpa-drug-registry-lookup)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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 不允许凭训练记忆拼凑通用名↔商品名↔英文名对应关系 — 因为:
- 药企会更换商品名(如同一通用名在不同厂家有多个商品名)
- 新药持续上市,LLM 训练截止日期之后的数据完全不可信
- 中国市场命名经常与全球市场不同(如:Lorlatinib 中国商品名"博瑞纳",国外"Lorbrena")
- 一个药名错位 = 整份报告地基塌方(治疗推荐错 / 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()
调用顺序:
- orchestration 解析疾病 → fetch_chinese_guidelines() 拿指南治疗推荐表
- 用指南里提到的药品 → lookup_drugs_batch() 建立本疾病 drug_registry.json
- 报告生成时所有药品名引用从 drug_registry.json 取(LLM 禁止改写)
- 报告草稿出来 → cross_check_drug_mentions(html) 全文扫描,critical 严重性 → raise
What ships with it
10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/drugbank-integration.md 1.6 KB
- references/failure-modes.md 2.8 KB
- references/nmpa-fetch-api.md 2.0 KB
- scripts/__init__.py 627 B runs code
- scripts/_cache.py 2.7 KB runs code
- scripts/_cde.py 1.1 KB runs code
- scripts/_drugbank.py 1.1 KB runs code
- scripts/_known_drugs_fallback.py 8.9 KB runs code
- scripts/_nmpa.py 3.4 KB runs code
- scripts/registry.py 8.4 KB runs code
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.
- 2mo ago First seen · 267 lines · 326 tokens per session scan A 2e44a59db239
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.
nmpa-drug-registry-lookup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nmpa-drug-registry-lookupEthanYoQ/Skill-hub | Skill | 12 | 2d ago | MIT | A | 326 | Claude Code, Codex |
| autoresearchYSAA1/harness-workflow | Skill | 3 | 1mo ago | MIT | A | 113 | Claude Code |
| arxiv-researchervignesh2027/Claude-Agentic-Skills2.0-version | Skill | 4 | 3mo ago | MIT | A | 71 | Claude Code, Codex |
| biotech-analystvignesh2027/Claude-Agentic-Skills2.0-version | Skill | 4 | 3mo ago | MIT | A | 73 | Claude Code, Codex |
| climate-tech-analystvignesh2027/Claude-Agentic-Skills2.0-version | Skill | 4 | 3mo ago | MIT | A | 83 | Claude Code, Codex |
| latex-writerinbharatai/claude-skills | Skill | 44 | 8mo ago | MIT | A | 28 | Claude Code, Codex |
| literature-reviewerinbharatai/claude-skills | Skill | 44 | 8mo ago | MIT | A | 25 | Claude Code, Codex |