Logo de Medical Bill Reconciliation

Medical Bill Reconciliation

Comunidade
AtlasOmnia
medical-bill-reconciliation

Use when reconciling medical bills against insurer EOBs.

Add to TypingMind

Visão geral

Publicado porAtlasOmnia
Repositóriohermes-custom-pack
Nome da habilidademedical-bill-reconciliation
Estrelas
76
Forks
6
Arquivos incluídos
10
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 10

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por AtlasOmnia no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Medical Bill Reconciliation no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/AtlasOmnia/hermes-custom-pack/tree/main/community/skills/medical-bill-reconciliation
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AtlasOmnia/hermes-custom-pack.git /tmp/hermes-custom-pack
mkdir -p .claude/skills
cp -r /tmp/hermes-custom-pack/community/skills/medical-bill-reconciliation .claude/skills/medical-bill-reconciliation
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Medical Bill Reconciliation em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Medical Bill Reconciliation automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Medical Bill Reconciliation não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Medical Bill Reconciliation

Overview

Check provider bills against the insurer's Explanation of Benefits (EOB), track deductible and out-of-pocket totals, and produce a short exceptions list with draft inquiries a human sends.

The work is split into stages that never share access:

  1. Collect. Per-portal collectors download PDFs into an inbox folder. Nothing else.
  2. Extract. scripts/eob_extract.py dumps PDF text and tables; the agent maps them into fixed CSV rows, each keeping its source file and page.
  3. Validate. scripts/reconcile.py validate checks columns, dates, money, and EOB arithmetic.
  4. Reconcile. scripts/reconcile.py run matches bills to EOB lines and writes matches.csv, exceptions.csv, summary.json.
  5. Review. The agent summarizes exceptions by dollar amount and drafts inquiries. A human decides and sends. Output columns and status values are listed in references/exception-codes.md.

The scripts are offline and give the same output for the same inputs and --as-of date. The reconciler is stdlib-only; the extractor needs pdfplumber.

Where data leaves the machine: the scripts never send anything, but the Mapping step puts PDF text in front of the model, and any report delivered through a messaging gateway carries patient labels, providers, claim numbers, and amounts. For local-only processing, use a local model and deliver reports to a local file or the terminal.

When to Use

  • Matching medical statements to EOBs, finding overbilling, duplicate charges, or bills with no EOB.
  • Turning a pile of EOB PDFs into a spreadsheet with traceable source pages.
  • Tracking deductible and out-of-pocket progress from EOBs.
  • Setting up a monthly unattended billing check.

Don't use for: filing appeals or calling insurers on someone's behalf, paying bills, interpreting coverage or medical necessity, or anything requiring the agent to log in to a main email inbox.

Quick Start

bash
SKILL=~/.hermes/skills/productivity/medical-bill-reconciliation
mkdir -p ~/medical-billing/{inbox/eob,inbox/bills,processed,extracted,data,runs}
cp $SKILL/templates/eob_lines.csv $SKILL/templates/bill_lines.csv $SKILL/templates/providers.csv ~/medical-billing/data/
cd ~/medical-billing

python3 $SKILL/scripts/eob_extract.py inbox/eob/*.pdf inbox/bills/*.pdf --out extracted/
# agent maps extracted/*.json into data/eob_lines.csv and data/bill_lines.csv
python3 $SKILL/scripts/reconcile.py validate --eob data/eob_lines.csv --bills data/bill_lines.csv --aliases data/providers.csv
python3 $SKILL/scripts/reconcile.py run --eob data/eob_lines.csv --bills data/bill_lines.csv \
  --aliases data/providers.csv --deductible 3000 --oop-max 8000 \
  --as-of 2026-04-01 --out runs/2026-04-01

Windows PowerShell differs only in setup and paths:

powershell
$SKILL = "$HOME\.hermes\skills\productivity\medical-bill-reconciliation"
"inbox\eob","inbox\bills","processed","extracted","data","runs" | ForEach-Object { New-Item -ItemType Directory -Force -Path "$HOME\medical-billing\$_" | Out-Null }
Copy-Item "$SKILL\templates\*.csv" "$HOME\medical-billing\data\"
Set-Location "$HOME\medical-billing"
python "$SKILL\scripts\eob_extract.py" (Get-ChildItem inbox\eob\*.pdf, inbox\bills\*.pdf) --out extracted

Replace the deductible and out-of-pocket numbers with the plan's actual limits, and set --as-of to the run date so results are repeatable.

Mapping Rules (the agent's part)

Read each extracted/<file>.json and write rows that follow the template headers exactly.

  • One row per service line. Copy numbers as printed; leave unknown fields blank rather than computing them.
  • Always fill source_file and source_page. Every number in the report must trace back to a page.
  • Dates as YYYY-MM-DD. Use one consistent label per patient.
  • EOB columns: claim_id, service_date, provider, patient, cpt, billed, allowed, plan_paid, patient_resp, deductible_applied, coinsurance, copay, eob_date. patient_resp is the total the member owes for that line.
  • Bill columns: bill_id (provider account or statement number), statement_date, service_date, provider, patient, cpt, billed, amount_due, claim_id if printed.
  • Use the same bill_id for every statement from one provider account. The reconciler keeps only the latest statement per account and lists older ones as OLDER_STATEMENT.
  • Fill eob_date on every EOB row. When an insurer issues a corrected EOB, replace the original rows; if both are loaded, the one with the later eob_date wins and the other is listed as REVISED_EOB_LINE or DUPLICATE_EOB_LINE.
  • Pages with needs_ocr: true are scans. Run ocrmypdf on the file, extract again, and only then map.
  • When validation fails, reread the source page. Never adjust a number just to make a check pass.

Human Gates

  • Logins with SMS or app MFA, CAPTCHAs, and new-device prompts are handled by a person. Collectors stop and report; they do not retry.
  • No message, payment, appeal, or account change happens without the person approving the exact text.
  • Do not paste real documents, member IDs, or account numbers into public issues, chats, or logs.

Common Pitfalls

  1. One agent with every login. Keep collectors isolated per portal and keep the reconciler away from portals. A broken login should never touch the data.
  2. Matching on amount alone. Different visits often share a price. Match on claim number, or patient + date + provider, and use amount only to break ties.
  3. Provider name drift. "Bayside Ortho" and "Bayside Orthopedic Specialists PA" are the same practice. Add an alias,canonical row to providers.csv instead of editing source rows.
  4. Counting repeated statements. Monthly statements re-list old charges. Keep bill_id consistent per account so older statements are recognized and skipped.
  5. Treating extraction errors as billing errors. Most EOB_MATH hits are misread columns. Confirm against the page before drafting anything.
  6. Mixing plan years. Accumulators reset each plan year. Run one year at a time.
  7. Trusting summed accumulators over the insurer. Totals cover only the EOBs you loaded. Compare with the insurer's accumulator page before claiming an overpayment.

Verification Checklist

  • reconcile.py validate prints VALIDATION=PASS.
  • Every row has source_file and source_page; a spot check of five rows matches the PDFs.
  • reconcile.py run prints RECONCILE=PASS and the run folder has matches.csv, exceptions.csv, summary.json.
  • Each exception in the report cites the bill and EOB pages it came from.
  • Drafted inquiries contain only numbers present in the cited documents and were not sent by the agent.
  • python3 -m unittest discover -s tests passes after any script change.

Support Files

  • scripts/eob_extract.py: offline PDF text and table dump with OCR detection.
  • scripts/reconcile.py: validate and run subcommands.
  • templates/eob_lines.csv: EOB row header.
  • templates/bill_lines.csv: bill row header.
  • templates/providers.csv: provider alias header.
  • templates/provider-inquiry.md: draft inquiry for a human to send.
  • references/workflow.md: load when setting up collectors, MFA handling, folder layout, or a monthly cron.
  • references/exception-codes.md: load when explaining exceptions or tuning matching.
  • tests/test_reconcile.py: synthetic-data tests for validation and reconciliation.
  • tests/test_eob_extract.py: extractor test against a generated PDF (skips when pdfplumber is absent).

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Medical Bill Reconciliation faz?

Use when reconciling medical bills against insurer EOBs.

Por que usar Medical Bill Reconciliation no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Medical Bill Reconciliation é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Medical Bill Reconciliation no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/AtlasOmnia/hermes-custom-pack/tree/main/community/skills/medical-bill-reconciliation. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Medical Bill Reconciliation?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Medical Bill Reconciliation?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Medical Bill Reconciliation com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Medical Bill Reconciliation é gratuita?

Sim. A habilidade é publicada no GitHub por AtlasOmnia sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇