← 返回 Skills 市场
unisound-med-teach
作者
Unisound-LLM
· GitHub ↗
· v1.0.0
· MIT-0
43
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install unisound-med-teach
功能描述
临床教学案例生成。由调用方提供题目文本或含 `question` 字段的结构化输入,经内部医疗大模型按题干约束生成作答;仅含 `scripts/run.py`,可独立拷贝部署。
使用说明 (SKILL.md)
临床教学案例生成
概述
基于给定病历要点生成教学案例,突出学习目标、鉴别点与伦理边界(注意脱敏)。
本能力与具体业务请求解耦:平台或调用方如何组织用户输入由集成方决定;此处只约定如何把题目交给脚本(见下)。
题目输入(三选一)
--question:直接传入完整题干字符串。--input PATH:.jsonl:每行一个 JSON 对象,须含非空字符串字段question;可用--index/--batch/--match-id选取记录;.json:单个对象,须含question;- 其他扩展名:按 UTF-8 纯文本整文件作为题干。
- 传
-时从 stdin 读取一条 JSON(含question)或纯文本。
- stdin(且未传
--question/--input、且 stdin 非 TTY):读入 JSON 对象或纯文本,规则同-。
模型
- 默认
u1-insuremed,接口https://maas-api.hivoice.cn/v1/chat/completions(可通过参数覆盖)。
用法示例
# 命令行直接给题
python3 scripts/run.py --question "题干……" --appkey YOUR_KEY
# 从任意路径的 jsonl 取一条(与文件名无关)
python3 scripts/run.py --input /path/to/items.jsonl --index 0 --appkey YOUR_KEY
参数
--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、question、answer、record_index、meta、model、input_mode、input_path(来自文件时非空)等;skill 为本任务标题。
合规说明
输出为模型辅助信息,不构成正式诊疗决策;涉及真实患者数据须先脱敏并遵守院内流程。
安全使用建议
Install only if you are comfortable sending the provided case text to the listed medical LLM API. Use de-identified teaching cases, protect the app key, verify the publisher/metadata mismatch is expected, and store any output files securely.
功能分析
Type: OpenClaw Skill
Name: unisound-med-teach
Version: 1.0.0
The skill bundle is a legitimate tool for generating clinical teaching cases by interfacing with a medical LLM API (hivoice.cn). The Python script `scripts/run.py` uses standard libraries to handle input from command-line arguments, files, or stdin and performs a standard POST request to the specified API. There are no signs of data exfiltration, unauthorized execution, or malicious instructions in the documentation.
能力评估
Purpose & Capability
The documented purpose and visible code align: it takes a caller-provided question/file/stdin, calls a disclosed medical LLM endpoint, and returns an answer. The main user consideration is that clinical case text may be sensitive.
Instruction Scope
The instructions describe normal user-directed inputs and options; they do not try to override agent goals, force hidden tool use, or make untrusted text authoritative.
Install Mechanism
There is no install spec, dependency download, shell setup, or package installation. Provenance is weaker because the source is unknown and embedded _meta.json uses a different owner/slug from the registry metadata.
Credentials
The script reads user-selected input files or stdin, can write a user-selected output file, and sends prompts to the disclosed API endpoint. These capabilities are proportionate to the stated purpose but should be used with de-identified clinical text.
Persistence & Privilege
No background persistence or credential storage is shown. However, the skill requires an app key for non-dry-run use and optional outputs can store the full question, metadata, answer, and input path.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install unisound-med-teach - 安装完成后,直接呼叫该 Skill 的名称或使用
/unisound-med-teach触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of clinical teaching case generation skill.
- Generates teaching cases based on key points provided in question text or structured input.
- Supports flexible input methods: direct question string, input file (`.json`, `.jsonl`, plain text), or standard input.
- Utilizes internal medical LLM (`u1-insuremed`) via configurable API.
- Includes options for input selection, model parameters, and dry-run mode.
- Outputs structured JSON with answer, input details, and metadata.
- Emphasizes de-identification and compliance with patient data protocols.
元数据
常见问题
unisound-med-teach 是什么?
临床教学案例生成。由调用方提供题目文本或含 `question` 字段的结构化输入,经内部医疗大模型按题干约束生成作答;仅含 `scripts/run.py`,可独立拷贝部署。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 43 次。
如何安装 unisound-med-teach?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install unisound-med-teach」即可一键安装,无需额外配置。
unisound-med-teach 是免费的吗?
是的,unisound-med-teach 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
unisound-med-teach 支持哪些平台?
unisound-med-teach 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 unisound-med-teach?
由 Unisound-LLM(@unisound-llm)开发并维护,当前版本 v1.0.0。
推荐 Skills