A self hosted claim status and denial desk that checks every open claim, sorts denials by CARC and RARC with a next step, drafts corrected claims and appeals for a specialist to approve, posts 835 payments and reports AR per client.
Gives the status workers a real Chrome to log in to each mock payer portal, search a claim and read its status and denial detail.
bgls mcp with bg_navigate, bg_page_map, bg_fill, bg_click, bg_wait_for_text, bg_read_page and bg_screenshot.Runs the status queue from the server across many browsers and hands a tab to a specialist when a claim needs judgement.
AutomationClient with pageMap(), BrowserSwarm open() and all() for parallel checks, yield_control() and wait_for_resume() for the hand over, and startRecording() and stopRecording() for audit evidence.Turns approved appeal letters and client AR reports into PDF files.
pdf() on the AutomationClient with printed backgrounds, or bg_pdf over MCP, as in docs/pdf.md.Runs the status scheduler, portal workers, 835 poster and report builder in named panes on the billing server.
new-session and split-window give each worker a pane, send-keys starts it, set-hook pane-died restarts a worker, and capture-pane saves output to the run log.Claim Status and Denial Desk
A billing company or physician group installs it on its own server with one command, creates a workspace per client practice and imports open claims and remittance files. Each morning status checks have run, 835 files are posted, and specialists work a denial queue with drafts ready to approve. The billing manager reviews days in AR, denial rate and first pass yield per client every Monday.
Proves: Minutes per status check, denials worked per hour, posting errors and modelled days in AR, before and after, across the 6 synthetic client practices.
A claim is not money until it is paid, and between submission and payment billing staff chase status on payer portals, read denials coded in CARC and RARC, decide whether to correct and resubmit or appeal, and post payments from 835 remittance files. Much of this is done by logging in to one payer portal after another and retyping what they see, with follow up dates in spreadsheets. Denials that miss timely filing or appeal deadlines are written off, days in accounts receivable climb, and billing companies add people instead of fixing the work.
Where to find the evidence
- X12 CARC and RARC code lists and the CMS Medicare Claims Processing Manual chapters on remittance and appeals
- CMS companion guides for X12 276/277 and 835, and CAQH CORE operating rules for claim status and payment and remittance
- CMS Medicare appeals process pages (redetermination and reconsideration deadlines) and Medicare timely filing rules
- HHS OIG Compliance Program Guidance for Third Party Medical Billing Companies
- HFMA MAP Keys definitions for days in accounts receivable, denial rate and first pass yield
- O*NET 43-3021 Billing and Posting Clerks and 29-2072 Medical Records Specialists, and AR follow up job descriptions on Indeed
- G2 and Capterra reviews of Waystar, Availity, AdvancedMD, Tebra and CollaborateMD, and r/medicalbilling threads on denials
- Census County Business Patterns for NAICS 621111 Offices of Physicians and public HBMA material on billing companies
Your demo environment: Three mock payer portals with fictional payer names and different styles (form and table, tabs and modals, a step by step wizard) with claim status and remittance pages. A synthetic billing company with 6 client practices, 3,000 synthetic patients from Synthea, 12,000 claims and a truth file, plus generated 837, 276/277 and 835 files that follow the public X12 layouts and real CARC and RARC codes. No real patient, provider or payer appears anywhere.
How to do the research →A self hosted product with one workspace per client practice and a work queue at its centre. Every open claim is checked on a schedule through synthetic X12 276/277 files or by BrowserGlass workers on mock payer portals, and its status and next follow up date are updated. Denials from 277 and 835 files land in a queue sorted by CARC and RARC code, amount and deadline, each with a suggested action from a rules table the billing manager owns. Corrected claims and appeal letters are drafted from approved templates and a billing specialist edits and approves each one before it goes anywhere. 835 files are posted to claims with exceptions sent for review, and dashboards show days in AR, denial rate by payer and first pass yield for each client and for the whole company.
See every API on the tools page.
8 modules that together do the whole job.
Each person on the team owns one or two modules. All of them ship in version 1.0.
- 1Client workspaces and claim import
One workspace per client practice with its payers, providers and settings, and claims imported from synthetic 837 files or CSV.
- 2Claim status checks
Checks every open claim through 276/277 files or BrowserGlass workers on mock payer portals on a schedule and sets the next follow up date.
- 3Denial work queue
Sorts denials by CARC and RARC code, payer, amount and filing deadline, with a suggested action and an owner for each.
- 4Corrected claims and appeals
Drafts corrected claims and appeal letters from approved templates and the claim facts, for a billing specialist to edit and approve, with letters saved as PDF.
- 5Payment posting
Reads 835 files, matches payments and adjustments to claims, posts them and sends mismatches to an exception list.
- 6AR dashboards and reports
Days in AR, AR by age bucket, denial rate by payer and reason, first pass yield and staff productivity, per client and company wide.
- 7Admin, audit and HIPAA controls
Roles per client, payer settings, rules and templates, an audit log with recordings of every portal session, and BAA readiness documents.
- 8Launch kit
A landing page, an ROI calculator built on the week 1 baseline, the 2 minute demo video, a case study from the demo environment run and a US market sizing from Census County Business Patterns.
WHO SIGNS IN Billing specialistAR follow up specialistPayment posterBilling managerClient practice viewerAdmin and privacy officer
Four people your product has to convince.
Build each one from public evidence, interview them with AI, and expect your mentors to play them at the gates.
AR follow up specialist at a 25 person medical billing company serving 30 physician groups
A queue that tells her which claim to work next, the status already checked, and an appeal draft she only has to correct.
Billing manager or director of revenue cycle at the billing company
Days in AR and denial rate by payer for every client each Monday, deadlines never missed, and proof of who approved each letter.
Owner of the billing company, or the administrator of a 12 physician group that bills in house
More clients per biller, lower AR days for clients, and nothing that puts client data or their HIPAA standing at risk.
HIPAA privacy and security officer
A BAA, access limited per client workspace, an audit trail of every view and action, encryption, and synthetic data in every demo.
Finished means all of this.
- Sign in, user roles and a workspace per company
- An audit log of who did what, including the AI
- A person approves anything risky the AI does
- One command install on a clean machine, under 15 minutes
- A demo mode with synthetic data
- Automated tests for every acceptance criterion, run in CI on every pull request
- Admin settings that change behaviour without code
- Data export and backups
- Security review: no secrets in code, input checks, dependency scan, OWASP top 10
- Works on a laptop and a phone, accessible forms
- Admin guide, user guide, API docs and HANDOVER.md
Seven levels, from a day one demo to launch.
Each level has one goal, the checks a mentor will look for, a prompt to give your AI agent and a post to share when you clear it. Tick the checks as your team meets them. The next level opens when this one is cleared.
Level 1 of 7: Day one demo
- Day one demoDay 1 · G0
- Working sliceWeek 1
- UsableWeek 2 · G1
- CompleteWeeks 3 to 4
- At volumeWeeks 5 to 6 · G2
- Production readyWeeks 7 to 8 · G3
- LaunchWeeks 9 to 10 · G4
- Boss levelstretch
Day one demo
Ship on the first day. Your agent builds a mock portal with synthetic data, then BrowserGlass or DeskVNC does one real job in it end to end while you record it. Demo it to the room before lunch.
YOUR GOALOn day 1, a mock payer portal with synthetic US claims runs locally and a BrowserGlass worker checks the status of 20 claims and reads their CARC and RARC codes, checked against a truth file, recorded and posted.
DONE WHENPaste this into Antigravity, opencode or Gemini CLI. Read its plan before you let it build.
Build a working demo in about 2 hours. In mock/payers/northwind_health/ make a small Next.js app in TypeScript for a fictional payer: a sign in page with a test login, a claim search by member ID, date of service and billed amount, and a claim detail page showing status (in process, paid, denied, pended), paid amount, check date and the CARC and RARC codes with their text. In mock/seed/ write a seeded Python generator for 200 claims with US style names, NPIs that are clearly fake, dates of service, billed amounts and outcomes using real CARC and RARC codes, and truth.json. Start the BrowserGlass gateway with bgls serve in a psmux pane and run bgls doctor. In workers/status/check.py use the Python AutomationClient: navigate(), sign in, search each claim using the page map, read the detail with text() and write out/status.json. Add a pytest test against truth.json. Record the run with bgls record start and stop. Plan in 5 lines first and tell me what you did not check.
Intern, Ripeflow Sparkin
Day 1 of my internship in @Ripeflow Spark. Our team is building a claim status and denial desk for US medical billing companies. Before lunch our coding agent built a mock payer portal with [200] synthetic claims carrying real denial codes. By mid afternoon a BrowserGlass worker was signing in and checking them: [20] claims in [3] minutes, every status matching our truth file. #RipeflowSpark #HealthTech
- Fill in the [numbers] with your team's real results.
- Tag @Ripeflow and your teammates. Keep #RipeflowSpark.
- Post on LinkedIn. Put the clip on your WhatsApp status and as an Instagram reel.
- Add the post link to your team tracker. It counts for points.
Progress is saved in this browser. Your mentor checks the real evidence on Saturdays.
The first thing to ask your agent.
Before level 1, give this to your coding agent so it sets up the repo and learns the tools with you.
Run one agent per person, each in its own psmux pane. The agent drafts, you check. If you cannot explain what it wrote, it does not go in.
How to work with agents →You are the lead engineer on Claim Status and Denial Desk, a product for US medical billing companies of 10 to 40 staff and physician groups that bill in house: claim status by X12 276/277 or mock payer portals, a CARC and RARC denial queue, appeals a specialist approves, 835 posting and AR dashboards. It holds PHI, so demos use synthetic patients only. Stack: Next.js with TypeScript, deployed to our host for demos and as a Node server in Docker on premises; Python workers on a Windows or Linux machine that take jobs from a Postgres queue; Postgres with Drizzle; Better Auth with roles; Vitest, Playwright and pytest in GitHub Actions. No other languages. Today we ship a first demo. Set up the monorepo: apps/web, workers/, packages/shared, mock/ and docker-compose.yml. Read README.md, docs/quickstart.md and docs/page-map.md in /Users/godwin/workspace/browserglass. Build one mock payer portal with synthetic claims and a BrowserGlass worker that reads each claim's status and denial codes against a truth file. Give me a 10 line plan with risks, then build in small steps with tests.
Minutes per status check, denials worked per hour, posting errors and modelled days in AR, before and after, across the 6 synthetic client practices.
US healthcare revenue cycle, X12 standards, HIPAA by design, browser agents, multi client reporting.
GIVE BACK UPSTREAMControl lease and recording fixes found in long portal runs, and a public BrowserGlass recipe for a form based status check with synthetic data.
Outcome owners
Everyone builds with AI agents. Each person owns one outcome and answers for it.
- 1Product owner: revenue cycle research, spec, rules table and buyer panel
- 2Agent lead: portal status workers, handoff and recordings
- 3Integration lead: X12 276/277, 835 and 837 files and payment posting
- 4Quality lead: truth files, accuracy, dashboard numbers and tests
- 5Story lead: denial queue, letters, reports, guides and the launch kit
First tasks
Do these in the first week, before anything else.