← Back to Skills Marketplace
andyxcg

Medical Record Structurer

by joe · GitHub ↗ · v1.4.0 · MIT-0
cross-platform ⚠ suspicious
522
Downloads
0
Stars
2
Active Installs
10
Versions
Install in OpenClaw
/install medical-record-structurer
Description
Medical record structuring and standardization tool. Converts doctor's oral or handwritten medical records into standardized electronic medical records (EMR)...
Usage Guidance
This skill's core functionality (structuring medical text) is coherent with its docs, demo, and EMR schema, but there are multiple red flags you should address before installing or running it with real PHI: - Audit self-modifying/autoupdate code: The repo includes auto-evolve-daemon.sh and scripts/self_evolve.py plus an evolution log indicating automated version changes. Do NOT run these without a human code review; they can change the skill's code or behavior over time. - Inspect upload/remote scripts: There is an upload-to-clawhub.sh and payment/billing integration. Review any scripts that call external endpoints (skillpay.me or other hosts) to confirm what data is sent. The docs claim no PHI is stored or transmitted, but metadata.schema includes source_text (original input) and demo output returns structured_record including original content — that could leak PHI if sent to a remote service. - Credentials and env vars: Although registry metadata lists no required env vars, the README and SKILL.md expect SKILLPAY_API_KEY and SKILLPAY_SKILL_ID (and optional OCR/STT keys). Only provide API keys to this skill after auditing network calls and confirming the recipient endpoints. - Run in an isolated environment first: Test the demo in an isolated VM/container with no real PHI and with network disabled (or monitored) to observe outbound calls. Verify that no unexpected files are created outside ~/.openclaw/ and that trial files do not contain raw PHI. - Prefer reviewing full source: Several files are large/truncated in the package preview; inspect scripts/self_evolve.py, scripts/subscription.py, and upload-to-clawhub.sh fully to ensure they don't fetch/execute code from untrusted hosts or exfiltrate data. - If you need to use with real PHI: require a legal/privacy review and run under institutional controls (audit logging, encryption keys you control, network egress filtering). If you are not comfortable auditing the code, do not install it for processing real patient data. If you want, I can: (1) highlight specific lines or functions to inspect (e.g., network calls, subprocess.exec/use, file writes), or (2) attempt a deeper static review of the full scripts (provide contents of self_evolve.py, subscription.py, and upload-to-clawhub.sh) to give a more definitive recommendation.
Capability Analysis
Type: OpenClaw Skill Name: medical-record-structurer Version: 1.4.0 The skill bundle contains a high-risk 'self-evolution' mechanism (scripts/self_evolve.py) and a background daemon (auto-evolve-daemon.sh) that programmatically modifies the skill's own source code. This mechanism appears to be malfunctioning, as evidenced by hundreds of redundant import statements injected into 'scripts/process_record.py'. While the stated purpose is medical record structuring with SkillPay monetization, the ability for the code to autonomously modify itself is a significant security concern. Furthermore, the bundle includes aggressive promotional content and requests donations to an EVM address (0xf8ea28c182245d9f66f63749c9bbfb3cfc7d4815), which, combined with the unstable self-modifying logic, warrants a suspicious classification.
Capability Assessment
Purpose & Capability
Name/description claim (medical record structuring) aligns with the code (scripts/process_record.py, EMR schema references, demo, billing). Billing integration (skillpay.me) and optional OCR/STT keys are plausible. However registry metadata declared no required env vars while README/SKILL.md/refs instruct the use of SKILLPAY_API_KEY, SKILLPAY_SKILL_ID and optional OCR/STT keys — an inconsistency that reduces transparency.
Instruction Scope
SKILL.md/demo instruct running local scripts (demo.py, scripts/process_record.py). The documentation claims medical data is processed in-memory only and not stored, but schema and demo show original input included in output (metadata.source_text). The repo contains scripts that read/write trial state under ~/.openclaw/ and a daemon (auto-evolve-daemon.sh) plus self_evolve.py and an upload-to-clawhub.sh — instructions do not tell the user to run the daemon but its presence and the self-evolution/upload scripts broaden scope and could allow unexpected file/network activity if executed.
Install Mechanism
No install spec (instruction-only) — lower automatic risk. But multiple executable scripts and shell helpers are included (auto-evolve-daemon.sh, upload-to-clawhub.sh). Those scripts would write/modify files or run persistent loops if a user manually executes them. The codebase also contains heavy autogenerated/obfuscated portions (e.g., repeated imports) which suggest need for careful manual audit before execution.
Credentials
The package behavior legitimately uses SKILLPAY_API_KEY and SKILLPAY_SKILL_ID for billing and optional OCR/STT keys for features — those are proportionate to monetization and OCR/STT support. But the registry metadata lists no required env vars while many docs and code reference them. That mismatch is an information/permission transparency issue. Also PHI-related variables (PHI_ENCRYPTION_KEY, DATA_RETENTION_DAYS) are present in docs; requiring those would be reasonable but they are optional and not enforced in metadata.
Persistence & Privilege
always:false (good) and no automatic install, but the repository includes an auto-evolution daemon and a self_evolve.py that appear designed to repeatedly modify/run the skill (evolution-log.json corroborates repeated automatic updates). If the daemon/self-evolve are run (or invoked by an agent), the skill could persistently change behavior or fetch/execute new code. Combined with upload scripts, this increases the blast radius if run without code review.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install medical-record-structurer
  3. After installation, invoke the skill by name or use /medical-record-structurer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.4.0
## Changelog for v1.4.0 - Major update to SKILL.md, adding detailed and promotional pricing/plan sections, user testimonials, and service statistics. - Enhanced visibility of temporary promotional campaign (200 free trial uses, bonuses, subscription discounts) valid until 2026-03-31. - Added new script `scripts/subscription.py` for subscription or plan support. - Updated `evolution-log.json` and `scripts/process_record.py` to reflect the new features and pricing/credit logic. - Various content and documentation improvements, especially around pricing, usage data, and plan descriptions.
v1.3.0
- Updated support section in documentation to include developer's EVM address for optional donations. - No changes to processing logic or APIs; user experience and output remain unchanged. - Internal version increment reflected in documentation.
v1.2.0
**v1.2.0 adds demo mode, batch/file input, and multi-language support.** - Added demo mode: use without API key, returns simulated records - Introduced batch processing and file input options - Added multi-language (Chinese/English) output support - Improved error messages and sample usage - New scripts: performance monitoring and self-evolution system - Updated environment variable naming for consistency
v1.0.6
- Added new documentation files: EXAMPLES.md, FAQ.md, GETTING_STARTED.md, SECURITY.md, and demo.py. - Included example usage, frequently asked questions, and security guidelines. - Provided a getting started guide for easier onboarding. - Added a demo script to help users test functionality quickly.
v1.0.5
**Adds free trial support for all users (10 free calls):** - Introduced a free trial allowing each user 10 free calls before billing starts. - API responses now include `trial_mode` and `trial_remaining` fields for tracking trial usage. - Updated documentation to clarify free trial workflow and updated required environment variables (API key needed after trial). - No changes to main structuring or billing logic except new trial support and related response format.
v1.0.4
- Added a new README.md file with comprehensive documentation. - Expanded SKILL.md to include detailed environment variable descriptions, PHI/privacy handling, and support for multiple OCR/STT providers. - Updated SKILL.md with best practices and compliance notes (HIPAA/GDPR considerations). - Clarified configuration requirements and links to references and README.
v1.0.3
- Added support for configuring the Skill ID via the SKILLPAY_SKILL_ID environment variable. - Updated documentation to reflect Skill ID configuration changes. - No changes to core record processing logic or billing logic.
v1.0.2
medical-record-structurer 1.0.2 introduces explicit user-based billing and more detailed payment configuration. - Added user_id parameter support to process_record API for per-user billing and balance checking. - Updated payment integration details: includes SkillPay provider, price, chain, and skill ID information in config and documentation. - Enhanced example code and CLI usage to demonstrate how to handle insufficient balance and provide recharge links. - Clarified configuration and usage instructions in SKILL.md.
v1.0.1
- API key management updated: set API key via SKILLPAY_API_KEY environment variable instead of passing directly to functions or scripts. - Revised usage examples and documentation to reflect the new API key method. - Configuration and reference documentation updated for clarity on payment integration.
v1.0.0
Initial release of Medical Record Structurer. - Converts oral or handwritten doctor notes into structured electronic medical records (EMR) - Supports both voice and text input - Automatically recognizes and extracts key medical fields - Outputs standardized EMR with sections for patient info, medical history, diagnosis, and more - Integrated skillpay.me for pay-per-use monetization (0.001 USDT per use)
Metadata
Slug medical-record-structurer
Version 1.4.0
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 10
Frequently Asked Questions

What is Medical Record Structurer?

Medical record structuring and standardization tool. Converts doctor's oral or handwritten medical records into standardized electronic medical records (EMR)... It is an AI Agent Skill for Claude Code / OpenClaw, with 522 downloads so far.

How do I install Medical Record Structurer?

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

Is Medical Record Structurer free?

Yes, Medical Record Structurer is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Medical Record Structurer support?

Medical Record Structurer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Medical Record Structurer?

It is built and maintained by joe (@andyxcg); the current version is v1.4.0.

💬 Comments