← Back to Skills Marketplace
aaiccee

med-record-gen

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

What is med-record-gen?

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

How do I install med-record-gen?

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

Is med-record-gen free?

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

Which platforms does med-record-gen support?

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

Who created med-record-gen?

It is built and maintained by aaiccee (@aaiccee); the current version is v1.0.0.

💬 Comments