[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M713P6Q4S4QGMFJR2BYHHXJS":3,"skill-same:01M713P6Q4S4QGMFJR2BYHHXJS":85},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":28,"publishedAt":48,"linkOnly":49,"markdownContent":50,"markdownBody":51,"frontMatter":52,"refName":53,"commitSha":54,"skillDirectory":55,"forksCount":56,"repositoryHtmlUrl":57,"repositoryHomepageUrl":6,"ownerHtmlUrl":58,"ownerBlogUrl":6,"ownerDescription":59,"updatedAt":60,"install":61,"resources":74},"01M713P6Q4S4QGMFJR2BYHHXJS","underwriting",null,"Insurance underwriting domain knowledge for building automated submission processing systems. Covers submission-to-bind lifecycle, document extraction patterns, compliance gates (sanctions, licensing, clearance), human-in-the-loop design for regulated financial services, confidence calibration for extracted fields, operating mode progression (manual to automated), and evidence traceability requirements. Use when designing or implementing underwriting pipelines, extraction agents, compliance workflows, HITL review systems, or decision package assembly for insurance or MGA operations.","FDU-INS\u002FInsurance-Skills","FDU-INS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F167067594?v=4","01M6XEYMRS4CVJMZ834YWE66BV","FDU-Insurance","01M6XEYMXPDA34HFM0ZE6AY78G",82,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FFDU-INS\u002FInsurance-Skills\u002Fblob\u002Fmain\u002FSkills\u002Funderwriting\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000037","律师与法务","PROFESSION","适用职业",[5,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47],"loop","patterns","assembly","calibration","human","financial services","review","loop design","when","workflows","knowledge","design","implementing","decision","mode","insurance","processing","bind","operating","2026-11-10 10:12:30",false,"---\nname: underwriting\ndescription: >-\n  Insurance underwriting domain knowledge for building automated submission\n  processing systems. Covers submission-to-bind lifecycle, document extraction\n  patterns, compliance gates (sanctions, licensing, clearance), human-in-the-loop\n  design for regulated financial services, confidence calibration for extracted\n  fields, operating mode progression (manual to automated), and evidence\n  traceability requirements. Use when designing or implementing underwriting\n  pipelines, extraction agents, compliance workflows, HITL review systems,\n  or decision package assembly for insurance or MGA operations.\n---\n\n# Underwriting Domain Knowledge\n\nThis skill provides domain knowledge for building automated underwriting\nsystems in insurance. It covers the business logic, decision criteria, and\nregulatory patterns that engineering teams need to implement correctly.\n\n## Submission-to-Bind Lifecycle\n\nEvery insurance submission follows a pipeline from initial receipt to policy\nissuance. The stages are sequential with gates between them.\n\n### Stage Overview\n\n```\nIngestion → Triage → Assessment → Quoting → Binding → Issuance\n              │          │            │         │         │\n              ▼          ▼            ▼         ▼         ▼\n         Classification  Wave 1     Manual    Manual    Manual\n         & routing     + Wave 2    UW review  confirm   issue\n```\n\n1. **Ingestion** — Receive submission (email, portal, API), parse documents,\n   deduplicate, create case record, upload attachments to object storage.\n\n2. **Triage** — Classify submission type (new business, MTA\u002Fendorsement, claim,\n   renewal, other). Route based on classification confidence.\n\n3. **Assessment** — Two-phase design (see \"Cheap Gates First\" below):\n   - **Wave 1 (Fast Gate)**: Quick, low-cost checks — broker validation,\n     territory\u002Fproduct appetite, basic eligibility, licensing, clearance.\n     Goal: decline non-quotable submissions before expensive processing.\n   - **Wave 2 (Deep Processing)**: Full extraction, enrichment, compliance,\n     gap analysis. Only reached by submissions that pass Wave 1.\n\n4. **Quoting** — Assemble underwriting decision package, compute confidence\n   and thoroughness scores, apply desk quote gate, present to underwriter.\n\n5. **Binding** — Underwriter makes firm order decision, terms confirmed with\n   broker, binding authority exercised.\n\n6. **Issuance** — Policy documents generated, premium invoiced, regulatory\n   filings completed.\n\n### Cheap Gates First\n\nStructure pipelines to minimise cost-to-decline. Run inexpensive checks\n(API lookups, business rules) before costly ones (LLM extraction, external\nenrichment, compliance screening). Target cost breakdown:\n\n| Stage | Target Cost | Primary Cost Drivers |\n|-------|------------|---------------------|\n| Triage | \u003C $0.05 | Fast-tier LLM classification |\n| Wave 1 | \u003C $0.10 | API lookups, minimal LLM |\n| Wave 2 | $1-5 | LLM extraction, external APIs, sanctions |\n\nSee `references\u002Fsubmission-lifecycle.md` for detailed stage specifications.\n\n## Case Model\n\nUse a hierarchical case model for tracking work through the pipeline:\n\n```\nCase (top-level submission record)\n├── Stage (lifecycle phase: triage, assessment, quoting)\n├── Step (atomic processing unit within a stage)\n└── Task (work item assigned to human or agent)\n```\n\n- **Case ID**: Unique, time-sortable identifier per submission.\n- **Stage**: Maps to pipeline phases. Each stage has an execution type\n  (agent, manual, or shadow).\n- **Step**: Granular processing within a stage (e.g., \"extract core facts\",\n  \"run sanctions screening\"). Steps track individual agent node executions.\n- **Task**: Assignable work unit for HITL review or manual processing.\n  Tasks have owners, SLAs, and audit trails.\n\n## Document Types and Extraction\n\nInsurance submissions contain multiple document types. Each type has\ndifferent extraction requirements and field criticality.\n\n### Common Document Types\n\n| Document Type | Key Fields to Extract | Complexity |\n|--------------|----------------------|------------|\n| Proposal form | Insured name, address, business description, sums insured, requested coverage, deductibles | Medium |\n| Schedule of values | Locations, building details, construction type, occupancy, values per location | High (tabular) |\n| Loss runs \u002F claims history | Prior claims, dates, amounts, causes, reserves | High (multi-year) |\n| Slip \u002F binder | Coverage terms, limits, conditions, exclusions, endorsements | Very High (legal language) |\n| Broker cover note | Summary terms, premium indication, expiring terms | Medium |\n| Financial statements | Revenue, assets, employee count | Medium |\n\n### Field Criticality Tiers\n\nEvery extracted field has a criticality tier that determines its confidence\nthreshold and HITL routing:\n\n| Criticality | Threshold | Examples | HITL Policy |\n|------------|-----------|----------|-------------|\n| `critical` | >= 0.95 | Coverage amount, named insured, effective\u002Fexpiry dates, deductible | Always HITL if below threshold |\n| `important` | >= 0.85 | Address, occupation, construction type, building age | Junior reviewer if below threshold |\n| `standard` | >= 0.75 | Broker reference, submission notes, secondary contacts | Flagged for batch review |\n\n**Non-negotiable HITL fields** (always require human review regardless of\nconfidence): financial-impact fields above a configurable monetary threshold,\nexclusion\u002Fendorsement language, contract-critical dates, sanctions fuzzy matches.\n\n### Field Catalog Configuration\n\nDefine field-level extraction and HITL policies as configuration (not code),\ngrouped by LoB via policy packs:\n\n```yaml\nfield_catalog:\n  sum_insured:\n    criticality: critical\n    confidence_threshold: 0.95\n    hitl_policy: always_hitl_above_1m\n  insured_name:\n    criticality: critical\n    confidence_threshold: 0.95\n    hitl_policy: always_hitl\n  broker_reference:\n    criticality: standard\n    confidence_threshold: 0.75\n    hitl_policy: batch_review\n```\n\nThis format drives HITL routing, confidence thresholds, and reviewer\nassignment for each extracted field. Override per LoB as needed.\n\n### Evidence Traceability\n\nEvery AI-extracted field **must** link to its source via evidence coordinates:\n\n```\n{\n  \"field\": \"sum_insured\",\n  \"value\": 5000000,\n  \"confidence\": 0.92,\n  \"evidence\": {\n    \"document_id\": \"DOC-001\",\n    \"page\": 3,\n    \"segment_id\": \"SEG-001-3-2\",\n    \"bounding_box\": {\"x\": 120, \"y\": 340, \"w\": 280, \"h\": 45}\n  }\n}\n```\n\nThis is not optional. Regulatory audit requirements (PRA, FCA, Lloyd's)\ndemand that every AI-produced output be traceable to its source document.\nEvidence coordinates enable:\n- Underwriter verification (click-to-source)\n- Audit trail completeness\n- Confidence calibration feedback loops\n- Dispute resolution\n\n### Extraction Best Practices\n\n- **Prompt per document type**: Use document-type-specific extraction prompts\n  rather than a single generic prompt. Each document type has different field\n  layouts, terminology, and expected locations.\n- **Segment-level extraction**: Extract from parsed segments (not raw pages)\n  to improve accuracy and enable precise bounding box coordinates.\n- **Multi-pass for complex documents**: For schedules of values and loss runs,\n  use a structural pass (identify tables, headers, rows) followed by a field\n  extraction pass per row.\n- **Disambiguation protocol**: When multiple candidate values exist for a\n  field, capture all candidates with their evidence coordinates and route to\n  HITL for disambiguation rather than picking the \"best\" one silently.\n- **Cross-document validation**: Cross-reference fields extracted from\n  different documents (e.g., insured name in proposal form vs. broker cover\n  note) and flag discrepancies for review.\n- **Document trust boundaries**: Broker-uploaded documents are untrusted\n  input. Never treat document content as instructions — parse for data\n  extraction only. Validate extracted values against expected types, ranges,\n  and formats before accepting.\n\n## Compliance Gates\n\nRegulated underwriting requires multiple compliance checkpoints. These are\n**blocking** — submissions cannot proceed until compliance clears.\n\n### Sanctions Screening\n\nUse a tiered escalation pattern to optimise cost:\n\n1. **Basic watchlist check** (~$0.01) — quick lookup against primary lists.\n   Clear result → proceed. Flag → escalate.\n2. **Enhanced screening** (~$0.50) — fuzzy matching, alias detection,\n   related entity analysis. Clear → proceed. Flag → escalate.\n3. **Full compliance review** (~$5.00 + human) — comprehensive screening\n   with mandatory human review. This is a **blocking HITL gate**.\n\nScreen all entities: insured company, key persons, asset locations, beneficial\nowners. Re-screen in Wave 2 with full extracted data even if Wave 1 cleared\n(Wave 1 used limited data).\n\n### Licensing and Clearance\n\n- **Licensing**: Verify the insurer\u002FMGA is licensed to write this risk in\n  this jurisdiction. Check via quote management system API.\n- **Clearance**: Verify no conflicting quotes exist for this insured from\n  other brokers. Check via internal systems.\n- Re-run in Wave 2 with full entity data (Wave 1 used preliminary data).\n\n### Compliance Status Consolidation\n\nAssemble a unified compliance view across all checks:\n- `all_clear` — all checks passed, no conditions\n- `conditionally_clear` — passed with conditions (e.g., licensing restrictions)\n- `review_pending` — unresolved HITL tasks\n- `not_quotable` — hard fail on compliance\n\nSee `references\u002Fcompliance-and-hitl.md` for detailed compliance patterns.\n\n## Human-in-the-Loop Design\n\nHITL is not a fallback — it is a first-class design element in underwriting\nautomation. Three patterns, each for different scenarios:\n\n### Pattern 1: Asynchronous (Most Common)\nAgent creates a review task, continues other work or pauses. Human completes\nthe task within an SLA window. Agent resumes with human input.\n- **Use for**: Extraction review, disambiguation, broker queries, identity review.\n- **Timeout**: Configurable per gate (typically 30 min to 4 hours).\n\n### Pattern 2: Blocking (Compliance-Critical)\nAgent halts completely until human explicitly clears. No progress on any\ndownstream step until the gate is resolved.\n- **Use for**: Sanctions review, compliance review, clearance conflicts.\n- **Timeout**: No auto-timeout. Escalation after SLA breach.\n\n### Pattern 3: Deferred (Batch Review)\nAgent proceeds with a provisional decision. Human reviews a batch of\ndecisions during a scheduled review window.\n- **Use for**: Low-risk fields, audit sampling, calibration validation.\n- **Review window**: Typically daily or weekly.\n\n### HITL Gate Design Principles\n\n1. **Gates are policy-driven, not hardcoded.** Define gates in configuration\n   (policy packs), not in agent code. This allows per-LoB customisation.\n2. **Authorization is deterministic.** Use a policy engine (e.g., Cedar) to\n   control who can approve which gates. Keep authorization **outside** the\n   LLM reasoning loop — agents cannot reason past policy gates.\n3. **Capture structured override data.** Every HITL review must record:\n   original AI decision, human decision, rationale code, review time, and\n   reviewer identity. This feeds confidence calibration.\n4. **Guard against automation bias.** Show confidence as bands\n   (High\u002FMedium\u002FLow), not raw scores. Require independent human assessment\n   before revealing AI output. Track review times to detect rubber-stamping.\n\n## Confidence Calibration\n\nRaw LLM confidence is unreliable. Use a two-stage hybrid approach:\n\n### Stage 1: Business Rules (Deterministic)\nApply deterministic rules to classify outputs into confidence tiers:\n\n- **High Confidence** (auto-proceed): Known document type + known broker +\n  standard field + exact match + good OCR quality + historical accuracy > 98%.\n- **Low Confidence** (always HITL): Financial field above threshold, or\n  contract-critical field, or poor OCR, or ambiguous source, or exclusion\n  language, or sanctions fuzzy match.\n- **Medium Confidence** (needs Stage 2): Everything else.\n\n### Stage 2: Self-Consistency Sampling (Statistical)\nFor Medium Confidence outputs, run the extraction N times (default 5) at\ntemperature > 0 and measure agreement:\n\n| Agreement | Confidence | Routing |\n|-----------|-----------|---------|\n| >= 80% | High | Auto-proceed + audit sample |\n| 60-79% | Medium | Junior reviewer queue |\n| 40-59% | Low | Senior reviewer queue |\n| \u003C 40% | Very Low | Specialist review |\n\n### Monitoring: Expected Calibration Error (ECE)\nTrack whether confidence predictions match actual accuracy. A system\npredicting 80% confidence should be correct ~80% of the time. Alert when\nECE exceeds 0.08 (warning) or 0.10 (critical). Auto-tighten thresholds\non critical ECE breach.\n\n## Operating Mode Progression\n\nIntroduce automation gradually through five operating modes, managed\n**per workflow type** (not globally):\n\n| Mode | HITL Rate | Behaviour |\n|------|-----------|-----------|\n| **Manual** | 100% | Humans do all work. AI captures data for training. |\n| **Shadow** | 100% (comparison) | AI runs in parallel. Results compared but not used. |\n| **Assisted** | 15-30% | AI pre-fills. Human approves before any write. |\n| **Selective** | 5-15% | AI handles routine cases. Exceptions route to human. |\n| **Automated** | \u003C 5% | Full automation. Human involvement only for policy-gated exceptions. |\n\n### Transition Requirements\n- **Manual → Shadow**: Admin approval, agent deployed and tested.\n- **Shadow → Assisted**: N validated shadow outcomes (configurable, default 50)\n  showing AI\u002Fhuman agreement. Dual admin approval.\n- Each transition is recorded in an immutable audit ledger.\n- Firebreak controls can force any workflow back to Manual at any time.\n\n## Underwriting Decision Package\n\nThe culmination of automated processing is a structured decision package\nthat synthesises all upstream outputs for the underwriter:\n\n1. **Broker & product facts** — identity, relationship context, submission terms\n2. **Assets & locations** — insurable items with sanctions screening status\n3. **Compliance outcomes** — unified view across all compliance checks\n4. **Coverage options & exclusions** — requested terms vs. standard exclusions\n5. **Scoring** — overall confidence, thoroughness (% of required fields populated),\n   evidence quality (% of facts with source traceability)\n6. **Desk quote gate** — deterministic routing to one of:\n   - Ready for desk quote\n   - Needs underwriter input\n   - Needs compliance review\n   - Request more information (critical gaps)\n\n## Lines of Business Considerations\n\nDifferent LoB have different extraction requirements, compliance rules,\nand confidence thresholds. Design systems to be **LoB-configurable**:\n\n- Field catalogs (which fields to extract) are per-LoB configuration.\n- Confidence thresholds are per-LoB (terrorism may be stricter than general liability).\n- Compliance requirements vary by jurisdiction and LoB.\n- Use \"policy packs\" — configuration bundles per LoB — rather than code changes.\n\n### Common LoB Patterns\n\n| LoB | Key Extraction Challenges | Compliance Focus |\n|-----|--------------------------|-----------------|\n| Property | Location schedules, building details, values | Sanctions (location-based), licensing |\n| Casualty \u002F Liability | Policy wording, exclusions, limits towers | Professional licensing, claims history |\n| Cyber | Technology stack, security posture, revenue | Data privacy regulations, incident history |\n| Marine | Vessel details, routes, cargo | Sanctions (route-based), flag state |\n| Terrorism | High-value assets, location risk | Enhanced sanctions, government pools |\n\n## Reference Files\n\n- `references\u002Fsubmission-lifecycle.md` — Detailed stage-by-stage pipeline design\n  with decision logic, event patterns, and cost targets\n- `references\u002Fcompliance-and-hitl.md` — Sanctions screening escalation, HITL gate\n  inventory, confidence calibration details, automation bias safeguards\n","# Underwriting Domain Knowledge\n\nThis skill provides domain knowledge for building automated underwriting\nsystems in insurance. It covers the business logic, decision criteria, and\nregulatory patterns that engineering teams need to implement correctly.\n\n## Submission-to-Bind Lifecycle\n\nEvery insurance submission follows a pipeline from initial receipt to policy\nissuance. The stages are sequential with gates between them.\n\n### Stage Overview\n\n```\nIngestion → Triage → Assessment → Quoting → Binding → Issuance\n              │          │            │         │         │\n              ▼          ▼            ▼         ▼         ▼\n         Classification  Wave 1     Manual    Manual    Manual\n         & routing     + Wave 2    UW review  confirm   issue\n```\n\n1. **Ingestion** — Receive submission (email, portal, API), parse documents,\n   deduplicate, create case record, upload attachments to object storage.\n\n2. **Triage** — Classify submission type (new business, MTA\u002Fendorsement, claim,\n   renewal, other). Route based on classification confidence.\n\n3. **Assessment** — Two-phase design (see \"Cheap Gates First\" below):\n   - **Wave 1 (Fast Gate)**: Quick, low-cost checks — broker validation,\n     territory\u002Fproduct appetite, basic eligibility, licensing, clearance.\n     Goal: decline non-quotable submissions before expensive processing.\n   - **Wave 2 (Deep Processing)**: Full extraction, enrichment, compliance,\n     gap analysis. Only reached by submissions that pass Wave 1.\n\n4. **Quoting** — Assemble underwriting decision package, compute confidence\n   and thoroughness scores, apply desk quote gate, present to underwriter.\n\n5. **Binding** — Underwriter makes firm order decision, terms confirmed with\n   broker, binding authority exercised.\n\n6. **Issuance** — Policy documents generated, premium invoiced, regulatory\n   filings completed.\n\n### Cheap Gates First\n\nStructure pipelines to minimise cost-to-decline. Run inexpensive checks\n(API lookups, business rules) before costly ones (LLM extraction, external\nenrichment, compliance screening). Target cost breakdown:\n\n| Stage | Target Cost | Primary Cost Drivers |\n|-------|------------|---------------------|\n| Triage | \u003C $0.05 | Fast-tier LLM classification |\n| Wave 1 | \u003C $0.10 | API lookups, minimal LLM |\n| Wave 2 | $1-5 | LLM extraction, external APIs, sanctions |\n\nSee `references\u002Fsubmission-lifecycle.md` for detailed stage specifications.\n\n## Case Model\n\nUse a hierarchical case model for tracking work through the pipeline:\n\n```\nCase (top-level submission record)\n├── Stage (lifecycle phase: triage, assessment, quoting)\n├── Step (atomic processing unit within a stage)\n└── Task (work item assigned to human or agent)\n```\n\n- **Case ID**: Unique, time-sortable identifier per submission.\n- **Stage**: Maps to pipeline phases. Each stage has an execution type\n  (agent, manual, or shadow).\n- **Step**: Granular processing within a stage (e.g., \"extract core facts\",\n  \"run sanctions screening\"). Steps track individual agent node executions.\n- **Task**: Assignable work unit for HITL review or manual processing.\n  Tasks have owners, SLAs, and audit trails.\n\n## Document Types and Extraction\n\nInsurance submissions contain multiple document types. Each type has\ndifferent extraction requirements and field criticality.\n\n### Common Document Types\n\n| Document Type | Key Fields to Extract | Complexity |\n|--------------|----------------------|------------|\n| Proposal form | Insured name, address, business description, sums insured, requested coverage, deductibles | Medium |\n| Schedule of values | Locations, building details, construction type, occupancy, values per location | High (tabular) |\n| Loss runs \u002F claims history | Prior claims, dates, amounts, causes, reserves | High (multi-year) |\n| Slip \u002F binder | Coverage terms, limits, conditions, exclusions, endorsements | Very High (legal language) |\n| Broker cover note | Summary terms, premium indication, expiring terms | Medium |\n| Financial statements | Revenue, assets, employee count | Medium |\n\n### Field Criticality Tiers\n\nEvery extracted field has a criticality tier that determines its confidence\nthreshold and HITL routing:\n\n| Criticality | Threshold | Examples | HITL Policy |\n|------------|-----------|----------|-------------|\n| `critical` | >= 0.95 | Coverage amount, named insured, effective\u002Fexpiry dates, deductible | Always HITL if below threshold |\n| `important` | >= 0.85 | Address, occupation, construction type, building age | Junior reviewer if below threshold |\n| `standard` | >= 0.75 | Broker reference, submission notes, secondary contacts | Flagged for batch review |\n\n**Non-negotiable HITL fields** (always require human review regardless of\nconfidence): financial-impact fields above a configurable monetary threshold,\nexclusion\u002Fendorsement language, contract-critical dates, sanctions fuzzy matches.\n\n### Field Catalog Configuration\n\nDefine field-level extraction and HITL policies as configuration (not code),\ngrouped by LoB via policy packs:\n\n```yaml\nfield_catalog:\n  sum_insured:\n    criticality: critical\n    confidence_threshold: 0.95\n    hitl_policy: always_hitl_above_1m\n  insured_name:\n    criticality: critical\n    confidence_threshold: 0.95\n    hitl_policy: always_hitl\n  broker_reference:\n    criticality: standard\n    confidence_threshold: 0.75\n    hitl_policy: batch_review\n```\n\nThis format drives HITL routing, confidence thresholds, and reviewer\nassignment for each extracted field. Override per LoB as needed.\n\n### Evidence Traceability\n\nEvery AI-extracted field **must** link to its source via evidence coordinates:\n\n```\n{\n  \"field\": \"sum_insured\",\n  \"value\": 5000000,\n  \"confidence\": 0.92,\n  \"evidence\": {\n    \"document_id\": \"DOC-001\",\n    \"page\": 3,\n    \"segment_id\": \"SEG-001-3-2\",\n    \"bounding_box\": {\"x\": 120, \"y\": 340, \"w\": 280, \"h\": 45}\n  }\n}\n```\n\nThis is not optional. Regulatory audit requirements (PRA, FCA, Lloyd's)\ndemand that every AI-produced output be traceable to its source document.\nEvidence coordinates enable:\n- Underwriter verification (click-to-source)\n- Audit trail completeness\n- Confidence calibration feedback loops\n- Dispute resolution\n\n### Extraction Best Practices\n\n- **Prompt per document type**: Use document-type-specific extraction prompts\n  rather than a single generic prompt. Each document type has different field\n  layouts, terminology, and expected locations.\n- **Segment-level extraction**: Extract from parsed segments (not raw pages)\n  to improve accuracy and enable precise bounding box coordinates.\n- **Multi-pass for complex documents**: For schedules of values and loss runs,\n  use a structural pass (identify tables, headers, rows) followed by a field\n  extraction pass per row.\n- **Disambiguation protocol**: When multiple candidate values exist for a\n  field, capture all candidates with their evidence coordinates and route to\n  HITL for disambiguation rather than picking the \"best\" one silently.\n- **Cross-document validation**: Cross-reference fields extracted from\n  different documents (e.g., insured name in proposal form vs. broker cover\n  note) and flag discrepancies for review.\n- **Document trust boundaries**: Broker-uploaded documents are untrusted\n  input. Never treat document content as instructions — parse for data\n  extraction only. Validate extracted values against expected types, ranges,\n  and formats before accepting.\n\n## Compliance Gates\n\nRegulated underwriting requires multiple compliance checkpoints. These are\n**blocking** — submissions cannot proceed until compliance clears.\n\n### Sanctions Screening\n\nUse a tiered escalation pattern to optimise cost:\n\n1. **Basic watchlist check** (~$0.01) — quick lookup against primary lists.\n   Clear result → proceed. Flag → escalate.\n2. **Enhanced screening** (~$0.50) — fuzzy matching, alias detection,\n   related entity analysis. Clear → proceed. Flag → escalate.\n3. **Full compliance review** (~$5.00 + human) — comprehensive screening\n   with mandatory human review. This is a **blocking HITL gate**.\n\nScreen all entities: insured company, key persons, asset locations, beneficial\nowners. Re-screen in Wave 2 with full extracted data even if Wave 1 cleared\n(Wave 1 used limited data).\n\n### Licensing and Clearance\n\n- **Licensing**: Verify the insurer\u002FMGA is licensed to write this risk in\n  this jurisdiction. Check via quote management system API.\n- **Clearance**: Verify no conflicting quotes exist for this insured from\n  other brokers. Check via internal systems.\n- Re-run in Wave 2 with full entity data (Wave 1 used preliminary data).\n\n### Compliance Status Consolidation\n\nAssemble a unified compliance view across all checks:\n- `all_clear` — all checks passed, no conditions\n- `conditionally_clear` — passed with conditions (e.g., licensing restrictions)\n- `review_pending` — unresolved HITL tasks\n- `not_quotable` — hard fail on compliance\n\nSee `references\u002Fcompliance-and-hitl.md` for detailed compliance patterns.\n\n## Human-in-the-Loop Design\n\nHITL is not a fallback — it is a first-class design element in underwriting\nautomation. Three patterns, each for different scenarios:\n\n### Pattern 1: Asynchronous (Most Common)\nAgent creates a review task, continues other work or pauses. Human completes\nthe task within an SLA window. Agent resumes with human input.\n- **Use for**: Extraction review, disambiguation, broker queries, identity review.\n- **Timeout**: Configurable per gate (typically 30 min to 4 hours).\n\n### Pattern 2: Blocking (Compliance-Critical)\nAgent halts completely until human explicitly clears. No progress on any\ndownstream step until the gate is resolved.\n- **Use for**: Sanctions review, compliance review, clearance conflicts.\n- **Timeout**: No auto-timeout. Escalation after SLA breach.\n\n### Pattern 3: Deferred (Batch Review)\nAgent proceeds with a provisional decision. Human reviews a batch of\ndecisions during a scheduled review window.\n- **Use for**: Low-risk fields, audit sampling, calibration validation.\n- **Review window**: Typically daily or weekly.\n\n### HITL Gate Design Principles\n\n1. **Gates are policy-driven, not hardcoded.** Define gates in configuration\n   (policy packs), not in agent code. This allows per-LoB customisation.\n2. **Authorization is deterministic.** Use a policy engine (e.g., Cedar) to\n   control who can approve which gates. Keep authorization **outside** the\n   LLM reasoning loop — agents cannot reason past policy gates.\n3. **Capture structured override data.** Every HITL review must record:\n   original AI decision, human decision, rationale code, review time, and\n   reviewer identity. This feeds confidence calibration.\n4. **Guard against automation bias.** Show confidence as bands\n   (High\u002FMedium\u002FLow), not raw scores. Require independent human assessment\n   before revealing AI output. Track review times to detect rubber-stamping.\n\n## Confidence Calibration\n\nRaw LLM confidence is unreliable. Use a two-stage hybrid approach:\n\n### Stage 1: Business Rules (Deterministic)\nApply deterministic rules to classify outputs into confidence tiers:\n\n- **High Confidence** (auto-proceed): Known document type + known broker +\n  standard field + exact match + good OCR quality + historical accuracy > 98%.\n- **Low Confidence** (always HITL): Financial field above threshold, or\n  contract-critical field, or poor OCR, or ambiguous source, or exclusion\n  language, or sanctions fuzzy match.\n- **Medium Confidence** (needs Stage 2): Everything else.\n\n### Stage 2: Self-Consistency Sampling (Statistical)\nFor Medium Confidence outputs, run the extraction N times (default 5) at\ntemperature > 0 and measure agreement:\n\n| Agreement | Confidence | Routing |\n|-----------|-----------|---------|\n| >= 80% | High | Auto-proceed + audit sample |\n| 60-79% | Medium | Junior reviewer queue |\n| 40-59% | Low | Senior reviewer queue |\n| \u003C 40% | Very Low | Specialist review |\n\n### Monitoring: Expected Calibration Error (ECE)\nTrack whether confidence predictions match actual accuracy. A system\npredicting 80% confidence should be correct ~80% of the time. Alert when\nECE exceeds 0.08 (warning) or 0.10 (critical). Auto-tighten thresholds\non critical ECE breach.\n\n## Operating Mode Progression\n\nIntroduce automation gradually through five operating modes, managed\n**per workflow type** (not globally):\n\n| Mode | HITL Rate | Behaviour |\n|------|-----------|-----------|\n| **Manual** | 100% | Humans do all work. AI captures data for training. |\n| **Shadow** | 100% (comparison) | AI runs in parallel. Results compared but not used. |\n| **Assisted** | 15-30% | AI pre-fills. Human approves before any write. |\n| **Selective** | 5-15% | AI handles routine cases. Exceptions route to human. |\n| **Automated** | \u003C 5% | Full automation. Human involvement only for policy-gated exceptions. |\n\n### Transition Requirements\n- **Manual → Shadow**: Admin approval, agent deployed and tested.\n- **Shadow → Assisted**: N validated shadow outcomes (configurable, default 50)\n  showing AI\u002Fhuman agreement. Dual admin approval.\n- Each transition is recorded in an immutable audit ledger.\n- Firebreak controls can force any workflow back to Manual at any time.\n\n## Underwriting Decision Package\n\nThe culmination of automated processing is a structured decision package\nthat synthesises all upstream outputs for the underwriter:\n\n1. **Broker & product facts** — identity, relationship context, submission terms\n2. **Assets & locations** — insurable items with sanctions screening status\n3. **Compliance outcomes** — unified view across all compliance checks\n4. **Coverage options & exclusions** — requested terms vs. standard exclusions\n5. **Scoring** — overall confidence, thoroughness (% of required fields populated),\n   evidence quality (% of facts with source traceability)\n6. **Desk quote gate** — deterministic routing to one of:\n   - Ready for desk quote\n   - Needs underwriter input\n   - Needs compliance review\n   - Request more information (critical gaps)\n\n## Lines of Business Considerations\n\nDifferent LoB have different extraction requirements, compliance rules,\nand confidence thresholds. Design systems to be **LoB-configurable**:\n\n- Field catalogs (which fields to extract) are per-LoB configuration.\n- Confidence thresholds are per-LoB (terrorism may be stricter than general liability).\n- Compliance requirements vary by jurisdiction and LoB.\n- Use \"policy packs\" — configuration bundles per LoB — rather than code changes.\n\n### Common LoB Patterns\n\n| LoB | Key Extraction Challenges | Compliance Focus |\n|-----|--------------------------|-----------------|\n| Property | Location schedules, building details, values | Sanctions (location-based), licensing |\n| Casualty \u002F Liability | Policy wording, exclusions, limits towers | Professional licensing, claims history |\n| Cyber | Technology stack, security posture, revenue | Data privacy regulations, incident history |\n| Marine | Vessel details, routes, cargo | Sanctions (route-based), flag state |\n| Terrorism | High-value assets, location risk | Enhanced sanctions, government pools |\n\n## Reference Files\n\n- `references\u002Fsubmission-lifecycle.md` — Detailed stage-by-stage pipeline design\n  with decision logic, event patterns, and cost targets\n- `references\u002Fcompliance-and-hitl.md` — Sanctions screening escalation, HITL gate\n  inventory, confidence calibration details, automation bias safeguards\n",{"name":5,"description":7},"main","b22eca2e974f918ce591c5b2bd829fb7510e0191","Skills\u002Funderwriting",18,"https:\u002F\u002Fgithub.com\u002FFDU-INS\u002FInsurance-Skills","https:\u002F\u002Fgithub.com\u002FFDU-INS","Fudan University Department of Risk Management and Insurance","2026-07-12 12:54:34",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add FDU-INS\u002FInsurance-Skills --skill underwriting",{"tool":67,"command":68},"bunx","bunx skills add FDU-INS\u002FInsurance-Skills --skill underwriting",{"tool":70,"command":71},"pnpm","pnpm dlx skills add FDU-INS\u002FInsurance-Skills --skill underwriting","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FFDU-INS\u002FInsurance-Skills\u002Fblob\u002Fmain\u002FSkills\u002Funderwriting\u002FSKILL.md",true,[75,81],{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fcompliance-and-hitl.md","REFERENCE","参考文档",10293,"https:\u002F\u002Fgithub.com\u002FFDU-INS\u002FInsurance-Skills\u002Fblob\u002Fmain\u002FSkills\u002Funderwriting\u002Freferences\u002Fcompliance-and-hitl.md",{"path":82,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fsubmission-lifecycle.md",8478,"https:\u002F\u002Fgithub.com\u002FFDU-INS\u002FInsurance-Skills\u002Fblob\u002Fmain\u002FSkills\u002Funderwriting\u002Freferences\u002Fsubmission-lifecycle.md",[86,110,135,164,186,219],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":93,"publishedAt":48},"01M713QW6EGEG0YAD75440GSD0","로인장 (Roinjiang)","Activates when the user needs legal advice, contract review, insurance law consultation, startup legal support, or any legal\u002Fregulatory matter. She is a top-tier in-house lawyer with absolute loyalty to the CEO, specializing in insurance law, financial consumer protection, privacy, contracts, labor law, family law, civil and criminal matters.","https:\u002F\u002Fgithub.com\u002FFDU-INS\u002FInsurance-Skills\u002Fblob\u002Fmain\u002FSkills\u002F로인장 (Roinjiang)\u002FSKILL.md",[92],{"categoryNo":24,"categoryName":25,"taxonomyType":26,"taxonomyTypeDesc":27},[88,94,44,95,96,97,37,35,98,99,100,101,102,103,104,105,106,107,108,109],"insurance law","civil","contract","family","loyalty","with","top","contract review","ceo","support","advice","consultation","regulatory","privacy","protection","startup",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":48},"01M713QRN8VFMA9VKS6R4DJ2WS","zocdoc-doctor-finder","Use when a user needs to find a doctor, dentist, specialist, therapist, or healthcare provider — especially when they mention insurance, in-network, availability, location, appointments, or booking. Also use for browsing provider reviews, comparing doctors by specialty, or checking if a provider takes their insurance.","https:\u002F\u002Fgithub.com\u002FFDU-INS\u002FInsurance-Skills\u002Fblob\u002Fmain\u002FSkills\u002Fzocdoc-doctor-finder\u002FSKILL.md",[],[117,118,119,120,44,121,122,37,123,124,125,126,127,128,129,130,131,132,133,134],"zocdoc doctor finder","doctor","healthcare","reviews","browser automation","access","browsing","browser","booking","network","therapist","computer","availability","for","provider","tool","use","automation",{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":144,"publishedAt":48},"01M713QKGV3FTX7EEYWKDM8ENZ","zenmux-context","Answers any question about ZenMux by reading the latest official documentation. Use this skill whenever the user asks about ZenMux product features, API usage, configuration, integration, pricing, models, providers, routing, fallback, streaming, multimodal, structured output, tool calling, reasoning, prompt caching, image generation, video generation, web search, long context, observability, logs, cost tracking, usage analytics, insurance, subscription, pay-as-you-go, invoices, best practices for tools like Claude Code, Cursor, Cline, CodeX, Gemini CLI, opencode, Cherry Studio, Obsidian, Sider, Open-WebUI, Dify, Neovate, GitHub Copilot, OpenClaw, CC-Switch, Immersive Translate, Studio Chat, architecture, benchmarks, FAQ, contact, privacy, terms of service, compliance, or any other ZenMux-related topic. Also trigger when the user writes in Chinese about ZenMux: 文档, 使用指南, 快速开始, API 参考, 最佳实践, 模型路由, 供应商路由, 订阅, 按量计费, 可观测性, 帮助, 常见问题, 接入指南, 配置. Trigger on phrases like \"how to use ZenMux\", \"ZenMux docs\", \"ZenMux API\", \"ZenMux integration\", \"ZenMux 怎么用\", \"ZenMux 接入\", \"ZenMux 配置\". Even if the user doesn't say \"ZenMux\" explicitly but asks about LLM API aggregation, model routing, provider fallback in a context where ZenMux is the project being worked on, this skill should activate.","https:\u002F\u002Fgithub.com\u002FFDU-INS\u002FInsurance-Skills\u002Fblob\u002Fmain\u002FSkills\u002Fzenmux-context\u002FSKILL.md",[141],{"categoryNo":142,"categoryName":143,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000016","图像与多媒体",[145,146,147,148,44,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163],"context","zenmux context","Video","chinese","project","web search","translate","search","open","question","pay","image","you","activate","architecture","logs","streaming","cherry studio","how",{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":48},"01M713QHWTBG634BCBV7NBJME1","workers-comp-guide","Guide workers compensation compliance and claims management.\nTRIGGERS - Use when user needs help with workers-comp-guide related tasks.","https:\u002F\u002Fgithub.com\u002FFDU-INS\u002FInsurance-Skills\u002Fblob\u002Fmain\u002FSkills\u002Fworkers-comp-guide\u002FSKILL.md",[],[171,172,173,174,175,44,176,177,133,37,178,99,179,180,181,182,183,184,185],"workers","comp","workers comp","workers comp guide","guide","triggers","workers-comp","tasks","claims management","claims","compliance","help","compensation","management","user",{"skillNo":187,"name":188,"nameZh":6,"description":189,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":190,"categories":191,"keywords":201,"publishedAt":48},"01M713QF45VMV1685AFNF1GPMA","weekly-kpi-report","Generate McKinsey-style board presentation PPTs from weekly auto insurance data. Automatically calculates 16+ KPIs, creates executive-level slides with actionable insights, and supports week-over-week comparisons. Use when user uploads insurance cost data (Excel\u002FCSV) and requests board report, weekly presentation, executive briefing, or mentions keywords like 董事会汇报, 周报PPT, 经营分析演示, McKinsey-style reports.","https:\u002F\u002Fgithub.com\u002FFDU-INS\u002FInsurance-Skills\u002Fblob\u002Fmain\u002FSkills\u002Fweekly-kpi-report\u002FSKILL.md",[192,195,198],{"categoryNo":193,"categoryName":194,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000003","演示文稿",{"categoryNo":196,"categoryName":197,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000004","电子表格",{"categoryNo":199,"categoryName":200,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000034","行政与办公人员",[202,203,204,205,206,44,207,208,209,210,37,211,212,213,214,215,216,217,133,218],"weekly","weekly kpi report","kpi","report","xlsx","actionable","insights","briefing","auto","board report","reports","generate","演示","data","presentation","slides","uploads",{"skillNo":220,"name":221,"nameZh":6,"description":222,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":223,"categories":224,"keywords":228,"publishedAt":48},"01M713QA9WJDHMNVTTY1ENRKVB","wealth-advisory","Wealth management and financial planning for HNW and UHNW clients. Activate when the user\nmentions wealth management, financial planning, retirement, estate planning, tax planning,\nGRAT, IDGT, trust, asset allocation, withdrawal rate, Monte Carlo simulation, goals-based\ninvesting, tax-loss harvesting, Roth conversion, insurance, annuity, mortgage strategy,\nconcentrated stock, family office, direct indexing, 529 plan, charitable giving, donor-advised\nfund, private foundation, or asks about personal finance strategy, inheritance, long-term\nfinancial planning, or UHNW advisory.","https:\u002F\u002Fgithub.com\u002FFDU-INS\u002FInsurance-Skills\u002Fblob\u002Fmain\u002FSkills\u002Fwealth-advisory\u002FSKILL.md",[225],{"categoryNo":226,"categoryName":227,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000040","财务",[229,230,44,231,232,37,158,233,234,235,236,237,238,239,240,241,242,243,244,245],"wealth advisory","advisory","stock","inheritance","conversion","indexing","plan","simulation","personal finance","rate","allocation","asset","direct","personal","investing","trust","planning"]