← 返回 Skills 市场
unisound-llm

med-initial-record-genenration

作者 Unisound-LLM · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
93
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install med-initial-record-genenration
功能描述
从中文医患对话文本生成门诊初诊病历,输出结构化分段的病历正文(文本)。
安全使用建议
Key points before installing or using this skill: - The README promises automatic de‑identification and that input/intermediate data won't be persisted, but the shipped code posts the dialogue text to an external HTTPS API and writes output files to disk. There is no obvious redaction step in gen_initial_record.py. - If you plan to use real patient data (PHI), do not assume the skill will protect identities. Either sanitize/anonymize the dialogue yourself before running the skill, or avoid using this skill for real patient data until the developer provides verifiable redaction logic. - The external endpoint (shangbao.yunzhisheng.cn) is unauthenticated: data will be sent over HTTPS but without an API key or per‑tenant access control. Ask the maintainer who operates that endpoint and what their data retention/policy is. - If you need stronger guarantees, request source changes: add explicit PII-redaction (names, ID numbers, phone numbers, addresses), avoid sending raw dialogues, and add an option to run fully offline or against a local model/service. - As a quick mitigation, run the tool on synthetic or redacted test data only, or disable network access for the process (or firewall the host) until you verify sanitization and the third party’s privacy commitments. If you want, I can: - Search the remaining run.py content to verify whether any redaction logic exists and where it runs (preprocessing vs. before calling the API). - Suggest specific redaction patterns or code changes to implement safe PII removal prior to upload.
功能分析
Type: OpenClaw Skill Name: med-initial-record-genenration Version: 1.0.1 The skill bundle is a legitimate tool designed to generate structured medical records from Chinese doctor-patient dialogues. It includes a comprehensive preprocessing script (scripts/run.py) that handles multiple file formats like PDF, DOCX, and images using standard libraries and external utilities (LibreOffice, Tesseract, pdftotext) called via safe subprocess executions. The core logic (scripts/gen_initial_record.py) transmits the processed dialogue to a specialized medical AI API hosted by Unisound (shangbao.yunzhisheng.cn). The documentation in SKILL.md includes clear privacy and safety guidelines, and no evidence of malicious intent, data exfiltration, or prompt injection was found.
能力评估
Purpose & Capability
Name/description (generate outpatient initial record from Chinese doctor–patient dialogue) match the code and instructions: the skill preprocesses various input formats and calls a backend record-generation API to produce structured medical-record text.
Instruction Scope
SKILL.md promises strict de‑identification and that inputs/intermediate data won't be persisted. The gen_initial_record.py implementation reads the input file and sends the dialogue as the 'diag' field to an external endpoint (https://shangbao.yunzhisheng.cn/skills/record-gen/gen_record_by_diag_v1) with no visible PII-redaction step. The scripts do write output files to disk (and offer an option to save preprocessed text), which contradicts the 'no local persistence' assertion.
Install Mechanism
No install spec; optional Python packages (openpyxl, pypdf) and external CLI tools (soffice, pdftotext, tesseract) are documented and reasonable for the declared input formats. No downloads from untrusted URLs or archive extraction are present.
Credentials
The skill requests no environment variables or credentials, which is consistent with the code. However, it sends (potentially sensitive) dialogue content to an external, unauthenticated HTTPS API; the lack of auth means confidential data could be transmitted to that service without further controls. SKILL.md's assurances about encryption and limited use are declarative and not enforced by code.
Persistence & Privilege
The skill is not always-enabled and does not request special platform privileges. Still, it writes outputs to disk and optionally can save preprocessed text; this contradicts the SKILL.md claim of 'no local persistence' for inputs/intermediates. There is no code that shows persistent storage of credentials or modifying other skills, but the mismatch in claimed vs actual persistence is notable.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install med-initial-record-genenration
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /med-initial-record-genenration 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- 新增统一入口脚本 scripts/run.py,支持多种输入格式(pdf/doc/docx/xls/xlsx/csv/txt/json)。 - 支持对非标准格式输入的预处理和归一化为标准医患对话文本。 - SKILL.md 更新,详细说明了多格式输入流程、依赖的第三方包与工具,并补充相关参数说明。 - 继续支持原有文本输入脚本,兼容性提升。
v1.0.0
Initial release of med-initial-record-gen. - Generate structured outpatient initial medical records from Chinese doctor-patient dialogues. - Outputs key sections such as chief complaint, history of present illness, past history, physical exam, auxiliary examination, diagnosis, and treatment. - Ensures strict anonymization and does not retain any user data after processing. - Provides clear input/output specifications and quick-start instructions. - Includes privacy, security, and ethical guidelines for safe use.
元数据
Slug med-initial-record-genenration
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

med-initial-record-genenration 是什么?

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

如何安装 med-initial-record-genenration?

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

med-initial-record-genenration 是免费的吗?

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

med-initial-record-genenration 支持哪些平台?

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

谁开发了 med-initial-record-genenration?

由 Unisound-LLM(@unisound-llm)开发并维护,当前版本 v1.0.1。

💬 留言讨论