← Back to Skills Marketplace
aaiccee

med-record-struct

by aaiccee · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
241
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install med-record-struct
Description
将中文门诊复诊病历文本结构化为细粒度字段,输出 JSON(如现病史/既往史/诊断/处理意见等)。
Usage Guidance
This skill will send the full text of the medical record you provide to a remote service (https://shangbao.yunzhisheng.cn/...). Although the SKILL.md promises de-identification and no local persistence, the included script does not perform de-identification and it writes structured results to disk. Before installing or using it: (1) do not feed real identifiable patient data unless you trust and have reviewed the remote service and its privacy/legal terms; (2) if you must use it, pre-sanitize/de-identify records yourself (remove names, IDs, phone numbers, addresses, images) before running; (3) consider modifying the script to perform de-identification locally and/or to avoid writing sensitive outputs to disk; (4) validate the remote endpoint (ownership, TLS, retention policy) and consider running an on-prem/local model instead if PHI cannot be shared; (5) after testing, securely delete any output files containing patient-derived data. The mismatch between the documentation and implementation is the primary risk here.
Capability Analysis
Type: OpenClaw Skill Name: med-record-struct Version: 1.0.0 The skill sends medical record data to an external API (shangbao.yunzhisheng.cn) for processing. While this aligns with the stated purpose, SKILL.md contains a misleading privacy claim stating that 'strict desensitization' of PII is performed before transmission, whereas the actual implementation in scripts/struct_followup_record.py sends the raw, un-anonymized text directly to the endpoint. This discrepancy between the documentation's security promises and the code's behavior poses a privacy risk for sensitive medical data.
Capability Assessment
Purpose & Capability
The skill's stated goal (structure Chinese outpatient follow-up records) aligns with the included Python script which POSTs the record to a remote structuring API and returns JSON. Calling a remote service for extraction is a reasonable implementation choice for this purpose.
Instruction Scope
SKILL.md repeatedly promises '严格脱敏' (strict de-identification) and '不做本地持久化' (no local persistence). The runtime script, however, reads the full record from disk and sends the raw record_text to the remote API without any de-identification step, and it writes the structured output to a JSON file on disk. The documentation therefore misstates what the code does — this is a substantive scope/behavior mismatch.
Install Mechanism
No install spec; skill is instruction + a small Python script that uses only the standard library (urllib, json). This is low-risk from an install/execution perspective.
Credentials
The skill requests no credentials and no env vars, yet it transmits potentially sensitive medical text to a third-party endpoint (https://shangbao.yunzhisheng.cn/...). There is no code-driven de-identification, no authentication, and no explicit privacy/retention guarantees from that endpoint in the repository. Asking for no credentials is not in itself bad, but the claim that the skill will de-identify data prior to sending is not implemented.
Persistence & Privilege
The skill does not request elevated privileges or 'always' inclusion. However, it does persist the structured output to disk (configurable output path), which contradicts the SKILL.md assertion of 'no local persistence'. Writing the structured JSON is normal for tooling but is inconsistent with the declared privacy stance.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install med-record-struct
  3. After installation, invoke the skill by name or use /med-record-struct
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of med-followup-record-struct. - Structures Chinese outpatient follow-up medical records into fine-grained JSON fields (e.g., history of present illness, past history, diagnosis, treatment recommendations). - Ensures privacy via de-identification, minimal data use, and no local data persistence. - Supports input as plain medical text and outputs standardized, sectioned JSON. - Includes command-line usage and testing instructions.
Metadata
Slug med-record-struct
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is med-record-struct?

将中文门诊复诊病历文本结构化为细粒度字段,输出 JSON(如现病史/既往史/诊断/处理意见等)。 It is an AI Agent Skill for Claude Code / OpenClaw, with 241 downloads so far.

How do I install med-record-struct?

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

Is med-record-struct free?

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

Which platforms does med-record-struct support?

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

Who created med-record-struct?

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

💬 Comments