unisound-med-rx-safety-ethics
/install unisound-med-rx-safety-ethics
处方审核与安全伦理
概述
处方合理性与医疗安全、伦理合规类问题,严格按题目要求的作答格式输出。
具体场景通过 --task 切换系统提示词(见下表),能力依赖内部医疗大模型;集成方也可通过 --system-prompt 完全自定义。
--task |
能力 |
|---|---|
ethics |
医学伦理与法规问答 |
rx-msq |
处方审核(多选题题型) |
rx-scq |
处方审核(单选题题型) |
rx-sq |
处方审核(问答题型) |
safety |
医疗安全制度与规范问答 |
本能力与具体业务请求解耦:平台或调用方如何组织用户输入由集成方决定;此处只约定如何把题目交给脚本(见下)。
题目输入(三选一)
--question:直接传入完整题干字符串。--input PATH:.jsonl:每行一个 JSON 对象,须含非空字符串字段question;可用--index/--batch/--match-id选取记录;.json:单个对象,须含question;- 其他扩展名:按 UTF-8 纯文本整文件作为题干。
- 传
-时从 stdin 读取一条 JSON(含question)或纯文本。
- stdin(且未传
--question/--input、且 stdin 非 TTY):读入 JSON 对象或纯文本,规则同-。
可在 JSON 的 other.task 中指定任务类型(与 --task 等价;命令行 --task 优先)。
模型
- 默认
u1-insuremed,接口https://maas-api.hivoice.cn/v1/chat/completions(可通过参数覆盖)。
用法示例
# 指定任务类型与题干
python3 scripts/run.py --task ethics --question "题干……" --appkey YOUR_KEY
# 从 jsonl 取题(other.task 可省略若命令行已传 --task)
python3 scripts/run.py --task ethics --input /path/to/items.jsonl --index 0 --appkey YOUR_KEY
参数
--task:必填(除非other.task已给出)。见上表。--question/--input:见上,与 stdin 三选一(--question与--input不可同时使用)。--appkey STRING:必填(--dry-run时除外)。内部医疗大模型鉴权 key。--index、--match-id、--batch:仅对.jsonl生效。--dry-run:不调用模型,仅输出解析后的题目 JSON。--model、--api-url、--temperature、--timeout、--system-prompt:调模型参数。--output PATH:另存完整 JSON(批量为 NDJSON)。--text-only:标准输出仅打印模型答案文本。
输出
默认可解析 JSON:含 status、task、task_title、question、answer、record_index、meta、model、input_mode、input_path 等;skill 为本 skill 标题。
合规说明
输出为模型辅助信息,不构成正式诊疗决策;涉及真实患者数据须先脱敏并遵守院内流程。
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install unisound-med-rx-safety-ethics - After installation, invoke the skill by name or use
/unisound-med-rx-safety-ethics - Provide required inputs per the skill's parameter spec and get structured output
What is unisound-med-rx-safety-ethics?
处方审核(问答/单选/多选题型)、医疗安全规范与医学伦理法规问答;仅含 `scripts/run.py`,可独立拷贝部署。 It is an AI Agent Skill for Claude Code / OpenClaw, with 44 downloads so far.
How do I install unisound-med-rx-safety-ethics?
Run "/install unisound-med-rx-safety-ethics" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is unisound-med-rx-safety-ethics free?
Yes, unisound-med-rx-safety-ethics is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does unisound-med-rx-safety-ethics support?
unisound-med-rx-safety-ethics is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created unisound-med-rx-safety-ethics?
It is built and maintained by Unisound-LLM (@unisound-llm); the current version is v1.0.0.