Medical Insurance Clause Parser for Openclaw

An AI-driven tool for converting unstructured medical insurance documents into 32 standardized JSON fields.

long1973m
v1.0.0
Mar 10, 2026
1
1.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install insurance-policy-parser

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install insurance-policy-parser using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Medical Insurance Clause Parser?

The Medical Insurance Clause Parser is a specialized extraction engine designed for Openclaw Skills to transform complex insurance policy documents into actionable data. It bridges the gap between unstructured legal text and structured databases by identifying 14 core Level 1 fields and 18 enhanced Level 2 fields from various document formats.

By utilizing advanced parsing logic, this skill ensures that critical insurance information such as annual limits, deductibles, and payout ratios are accurately captured and normalized. It is a vital component for developers looking to integrate automated insurance analysis into their Openclaw Skills ecosystem.

Medical Insurance Clause Parser Use Cases

  • Automating the intake of medical insurance contracts for claim processing systems.
  • Normalizing policy terms from different carriers to build insurance comparison engines.
  • Extracting coverage limits and deductibles from multi-page PDF documents for fintech apps.
  • Streamlining data entry for insurance brokerage platforms using Openclaw Skills.

How Medical Insurance Clause Parser Works

  1. The user submits an insurance document (PDF, DOCX, or TXT) or raw policy text.
  2. If a file is uploaded, the skill invokes a dedicated Python script to extract raw text content.
  3. The AI agent analyzes the text against a strict schema defined in the Openclaw Skills reference library.
  4. Unstructured values are transformed into typed data, such as converting text-based currency to decimals and percentages to ratios.
  5. The skill produces a final, structured JSON object containing all extracted core and enhanced fields.

Medical Insurance Clause Parser Setup

To use this skill, ensure your environment has Python 3.x and the necessary document processing libraries. Install the requirements as follows:

pip install pypdf2==3.0.1 python-docx==1.1.0

You can then run the document extraction script directly from your terminal:

python scripts/parse_document.py <your_insurance_file_path>

Medical Insurance Clause Parser Data Schema & Taxonomy

Category Field Count Data Types Description
Level 1 Core 14 Decimal, Enum, Boolean, Int Essential data like annual limits and deductibles.
Level 2 Enhanced 18 Decimal, Enum, Boolean, Int Differentiation fields like CAR-T and family deductibles.
Output Format N/A JSON Standardized structured object for Openclaw Skills integration.

Data Normalization Rules:

  • Currency: Converted to Yuan (e.g., "1 Million" to 1000000.00).
  • Percentages: Converted to decimals (e.g., "100%" to 1.0000).
  • Booleans: Identified by presence of coverage terms (true/false).
  • Enums: Strictly mapped to predefined values (Year, Times, Disease, etc.).

Medical Insurance Clause Parser Advanced Features

  • Intelligent parsing support for PDF, DOCX, and plain text formats.
  • Precise data type enforcement for seamless integration with downstream Openclaw Skills.
  • Automated mapping of 32 distinct insurance attributes for comprehensive policy comparison.
  • Flexible handling of enhanced fields, allowing for null values when specific clauses are absent.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*