← Back to Skills Marketplace
unisound-llm

med-initial-record-genenration

by Unisound-LLM · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
93
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install med-initial-record-genenration
Description
从中文医患对话文本生成门诊初诊病历,输出结构化分段的病历正文(文本)。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install med-initial-record-genenration
  3. After installation, invoke the skill by name or use /med-initial-record-genenration
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug med-initial-record-genenration
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is med-initial-record-genenration?

从中文医患对话文本生成门诊初诊病历,输出结构化分段的病历正文(文本)。 It is an AI Agent Skill for Claude Code / OpenClaw, with 93 downloads so far.

How do I install med-initial-record-genenration?

Run "/install med-initial-record-genenration" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is med-initial-record-genenration free?

Yes, med-initial-record-genenration is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does med-initial-record-genenration support?

med-initial-record-genenration is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created med-initial-record-genenration?

It is built and maintained by Unisound-LLM (@unisound-llm); the current version is v1.0.1.

💬 Comments