pg2342-hub

Prior Auth Packet Agent — Development skill for Claude Code

Development community

Agent that turns a faxed infusion referral into a prior-auth-ready packet.

How to install Prior Auth Packet Agent

This entry records only its repository, not the path inside it, so there is no exact command to give. Open pg2342-hub/prior-auth-packet-agent and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Prior Auth Packet Agent does

Agent that turns a faxed infusion referral into a prior-auth-ready packet. It extracts each field with a page citation, checks the prescriber, diagnosis, drug and Medicare coverage against public CMS and NLM APIs, and flags what is missing.

Alternatives in Development

  • Engage.Memory — Cross-engagement pattern memory — recall prior techniques, record confirmed findings, housekeeping 348 ★
  • Traffic Diagnosis — Traffic Change Diagnosis 242 ★
  • Healthcare — Skills for healthcare workflows including clinical trials, prior authorization review, and FHIR API developmen 204 ★

README

prior-auth-packet-agent

[![ci](https://github.com/pg2342-hub/prior-auth-packet-agent/actions/workflows/ci.yml/badge.svg)](https://github.com/pg2342-hub/prior-auth-packet-agent/actions/workflows/ci.yml)

Turns a faxed specialty-pharmacy referral into a prior-authorization packet an intake specialist can submit, or into a short fax back to the prescriber's office listing exactly what is missing.

**Demo:** https://pranavgudise.dev/prior-auth-packet-agent/

What it does

  1. Reads the fax. Claude reads the scanned PDF (five image-only pages) and returns each field with the page it came from and the exact words it read.
  2. Keeps only what it can prove. A field survives only if its quote is actually on the page it cites; IDs, the NPI, dates of birth and codes must match exactly, and a test the quote calls pending or ordered does not count. Anything else is dropped, so every value on the PA form traces back to the fax.
  3. Checks against live public sources. NPPES for the prescriber's NPI and name, the NLM ICD-10-CM table for each diagnosis code, RxNorm for the drug, and the current openFDA label for on-label use.
  4. Applies the drug's checklist. Infliximab, vedolizumab, ocrelizumab and IVIG each need different items (TB and hepatitis B screens, weight, prior therapies, diagnostic support). Rules decide; the model only reads.
  5. Writes the outputs. The PA form fields, a draft letter of medical necessity for the prescriber to review and sign, a FHIR bundle shaped like a Da Vinci PAS request, and the office fax when something is missing.

Every referral ends in one of three states: **ready** (submit), **request info** (fax the office), or **pharmacist review** (diagnosis not on the label).

The go-live gate

30 labeled referrals (10 clean, 20 with a planted problem) run 3 times each through [golive-gate](https://pypi.org/project/golive-gate/). Two checks are critical, because they are the mistakes that cost a patient time or cost the pharmacy a de