Medical Record Translator

v1.0.0

Use when users need structure-preserving translation of medical records, lab reports, discharge summaries, prescriptions, pathology/radiology reports, or sim...

1· 84·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for helenalhq/medical-record-translator.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Medical Record Translator" (helenalhq/medical-record-translator) from ClawHub.
Skill page: https://clawhub.ai/helenalhq/medical-record-translator
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install medical-record-translator

ClawHub CLI

Package manager switcher

npx clawhub@latest install medical-record-translator
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (structure-preserving medical translation) match the included assets: detailed SKILL.md rules, block-model/output-contract references, example input, and two Python scripts for rendering/checking PDF output. There are no unrelated environment variables, binaries, or external service credentials requested.
Instruction Scope
Runtime instructions are narrowly scoped to detecting block structure, performing translation (via an external AI model), and emitting a constrained Markdown/PDF artifact. The guidance explicitly warns that content will be sent to AI services; the SKILL.md asks for a "vision-capable model" for scanned PDFs but does not include OCR code—this is expected for an instruction-only translation skill but means the agent will use whatever model/toolchain it's configured with to perform OCR/translation.
Install Mechanism
No install spec is declared (instruction-only) and the included scripts only depend on standard Python packages listed in requirements-render.txt (WeasyPrint, pypdf, Markdown, pydyf). No remote downloads, URL-shorteners, or extract/install steps are present.
Credentials
The skill requires no environment variables, credentials, or config paths. All requested data are document inputs. The privacy notice correctly states that translations will be sent to AI services — this is the main privacy/credential implication rather than any hidden env-var access.
Persistence & Privilege
always:false and no code attempts to modify other skills or system-wide agent settings. The skill can be invoked autonomously (platform default), which is expected; there is no extra privilege or persistent installation requested.
Assessment
This skill appears internally consistent, but it processes sensitive medical records: do not upload real patient-identifiable documents unless you trust the model provider and compliance controls. Options to reduce risk: run translation with a locally-hosted/enterprise model, anonymize/de-identify documents before upload, review and pin the Python package versions in requirements-render.txt before installing, and inspect any agent model configuration (e.g., which cloud provider or API keys the agent will use) to ensure PHI is routed only to approved endpoints. If you need offline processing, implement OCR/translation locally rather than using remote multimodal models.

Like a lobster shell, security has layers — review code before you run it.

latestvk9755kjpjp41v0t37q68evef29847kxd
84downloads
1stars
1versions
Updated 3w ago
v1.0.0
MIT-0

Medical Record Translator

Produce a structure-preserving translation artifact, not a summary report.

Core Rules

  1. Classify each PDF as text PDF or scanned PDF before translation.
  2. Always derive source document blocks first, then translate block-by-block.
  3. Maintain strict 1:1 mapping: one source block -> one translated block.
  4. Preserve structure types:
    • tables remain tables
    • key-value regions remain key-value regions
    • free text remains free text blocks
  5. Output constrained Markdown artifact (not free-form narrative/report writing).
  6. Chinese-first reading is required, with original source text immediately available for each block.
  7. Do not add summary-style sections, terminology tables in the main artifact, or explanatory rewrite sections.
  8. Do not split/merge source paragraphs or regions for readability rewriting.

Operational Workflow

  1. Ingest file and classify:
    • text PDF: digital text layer is extractable.
    • scanned PDF: content is image-based or text layer is unreliable.
  2. Route by type:
    • text PDF path: extract text + structural hints first, then map blocks.
    • scanned PDF path: use a vision-capable model first, perform region detection, then recover region text and block types.
  3. Build block model from detected structure.
  4. Translate with one-to-one block alignment and structure preservation.
  5. Emit constrained Markdown per output contract.

Scanned PDF Mandatory Rules

  1. For scanned PDFs, parsing must start with a vision-capable model.
  2. Perform region detection before translation (table regions, key-value regions, paragraph regions, headers, footers as applicable).
  3. Translate only after region text recovery and block typing are complete.
  4. Mark uncertainty at the smallest useful scope:
    • uncertain cell ownership -> mark that cell or minimal table span
    • uncertain key-value field value -> mark that field only
    • uncertain phrase -> mark that phrase only
  5. Do not promote local uncertainty to document-level warnings unless clinically necessary.

Output And Quality References

Follow these documents directly instead of re-specifying them here:

  • references/output-contract.md
  • references/block-model.md
  • references/quality-checklist.md
  • references/terminology.md

Export

python3 skills/medical-record-translator-publish/scripts/render_translation.py \
  skills/medical-record-translator-publish/examples/sample_translation.md \
  --output-dir skills/medical-record-translator-publish/examples/rendered-sample

python3 skills/medical-record-translator-publish/scripts/check_rendered_pdf.py \
  skills/medical-record-translator-publish/examples/rendered-sample/sample_translation.pdf

Privacy Disclaimer

⚠️ 隐私提醒 | Privacy Notice

医疗病历包含敏感个人信息。在使用本技能前,请注意:

  • 请勿上传包含你不愿分享的个人健康信息的文档
  • 翻译内容将发送至AI服务进行处理
  • 如有隐私顾虑,建议使用本地部署的AI服务或人工翻译

Medical records contain sensitive personal information. Before using this skill:

  • Do not upload documents with health information you don't want to share
  • Translation content will be sent to AI services for processing
  • If you have privacy concerns, consider locally-deployed AI or human translators

Comments

Loading comments...