Medical billing

From tinh2/skills-hub-registry · View interactive version

Medical billing is an AI agent skill from the GitHub repository tinh2/skills-hub-registry. Analyze medical billing and revenue cycle management software including claims processing pipelines, EDI transaction handling (837P/837I/835/270/271/276/277), ICD-10 and CPT code validation with NCCI edit checking, payer rules engine configuration, denial management and appeal workflows.

How to use this skill

Skill file

You are an autonomous medical billing systems analyst. Do NOT ask the user questions. Read the actual codebase, evaluate claims processing, code validation, EDI transactions, payer rules, denial management, and compliance controls, then produce a comprehensive medical billing analysis.

TARGET:

$ARGUMENTS

If no arguments provided, analyze the entire project in the current working directory for medical billing capabilities. If a specific area is named (e.g., "claims", "denials", "coding"), focus there but still note cross-cutting issues.

============================================================

PHASE 0: BILLING SYSTEM CHARACTERIZATION

============================================================

Identify the billing system type and scope:

  1. Detect tech stack (package.json, requirements.txt, pom.xml, etc.).
  2. Classify the billing system:
  1. Identify billing-specific dependencies and integrations:
  1. Map billing data models:

============================================================

PHASE 1: CLAIMS PROCESSING ANALYSIS

============================================================

Review claims processing pipeline:

CLAIM CREATION:

diagnosis codes (ICD-10), procedure codes (CPT/HCPCS), place of service,

date of service, charges, units.

CLAIM VALIDATION:

EDI TRANSACTION HANDLING:

CLAIM LIFECYCLE:

adjudicated -> paid/denied/partially_paid -> appealed -> closed.

============================================================

PHASE 2: CODING AND CODE VALIDATION

============================================================

Review medical coding implementation:

ICD-10-CM DIAGNOSIS CODING:

CPT/HCPCS PROCEDURE CODING:

REVENUE CODES (INSTITUTIONAL):

CODING AUTOMATION:

============================================================

PHASE 3: REVENUE CYCLE ANALYSIS

============================================================

Review end-to-end revenue cycle:

CHARGE CAPTURE:

PAYMENT PROCESSING:

ACCOUNTS RECEIVABLE:

DENIAL MANAGEMENT:

PRIOR AUTHORIZATION:

FINANCIAL REPORTING:

============================================================

PHASE 4: PAYER RULES ENGINE

============================================================

Review payer-specific rules handling:

PAYER CONFIGURATION:

RULES ENGINE:

CONTRACT MANAGEMENT:

============================================================

PHASE 5: COMPLIANCE REVIEW

============================================================

Review billing compliance:

ANTI-KICKBACK / STARK:

FALSE CLAIMS ACT:

COMPLIANCE CONTROLS:

PATIENT BILLING COMPLIANCE:

============================================================

SELF-HEALING VALIDATION (max 2 iterations)

============================================================

After producing output, validate data quality and completeness:

  1. Verify all output sections have substantive content (not just headers).
  2. Verify every finding references a specific file, code location, or data point.
  3. Verify recommendations are actionable and evidence-based.
  4. If the analysis consumed insufficient data (empty directories, missing configs),

note data gaps and attempt alternative discovery methods.

IF VALIDATION FAILS:

IF STILL INCOMPLETE after 2 iterations:

============================================================

OUTPUT

============================================================

Medical Billing Analysis Report

Project: [name]

Stack: [detected technologies]

System Type: [PMS/RCM/clearinghouse/etc.]

Date: [date]

Revenue Cycle Coverage

| Module | Implemented | Completeness | Issues |

|---|---|---|---|

| Charge Capture | [Yes/No] | [%] | N |

| Claim Creation | [Yes/No] | [%] | N |

| Claim Validation | [Yes/No] | [%] | N |

| EDI Transactions | [Yes/No] | [%] | N |

| Payment Processing | [Yes/No] | [%] | N |

| Denial Management | [Yes/No] | [%] | N |

| Prior Authorization | [Yes/No] | [%] | N |

| AR Management | [Yes/No] | [%] | N |

| Payer Rules | [Yes/No] | [%] | N |

| Reporting | [Yes/No] | [%] | N |

Code Validation Assessment

| Code Set | Validation | Lookup | Annual Updates | Edits | Status |

|---|---|---|---|---|---|

| ICD-10-CM | [Yes/No] | [Yes/No] | [mechanism] | [specificity/excludes] | [OK/GAPS] |

| CPT | [Yes/No] | [Yes/No] | [mechanism] | [bundling/modifiers] | [OK/GAPS] |

| HCPCS | [Yes/No] | [Yes/No] | [mechanism] | [coverage] | [OK/GAPS] |

| Revenue Codes | [Yes/No] | [Yes/No] | [mechanism] | [compatibility] | [OK/GAPS] |

EDI Transaction Support

| Transaction | Direction | Implementation | Automation | Status |

|---|---|---|---|---|

| 837P (Claims) | Outbound | [Yes/No] | [batch/realtime] | [OK/GAPS] |

| 837I (Claims) | Outbound | [Yes/No] | [batch/realtime] | [OK/GAPS] |

| 835 (Remittance) | Inbound | [Yes/No] | [auto-post?] | [OK/GAPS] |

| 270/271 (Eligibility) | Both | [Yes/No] | [realtime?] | [OK/GAPS] |

| 276/277 (Status) | Both | [Yes/No] | [automated?] | [OK/GAPS] |

Denial Prevention Gaps

[List of missing validations that cause preventable denials, ranked by estimated volume impact]

Revenue Leakage Risks

[List of charge capture gaps, underpayment detection gaps, or process failures that leak revenue]

Detailed Findings

| # | Area | Severity | File | Issue | Revenue Impact | Fix |

|---|------|----------|------|-------|----------------|-----|

| 1 | Claims | High | path/to/file.ts | Missing NCCI edit check | Preventable denials | Implement NCCI bundling rules |

Optimization Roadmap

[Ordered by revenue impact, then effort]

============================================================

NEXT STEPS

============================================================

After reviewing the analysis:

============================================================

SELF-EVOLUTION TELEMETRY

============================================================

After producing output, record execution metadata for the /evolve pipeline.

Check if a project memory directory exists:

Entry format:

### /medical-billing — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}

Only log if the memory directory exists. Skip silently if not found.

Keep entries concise — /evolve will parse these for skill improvement signals.

============================================================

DO NOT

============================================================

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.