Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

insurance-claims

БесплатноБез исполняемых скриптовНе проверен

Use this skill for insurance-claims operations with Stedi whenever the user asks to submit claims, validate claim payloads, check claim status…

FDU-INSот FDU-INS★ 84 звезды на GitHub

Об этом скилле

insurance-claims

Deterministic, API-first insurance claims workflow skill.

Setup check — do this first

Before doing anything else, verify the Stedi API key is available:

python -c "from scripts.config import get_api_key; print('API key OK')"

Run this from the insurance-claims/ directory. If it prints API key OK, proceed normally.

If it raises an error (key missing or empty), stop and guide the user through setup:

  1. Get the key — direct the user to app.stedi.com/app/settings/api-keys.

    • They'll need to log in (or create a free account at stedi.com).
    • On the API Keys page, click Create API key, give it a name (e.g. ona-health), and copy the key.
  2. Save the key — open the .env file at the repo root (ona-health-skills/.env) and set:

    STEDI_API_KEY=your-key-here
    

    The .env file is gitignored, so the key will not be committed to source control.

  3. Verify — re-run the check above. Once it prints API key OK, continue with the original task.

If the user is unsure where the repo root is, run pwd from the skill directory and show them the path.

Operating principles

  1. Use Stedi API + deterministic scripts for validations, submissions, status checks, and retrieval workflows.
  2. Prefer structured JSON inputs/outputs. Avoid ad-hoc, ambiguous steps.
  3. Run a requirements preflight before claim actions (payer support, enrollment status, provider identifiers, environment safety).
  4. Fail fast with actionable remediation steps when prerequisites are not met.
  5. Keep PHI exposure minimal in logs and outputs.

Read path (progressive disclosure)

Start with:

  • references/stedi-overview.md

Then read only what is needed:

  • Submission design: references/stedi-submitting-claims.md
  • Response handling: references/stedi-claim-responses.md
  • Practical constraints: references/stedi-best-practices.md
  • Rejections/resubmissions lifecycle: references/stedi-claim-lifecycle.md
  • Enrollment/payer requirements: references/stedi-enrollment-and-payers.md
  • Test workflows: references/stedi-testing.md
  • Attachments and MCP context: references/stedi-attachments-and-mcp.md
  • Provider/payer requirement preflight: references/provider-requirements.md

Deterministic workflow

Follow this sequence unless user explicitly requests otherwise.

  1. Classify task

    • One of: validate_claim, submit_claim, check_claim_status, lookup_payer, retrieve_277ca, retrieve_835era, poll_transactions, resubmit_or_void.
  2. Run preflight requirements check

    • Resolve payer ID.
    • Verify transaction support.
    • Verify enrollment requirement and status.
    • Verify provider identifiers (NPI and any payer-specific requirements).
    • Verify environment consistency (test vs production).
    • If any check fails, stop and return deterministic remediation.
  3. Use script stubs/interfaces (or real implementation when present)

    • scripts/validate_claim.py
    • scripts/submit_claim.py
    • scripts/check_claim_status.py
    • scripts/lookup_payer.py
    • scripts/retrieve_277ca.py
    • scripts/retrieve_835era.py
    • scripts/poll_transactions.py
  4. Correlate all transactions

    • Primary key: patientControlNumber.
    • Secondary key: Stedi correlationId.
    • Line-level key: service-line control number.
  5. Return structured output

    • Include status summary, key identifiers, and next action suggestions.

Script usage contract

Use these interfaces unless user requests a different shape.

  • validate_claim.py

    • Input: JSON payload path
    • Output:
      { "valid": true, "errors": [], "warnings": [] }
      
  • submit_claim.py

    • Input: claim type (professional|institutional|dental), payload, optional test flag
    • Output:
      {
        "status": "SUCCESS",
        "correlationId": "...",
        "patientControlNumber": "...",
        "errors": []
      }
      
  • check_claim_status.py

    • Output:
      {
        "claims": [
          { "statusCategoryCode": "...", "statusCode": "...", "description": "..." }
        ]
      }
      
  • lookup_payer.py

    • Output:
      {
        "payers": [
          { "payerId": "...", "name": "...", "aliases": [], "supportedTransactions": [] }
        ]
      }
      
  • retrieve_277ca.py / retrieve_835era.py / poll_transactions.py

    • Return normalized, parser-friendly objects with deterministic fields.

Required guardrails

  • Authentication: read API key from STEDI_API_KEY.
  • Always include idempotency keys on submission requests.
  • Validate PCN format (alphanumeric, <=17 chars) and uniqueness.
  • Avoid reserved delimiter characters in JSON data where applicable.
  • Use usageIndicator: "T" for test submissions and "P" for production.
  • Do not claim adjudication outcome from 277CA alone.
  • Treat duplicate webhooks/responses as normal; deduplicate by transaction and pa
Полный SKILL.md на GitHub

Установить insurance-claims в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/provider-requirements.mdreferences/stedi-attachments-and-mcp.mdreferences/stedi-best-practices.mdreferences/stedi-claim-lifecycle.mdreferences/stedi-claim-responses.mdreferences/stedi-enrollment-and-payers.mdreferences/stedi-overview.mdreferences/stedi-submitting-claims.mdreferences/stedi-testing.md

FAQ

Что делает скилл insurance-claims?

Use this skill for insurance-claims operations with Stedi whenever the user asks to submit claims, validate claim payloads, check claim status, retrieve/interpret 277CA or 835 responses, troubleshoot payer/provider enrollment requirements, or build deterministic claims workflows. Trigger this skill even if the user does not say "Stedi" explicitly but mentions 837/835/277CA/ERA, payer IDs, claim rejection codes, claim resubmission, COB, or healthcare clearinghouse automation.

Как установить скилл insurance-claims?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл insurance-claims запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить insurance-claims с