usage-based-billing

Centralize per-tenant usage tracking and metered billing via Stripe meters.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/marquesfelip/agents-and-skills --skill usage-based-billing-marquesfelip
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: usage-based-billing
Source: https://github.com/marquesfelip/agents-and-skills/tree/main/skills/usage-based-billing
Command: npx skills add https://github.com/marquesfelip/agents-and-skills --skill usage-based-billing-marquesfelip

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Metered billing and usage tracking for SaaS products using Stripe. This approach centralizes per-tenant usage data and pricing decisions to enable transparent, consumption-based billing.

Core Features & Use Cases

  • Stripe Metered Billing setup and reporting
  • Usage aggregation, caps, alerts, and period resets
  • Local usage tracking for dashboards and billing readiness

Quick Start

Configure your service to create a Stripe Meter, report usage events in batches, and enforce period-based resets and alerts.

Frequently Asked Questions about usage-based-billing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement metered billing for SaaS using Stripe?

Usage-based billing handles overage and caps by applying per-tenant quotas and usage limits across resources like API calls, seats, and storage. It enforces period-boundary resets and triggers alerts when tenants approach their configured caps.

How do I track SaaS usage locally for billing dashboards?

To set up usage-based billing, configure your service to create a Stripe Meter and report usage events in batches. You then apply period-based resets and alerts to manage per-tenant quotas and metered pricing effectively.

What is the best way to handle period-boundary resets for metered pricing?

The best way to handle period-boundary resets for metered pricing is to centralize usage tracking and enforce automatic resets at period boundaries. This ensures accurate usage caps and billing readiness for resources like API calls and storage.

Can I apply per-tenant usage caps and alerts with Stripe subscription billing?

Yes, you can apply per-tenant usage caps and alerts with Stripe subscription billing by configuring Stripe meters. This enables metered pricing across resources while supporting local usage tracking and alerting for tenants.