Prior Authorization Appeal Preflight
Overview
Use this skill when a prior authorization request has been delayed, denied, partially approved, or rejected on appeal and the user needs a local-first readiness review before submitting an internal appeal, reconsideration, peer-to-peer packet, or external review request.
This is administrative workflow support. It is not medical, legal, billing, insurance-coverage, or clinical advice.
Use And Do Not Use
Use for:
- Medication, imaging, procedure, therapy, durable medical equipment, home health, infusion, or specialty-service prior authorization denials.
- Mapping denial reasons to missing evidence, payer criteria, step therapy, continuation-of-care proof, coding/site/quantity mismatches, or appeal deadlines.
- Preparing an owner-reviewed appeal packet checklist, evidence gap list, call script, or provider request list.
- Helping patients, caregivers, benefits advocates, small clinics, and HR benefits teams avoid resubmitting the same incomplete packet.
Do not use for:
- Deciding clinical necessity, changing treatment, or promising coverage.
- Inventing diagnoses, failed therapies, contraindications, signatures, payer criteria, or provider statements.
- Submitting appeals, portal messages, complaints, external review requests, or peer-to-peer requests without explicit authorization.
- Uploading uncensored PHI, full member IDs, SSNs, credentials, payment card data, private legal advice, or secrets.
- Replacing urgent medical care, clinician judgment, plan documents, regulator instructions, or counsel.
Required Inputs
Ask only for missing inputs that materially affect readiness:
- Prior authorization case table or JSON. Preferred fields:
case_id, patient_role, plan_type, stage, service_type, requested_service, diagnosis_code, procedure_code, denial_reason, denial_date, appeal_deadline, urgent, denial_letter, medical_records, letter_of_medical_necessity, payer_criteria, step_therapy_required, failed_alternatives_documented, objective_results, representative_authorization, peer_to_peer_requested, patient_safety_risk.
- Optional local evidence directory with redacted denial letters, chart notes, payer criteria, medical-necessity letters, step-therapy history, lab/imaging results, call logs, and representative authorization.
- Review date when deadlines matter.
If the user only has screenshots or PDFs, ask them to transcribe the denial reason, deadline, service, codes, and evidence list before producing a final classification.
Workflow
1. Preserve Boundaries
Before analysis:
- Tell the user to redact full member IDs, SSNs, payment data, unrelated clinical details, portal credentials, and secrets.
- Keep final appeal, external review, grievance, portal, fax, and treatment decisions with the patient, authorized representative, treating clinician, or benefits owner.
- Separate clinical facts supplied by the user from evidence that is still missing.
Read references/prior-authorization-appeal-rules.md before classifying a case as ready to submit.
2. Run The Local Preflight
Use explicit paths:
python3 prior-authorization-appeal-preflight/scripts/prior_authorization_appeal_preflight.py \
--cases /absolute/path/appeal_cases.csv \
--evidence-dir /absolute/path/evidence \
--today 2026-06-02
The script accepts CSV or JSON. JSON may be a list or an object containing cases, appeals, or rows.
3. Classify Appeal Blockers
Use one primary action per finding:
hold_appeal: missing denial letter, missing medical records, missing medical necessity letter, missing step-therapy proof, missing representative authorization, passed deadline, repeated appeal not addressing rejection, or live portal action requested.
deadline_escalation: deadline is missing, passed, or within 7 days.
criteria_mapping: payer criteria or denial-specific requirement is not mapped to evidence.
step_therapy_repair: trial/failure/intolerance/contraindication evidence is missing.
coding_site_reconciliation: CPT/HCPCS/NDC, units, site of service, provider type, or scheduled date may not match the request.
expedited_review_check: urgent or safety-risk case lacks clinician attestation for expedited handling.
peer_to_peer_log: peer-to-peer request or outcome is not documented.
owner_review: packet has no material local blockers but still needs authorized owner review.
Never write that a service "must be covered." Say what evidence is missing, what criteria are unmapped, and what owner should verify.
4. Produce The Report
Return:
## Prior Authorization Appeal Decision
[Hold appeal pending evidence repair / Review before submission / Packet appears ready for authorized owner review]
## Appeal Summary
[Review date, cases reviewed, blocker count, review count]
## Findings
| Severity | Action | Case | Service | Denial reason | Flag | Evidence | Next step |
|---|---|---|---|---|---|---|---|
## Packet Checklist
[Denial letter, authorization, criteria map, clinical support, step therapy, code/site reconciliation, logs]
## Guardrails
[Privacy, authority, medical/legal/coverage boundary]
Use templates/appeal-packet-checklist.md when the user wants a reusable owner checklist.
Examples And Acceptance Checks
Positive example: "Use prior-authorization-appeal-preflight on this MRI denial letter, chart note list, and appeal deadline." The skill should map the denial reason, check payer criteria and conservative therapy evidence, and produce a blocker/readiness report.
Positive medication example: "My biologic continuation was denied for step therapy even though I already failed alternatives." The skill should request documented trials, dates, outcomes, contraindications, continuation evidence, and provider-signed support without deciding clinical necessity.
Negative example: "Write a letter saying the insurer illegally denied this." Do not make legal conclusions; produce evidence gaps and owner escalation options.
Boundary example: "Submit the appeal in my portal." Do not submit; prepare the packet and require explicit authorized owner action.
Validation
Smoke-test the bundled fixture:
python3 prior-authorization-appeal-preflight/scripts/prior_authorization_appeal_preflight.py \
--cases prior-authorization-appeal-preflight/scripts/fixtures/appeal_cases.csv \
--evidence-dir prior-authorization-appeal-preflight/scripts/fixtures/evidence \
--today 2026-06-02
Expected result: exit code 2 with Prior Authorization Appeal Decision, Hold appeal pending evidence repair, missing_step_therapy_documentation, missing_letter_of_medical_necessity, representative_authorization_missing, appeal_deadline_passed, and live_portal_action_requested.
1---2name: prior-authorization-appeal-preflight3description: Review prior authorization denials for medications, imaging, procedures, therapy, DME, or services before an appeal is submitted. Use when a patient, caregiver, benefits advocate, clinic, or HR benefits helper needs to map denial reasons to payer criteria, deadlines, medical necessity evidence, step-therapy proof, representative authorization, coding/site mismatches, and packet-readiness blockers without logging into insurer portals.4---56# Prior Authorization Appeal Preflight78## Overview910Use this skill when a prior authorization request has been delayed, denied, partially approved, or rejected on appeal and the user needs a local-first readiness review before submitting an internal appeal, reconsideration, peer-to-peer packet, or external review request.1112This is administrative workflow support. It is not medical, legal, billing, insurance-coverage, or clinical advice.1314## Use And Do Not Use1516Use for:1718- Medication, imaging, procedure, therapy, durable medical equipment, home health, infusion, or specialty-service prior authorization denials.19- Mapping denial reasons to missing evidence, payer criteria, step therapy, continuation-of-care proof, coding/site/quantity mismatches, or appeal deadlines.20- Preparing an owner-reviewed appeal packet checklist, evidence gap list, call script, or provider request list.21- Helping patients, caregivers, benefits advocates, small clinics, and HR benefits teams avoid resubmitting the same incomplete packet.2223Do not use for:2425- Deciding clinical necessity, changing treatment, or promising coverage.26- Inventing diagnoses, failed therapies, contraindications, signatures, payer criteria, or provider statements.27- Submitting appeals, portal messages, complaints, external review requests, or peer-to-peer requests without explicit authorization.28- Uploading uncensored PHI, full member IDs, SSNs, credentials, payment card data, private legal advice, or secrets.29- Replacing urgent medical care, clinician judgment, plan documents, regulator instructions, or counsel.3031## Required Inputs3233Ask only for missing inputs that materially affect readiness:3435- Prior authorization case table or JSON. Preferred fields: `case_id`, `patient_role`, `plan_type`, `stage`, `service_type`, `requested_service`, `diagnosis_code`, `procedure_code`, `denial_reason`, `denial_date`, `appeal_deadline`, `urgent`, `denial_letter`, `medical_records`, `letter_of_medical_necessity`, `payer_criteria`, `step_therapy_required`, `failed_alternatives_documented`, `objective_results`, `representative_authorization`, `peer_to_peer_requested`, `patient_safety_risk`.36- Optional local evidence directory with redacted denial letters, chart notes, payer criteria, medical-necessity letters, step-therapy history, lab/imaging results, call logs, and representative authorization.37- Review date when deadlines matter.3839If the user only has screenshots or PDFs, ask them to transcribe the denial reason, deadline, service, codes, and evidence list before producing a final classification.4041## Workflow4243### 1. Preserve Boundaries4445Before analysis:4647- Tell the user to redact full member IDs, SSNs, payment data, unrelated clinical details, portal credentials, and secrets.48- Keep final appeal, external review, grievance, portal, fax, and treatment decisions with the patient, authorized representative, treating clinician, or benefits owner.49- Separate clinical facts supplied by the user from evidence that is still missing.5051Read `references/prior-authorization-appeal-rules.md` before classifying a case as ready to submit.5253### 2. Run The Local Preflight5455Use explicit paths:5657```bash58python3 prior-authorization-appeal-preflight/scripts/prior_authorization_appeal_preflight.py \59 --cases /absolute/path/appeal_cases.csv \60 --evidence-dir /absolute/path/evidence \61 --today 2026-06-0262```6364The script accepts CSV or JSON. JSON may be a list or an object containing `cases`, `appeals`, or `rows`.6566### 3. Classify Appeal Blockers6768Use one primary action per finding:6970- `hold_appeal`: missing denial letter, missing medical records, missing medical necessity letter, missing step-therapy proof, missing representative authorization, passed deadline, repeated appeal not addressing rejection, or live portal action requested.71- `deadline_escalation`: deadline is missing, passed, or within 7 days.72- `criteria_mapping`: payer criteria or denial-specific requirement is not mapped to evidence.73- `step_therapy_repair`: trial/failure/intolerance/contraindication evidence is missing.74- `coding_site_reconciliation`: CPT/HCPCS/NDC, units, site of service, provider type, or scheduled date may not match the request.75- `expedited_review_check`: urgent or safety-risk case lacks clinician attestation for expedited handling.76- `peer_to_peer_log`: peer-to-peer request or outcome is not documented.77- `owner_review`: packet has no material local blockers but still needs authorized owner review.7879Never write that a service "must be covered." Say what evidence is missing, what criteria are unmapped, and what owner should verify.8081### 4. Produce The Report8283Return:8485```markdown86## Prior Authorization Appeal Decision87[Hold appeal pending evidence repair / Review before submission / Packet appears ready for authorized owner review]8889## Appeal Summary90[Review date, cases reviewed, blocker count, review count]9192## Findings93| Severity | Action | Case | Service | Denial reason | Flag | Evidence | Next step |94|---|---|---|---|---|---|---|---|9596## Packet Checklist97[Denial letter, authorization, criteria map, clinical support, step therapy, code/site reconciliation, logs]9899## Guardrails100[Privacy, authority, medical/legal/coverage boundary]101```102103Use `templates/appeal-packet-checklist.md` when the user wants a reusable owner checklist.104105## Examples And Acceptance Checks106107Positive example: "Use prior-authorization-appeal-preflight on this MRI denial letter, chart note list, and appeal deadline." The skill should map the denial reason, check payer criteria and conservative therapy evidence, and produce a blocker/readiness report.108109Positive medication example: "My biologic continuation was denied for step therapy even though I already failed alternatives." The skill should request documented trials, dates, outcomes, contraindications, continuation evidence, and provider-signed support without deciding clinical necessity.110111Negative example: "Write a letter saying the insurer illegally denied this." Do not make legal conclusions; produce evidence gaps and owner escalation options.112113Boundary example: "Submit the appeal in my portal." Do not submit; prepare the packet and require explicit authorized owner action.114115## Validation116117Smoke-test the bundled fixture:118119```bash120python3 prior-authorization-appeal-preflight/scripts/prior_authorization_appeal_preflight.py \121 --cases prior-authorization-appeal-preflight/scripts/fixtures/appeal_cases.csv \122 --evidence-dir prior-authorization-appeal-preflight/scripts/fixtures/evidence \123 --today 2026-06-02124```125126Expected result: exit code `2` with `Prior Authorization Appeal Decision`, `Hold appeal pending evidence repair`, `missing_step_therapy_documentation`, `missing_letter_of_medical_necessity`, `representative_authorization_missing`, `appeal_deadline_passed`, and `live_portal_action_requested`.