← 返回 Skills 市场
Med Info
作者
DuncanDobbins
· GitHub ↗
· v0.2.3
1264
总下载
0
收藏
0
当前安装
6
版本数
在 OpenClaw 中安装
/install med-info
功能描述
Label-backed medication answers with citations and traceable IDs. RxCUI/NDC/set_id, key label sections, optional recalls/shortages/FAERS/interactions.
安全使用建议
This skill appears to implement what it claims: it queries public, authoritative APIs and produces label-backed medication summaries. Before installing or running it, consider the following: 1) It will create a local cache (default ~/.cache/med-info) and can be redirected with MED_INFO_CACHE_DIR — set or review this if you don’t want files in your home directory. 2) OPENFDA_API_KEY is optional (only needed for higher rate limits); no other secrets are required. 3) The code imports subprocess (common for utilities) but the visible code uses safe urllib requests and explicit escaping for openFDA queries; if you want extra assurance, grep the full scripts for subprocess.*Popen|call|run and shell=True or other exec patterns before running. 4) Avoid sending any PHI to the tool (SKILL.md warns this) and verify any high-stakes clinical decision against the original official label. If you need higher assurance, run the script in an isolated environment or container and review the full med_info.py file for any remaining unreviewed logic.
功能分析
Type: OpenClaw Skill
Name: med-info
Version: 0.2.3
The skill is classified as suspicious due to the presence of high-risk capabilities, specifically the execution of an external binary (`pdftotext`) via `subprocess.run` in `scripts/med_info.py` and extensive network interactions with numerous external APIs. While these capabilities are plausibly needed for the stated purpose (parsing NIOSH PDF, fetching drug info) and appear to be implemented with input sanitization and safe `subprocess.run` arguments, they inherently introduce a broader attack surface and elevate the risk profile beyond a benign classification. The `SKILL.md` and `findings.md` also acknowledge past 'Suspicious' flags related to query injection, which the developers claim to have mitigated.
能力评估
Purpose & Capability
Name/description match the included code and docs: med_info.py queries RxNorm, openFDA, DailyMed/PubChem and returns label-backed summaries with identifiers and optional safety context. Required binaries (python3) and optional OPENFDA_API_KEY align with the declared capabilities; there are no unrelated credentials or surprising third-party services.
Instruction Scope
SKILL.md instructs running the included Python script with flags and warns not to include PHI; the runtime instructions and examples stay within the stated domain (label lookups, recalls, shortages, FAERS aggregates). The code shows explicit escaping of openFDA query values (mitigates query-injection risk). One minor mismatch: the script honors MED_INFO_CACHE_DIR to change the cache location, but SKILL.md does not document this environment variable; the tool also writes cache files by default (~/.cache/med-info).
Install Mechanism
There is no install spec and no external installer — the package is distributed as source scripts. No downloads from arbitrary URLs or archive extraction occur during install. Execution will fetch public API data at runtime and create a local cache directory (default in the user's home), which is expected behaviour for this tool.
Credentials
The skill has no required credentials and only an optional OPENFDA_API_KEY to increase rate limits, which is proportional. As noted, it also reads MED_INFO_CACHE_DIR to override cache location (not declared in the SKILL.md's 'Requirements'), and prints/redacts URLs when asked. No other secret-like env vars are requested.
Persistence & Privilege
The skill is not always-enabled and does not request elevated platform privileges. It writes its own cache under the invoking user's home by default but does not alter other skills or system-wide agent settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install med-info - 安装完成后,直接呼叫该 Skill 的名称或使用
/med-info触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.2.3
Rewrite SKILL.md to be clearer and more compelling. Added stronger quickstart and examples, clarified optional flags and workflows.
v0.2.2
Add pharmacist output profile, NIOSH hazardous flag, REMS best-effort lookup, and safety flags; improve NDC packaging output.
v0.2.1
Security: escape/validate openFDA search strings to prevent query injection. Fix: Purple Book download validation. Add: FAERS, RxClass, DailyMed metadata/images, Orange/Purple Book lookups.
v0.2.0
Add disambiguation controls (--candidates/--pick/--set-id), optional recalls (--recalls) and shortages (--shortages), output shaping (--sections/--brief) and query traceability (--print-url).
v0.1.1
Fix NDC lookup (package_ndc lives under packaging.package_ndc) and prevent incorrect RxNorm fallback on NDC inputs. Prefer label lookup by SPL set_id when available. Doc corrections.
v0.1.0
Initial release: RxNorm + openFDA + MedlinePlus Connect; adds --find keyword search.
元数据
常见问题
Med Info 是什么?
Label-backed medication answers with citations and traceable IDs. RxCUI/NDC/set_id, key label sections, optional recalls/shortages/FAERS/interactions. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1264 次。
如何安装 Med Info?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install med-info」即可一键安装,无需额外配置。
Med Info 是免费的吗?
是的,Med Info 完全免费(开源免费),可自由下载、安装和使用。
Med Info 支持哪些平台?
Med Info 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux)。
谁开发了 Med Info?
由 DuncanDobbins(@duncandobbins)开发并维护,当前版本 v0.2.3。
推荐 Skills