본문으로 건너뛰기
cccskills
무료GitHub에 공개

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

실행 점수 미검증

설치 방법 보기

포함된 파일(10)

  • SKILL.md6.6 KB
  • references/provider-requirements.md3.8 KB
  • references/stedi-attachments-and-mcp.md2.3 KB
  • references/stedi-best-practices.md3.2 KB
  • references/stedi-claim-lifecycle.md2.9 KB
  • references/stedi-claim-responses.md3.9 KB
  • references/stedi-enrollment-and-payers.md2.5 KB
  • references/stedi-overview.md3.2 KB
  • references/stedi-submitting-claims.md5.5 KB
  • references/stedi-testing.md2.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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 payment trace keys.

Resubmission policy

When user asks to fix/retry/cancel claims:

  • Use lifecycle rules in references/stedi-claim-lifecycle.md.
  • Determine if claim entered payer system before choosing frequency code.
  • Include PCCN where required for replacement/void flows.
  • Generate a new PCN on each resubmission.

Output format for user responses

When performing claims tasks, return:

  1. What I did (short)
  2. Result (status + key IDs)
  3. Why (if rejected/blocked)
  4. Next actions (numbered, deterministic)

Example:

{
  "action": "submit_claim",
  "status": "blocked",
  "reason_code": "ENROLLMENT_REQUIRED",
  "context": {
    "providerNpi": "1999999984",
    "payerId": "6400",
    "transactionType": "835"
  },
  "nextActions": [
    "Submit enrollment request for 835",
    "Wait for enrollment status live",
    "Retry submission with same validated payload structure"
  ]
}

What to avoid

  • Do not skip preflight checks for payer/provider requirements.
  • Do not use vague advice when a deterministic action is possible.
  • Do not expose full PHI payloads unless user explicitly requests and context is safe.
  • Do not mix test and production assumptions in one run.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Complete architecture reference for the A3 insurance platform — file locations, data flow, conventions, microservice map, and fullstack patterns

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

FDU-INS/Insurance-Skills802026년 7월 12일 업데이트

Drafts U.S. commercial real estate access and indemnity (right-of-entry) agreements for pre-closing due diligence. Covers license grants, non-invasive vs invasive testing gates, insurance/endorsement requirements, indemnity with discovery carve-outs, restoration and lien remedies, confidentiality, and anti-indemnity guardrails. Trigger: access agreement, right of entry, due diligence access, Phase I/II, invasive testing, pre-PSA site inspection.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

FDU-INS/Insurance-Skills802026년 7월 12일 업데이트

当用户需要对意外险投保问卷进行专业、结构化的核保审查,提取职业类别、工作环境、作业内容、危险活动参与情况、交通出行习惯、特殊工作暴露及其他可能影响意外险承保判断的高风险信息,并生成适合意外险核保、补问流转和风险分层处理的结构化分析结果时使用本 skill。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

FDU-INS/Insurance-Skills802026년 7월 12일 업데이트

Inspect, schema, and fill true AcroForm PDFs using sciClaw's pdf_form_inspect, pdf_form_schema, and pdf_form_fill tools. Use when: (1) checking whether a PDF is a real fillable AcroForm, (2) listing form field names, types, and choices, (3) filling a supported form from structured values, (4) preparing reviewable insurance, legal, administrative, or clinical form drafts, (5) reporting skipped fields or unused input keys after a fill. Do not use for scanned PDFs, OCR tasks, or XFA-only forms.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

FDU-INS/Insurance-Skills802026년 7월 12일 업데이트

Guide actuarial analysis for insurance pricing. TRIGGERS - Use when user needs help with actuarial-analysis related tasks.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

FDU-INS/Insurance-Skills802026년 7월 12일 업데이트

Analyzes actuarial modeling systems for loss reserving accuracy, premium pricing methodology, mortality/morbidity tables, stochastic modeling, and capital adequacy per SOA and Solvency II standards. USE THIS SKILL WHEN: - You need to review or audit actuarial models (reserving, pricing, capital) - Someone asks about loss triangle analysis or reserve adequacy - You are evaluating IBNR calculations, chain ladder methods, or Bornhuetter-Ferguson - A project involves insurance pricing, GLM rating models, or ratemaking - You need to assess Solvency II SCR calculations or RBC compliance - Someone mentions actuarial opinions, ASOP compliance, or SOA standards - You are reviewing stochastic models, ESG configurations, or DFA frameworks - A codebase uses actuarial libraries (chainladder, lifetables, ChainLadder R package) TRIGGER PHRASES: "actuarial", "loss reserving", "IBNR", "chain ladder", "premium pricing", "mortality table", "Solvency II", "capital adequacy", "ratemaking", "GLM pricing", "risk-based capital", "reserve analysis", "actuarial opinion"

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

FDU-INS/Insurance-Skills802026년 7월 12일 업데이트

FDU-INS의 스킬 모두 보기

이 스킬의 문제 신고