← Back to Skills Marketplace
Med Info
by
DuncanDobbins
· GitHub ↗
· v0.2.3
1264
Downloads
0
Stars
0
Active Installs
6
Versions
Install in OpenClaw
/install med-info
Description
Label-backed medication answers with citations and traceable IDs. RxCUI/NDC/set_id, key label sections, optional recalls/shortages/FAERS/interactions.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install med-info - After installation, invoke the skill by name or use
/med-info - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is Med Info?
Label-backed medication answers with citations and traceable IDs. RxCUI/NDC/set_id, key label sections, optional recalls/shortages/FAERS/interactions. It is an AI Agent Skill for Claude Code / OpenClaw, with 1264 downloads so far.
How do I install Med Info?
Run "/install med-info" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Med Info free?
Yes, Med Info is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Med Info support?
Med Info is cross-platform and runs anywhere OpenClaw / Claude Code is available (darwin, linux).
Who created Med Info?
It is built and maintained by DuncanDobbins (@duncandobbins); the current version is v0.2.3.
More Skills