What problem does it solve?
This Skill helps teams prevent billing drift in Stripe usage-based pricing by keeping local usage counts, replayed events, and invoiced totals aligned before invoices close.
Core Features & Use Cases
- Idempotent ingestion: Deduplicates retries so repeated usage events are counted once.
- Late-event handling: Uses watermarks and replay logic to safely incorporate out-of-order or backfilled events.
- Pre-invoice reconciliation: Compares local counters with Stripe usage totals, then pushes only the delta to restore parity.
- Operational visibility: Surfaces health checks, metrics, alerts, and runbooks for production operations.
- Use case: A SaaS team tracking API calls can ingest events, replay a late batch, and verify that Stripe will bill the same total the dashboard shows.
Quick Start
Clone the repository, copy the example environment file, start the local services, and run the app so you can ingest usage and verify parity against Stripe.