← 返回 Skills 市场
aaiccee

med-record-gen

作者 aaiccee · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
246
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install med-record-gen
功能描述
从中文医患对话文本生成门诊初诊病历,输出结构化分段的病历正文(文本)。
安全使用建议
This skill contains a clear mismatch between its privacy promises and the code: SKILL.md says it will de-identify inputs and not persist data, but scripts/gen_initial_record.py posts the full dialogue to an external URL and writes the generated record to disk. Before installing or using this skill, consider: 1) Do not send real patient data to this skill until you verify the backend and that de-identification is actually performed. 2) Inspect and verify the remote endpoint (shangbao.yunzhisheng.cn): who operates it, privacy policy, retention, encryption, and whether it is trusted for protected health information (PHI). 3) If you need local guarantees, ask the author to implement and document an explicit de-identification step in the script (with tests), or modify the code to perform on-device de-id before any network call. 4) If storing output on disk is unacceptable, change the script to avoid writing files or make output optional. 5) Run the code in an isolated environment and test with synthetic/scrubbed dialogues first. If the author cannot justify the endpoint and the missing de-identification, treat this skill as unsafe for real patient data.
功能分析
Type: OpenClaw Skill Name: med-record-gen Version: 1.0.0 The skill claims in SKILL.md to perform 'strict de-identification' and avoid 'local persistence' of sensitive medical data. However, the implementation in scripts/gen_initial_record.py contradicts these claims by reading raw input files and sending them directly to an external API (shangbao.yunzhisheng.cn) without any anonymization, while also explicitly writing the results to the local file system. This discrepancy between the stated security posture and the actual code logic creates a significant privacy risk regarding the handling of medical information.
能力评估
Purpose & Capability
The stated purpose (generate structured outpatient initial records from Chinese doctor–patient dialogue) matches the provided script's behavior: the script reads a dialogue file and requests a record from a backend service. Calling a remote service to generate records is plausible for this purpose.
Instruction Scope
SKILL.md repeatedly promises local de-identification ('严格脱敏'), minimal-data principles, and '不做本地持久化' (no local persistence). The runtime script, however, reads the full dialogue file and posts it directly to an external endpoint (RECORD_API_URL) with no de-identification or sanitization step implemented. The script also writes the generated record to disk (default ../runs/...), contradicting the 'no local persistence' claim. This is a significant mismatch between instructions and actual behavior.
Install Mechanism
No install spec is provided and the skill is instruction + a small Python script. No third-party packages or arbitrary downloads are installed by the skill itself, so installation risk is low.
Credentials
The skill requests no environment variables or credentials, yet it transmits (potentially sensitive) dialogue text to an external host (https://shangbao.yunzhisheng.cn/...). There is no authentication or explicit opt-in shown in the code, and the promised de-identification step is missing. Transmitting PHI/PII without the claimed protections is disproportionate to the declared transparency in SKILL.md.
Persistence & Privilege
SKILL.md asserts 'no local persistence' for inputs/intermediate data, but the script reads input from disk and writes the output record to a file (creates directories if needed). The skill does not request elevated agent privileges nor set always:true, but the mismatch about persistence is material to privacy.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install med-record-gen
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /med-record-gen 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of med-initial-record-gen: - Generates structured outpatient initial medical records from Chinese doctor-patient dialogue text. - Supports standard sections: chief complaint, present illness, past history, menstruation history, physical examination, auxiliary examinations, diagnosis, and management. - Emphasizes data privacy and security, including strict de-identification and no local data persistence. - Not for clinical diagnosis or treatment; requires final review by a licensed physician. - Includes quick start instructions and options for input/output configuration.
元数据
Slug med-record-gen
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

med-record-gen 是什么?

从中文医患对话文本生成门诊初诊病历,输出结构化分段的病历正文(文本)。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 246 次。

如何安装 med-record-gen?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install med-record-gen」即可一键安装,无需额外配置。

med-record-gen 是免费的吗?

是的,med-record-gen 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

med-record-gen 支持哪些平台?

med-record-gen 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 med-record-gen?

由 aaiccee(@aaiccee)开发并维护,当前版本 v1.0.0。

💬 留言讨论