Logo di Medical Bill Reconciliation

Medical Bill Reconciliation

Community
AtlasOmnia
medical-bill-reconciliation

Use when reconciling medical bills against insurer EOBs.

Add to TypingMind

Panoramica

Pubblicato daAtlasOmnia
Repositoryhermes-custom-pack
Nome della skillmedical-bill-reconciliation
Stelle
76
Fork
6
File inclusi
10
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 10

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da AtlasOmnia su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Medical Bill Reconciliation in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/AtlasOmnia/hermes-custom-pack/tree/main/community/skills/medical-bill-reconciliation
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Medical Bill Reconciliation in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Medical Bill Reconciliation non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Medical Bill Reconciliation non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello 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).

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Medical Bill Reconciliation?

Use when reconciling medical bills against insurer EOBs.

Perché usare Medical Bill Reconciliation su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Medical Bill Reconciliation è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Medical Bill Reconciliation in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/AtlasOmnia/hermes-custom-pack/tree/main/community/skills/medical-bill-reconciliation. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Medical Bill Reconciliation?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Medical Bill Reconciliation?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Medical Bill Reconciliation: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Medical Bill Reconciliation è gratuita?

Sì. È pubblicata su GitHub da AtlasOmnia con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇