Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

metronome

Skill by stripe

Guides Metronome usage-based billing integrations, covering event ingestion, contracts, invoicing, credits and Stripe sync. Built for developers building or reviewing a Metronome integration, and for Metronome's account team.

  • Score 88
  • 2.1k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install metronome

Built from the published package, never by AI.

git clone --depth 1 https://github.com/stripe/ai /tmp/ai && mkdir -p ~/.claude/skills && cp -r /tmp/ai/skills/metronome ~/.claude/skills/metronome

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install metronome in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The metronome skill gives an AI assistant guidance for Metronome usage-based billing work. It covers event ingestion with batch sends and idempotency, contract design with rate cards and overrides, and the invoicing lifecycle, including grace periods and Stripe sync. It also covers credit and commit management and Stripe integration points such as arrears invoicing, tax providers and the 250 line item limit per invoice.

The skill routes each task to the matching Metronome documentation page and links to step-by-step skills for setup, customer creation, contracts, token billing, self-serve pricing, migration from Stripe Billing Meters and customer health reviews. It is aimed at developers building or reviewing a Metronome integration, and at Metronome's account team for read-only reviews. Some linked workflows create real objects through the API, so they require explicit confirmation before any write.

Written from the project's SKILL.md and checked against it.

What it can do

  • Event ingestion guidanceAdvises on batch usage ingestion, transaction IDs for idempotency and billable metrics.
  • Contract designCovers rate cards, contract overrides, dimensional pricing and products.
  • Invoicing lifecycleExplains grace periods, invoice finalization and syncing invoices with Stripe.
  • Credit and commit managementCovers prepaid and postpaid commits, thresholds and auto-recharge.
  • Stripe integrationCovers arrears invoicing, tax providers and line item limits.
  • Group key designDesigns group_keys and pricing and presentation keys for a billable metric, with cardinality checks.
  • Setup from scratchWalks through billable metrics, products, rate card, customer and contract to a draft invoice.
  • Token billing for AI appsBuilds a managed rate card with markup over Stripe's model catalog for AI token usage.
  • Stripe migrationPlans migration from Stripe Billing Meters, Subscriptions and Credit Grants to Metronome.
  • Customer health reviewsRead-only review of anomalies, commit burn, portfolios and renewals for account teams.

What you need

  • Metronome API token (Bearer token)
  • Stripe key for Stripe-related writes

Try asking

  • Show me how to send usage events to Metronome with idempotent batch ingestion
  • Help me design group keys for a billable metric that counts API calls
  • Plan a Stripe Billing Meters to Metronome migration with a parallel run

Good to know

  • Read the linked Metronome documentation before answering or writing code.
  • Some workflows create or change production objects and need explicit confirmation first.
  • Grace period length is not configurable through the API.
  • Customer-story and CSM review modes are read-only.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/metronome/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md13 KB

Alternatives to metronome

All alternatives →

Compare with meme-rush, okx-market or saas-metrics-coach

metronome: common questions

Should a new integration use Metronome Plans or Contracts?

The skill says to always use Contracts for new customers. Plans are deprecated and lack rate card overrides, commits and flexible scheduling.

Can the skill change my production Metronome or Stripe data?

Some linked workflows create objects and can change production state, such as the migration cutover that ends Stripe subscriptions. The skill requires explicit user confirmation before any write.

What happens if usage events arrive late?

Usage must be delivered before the grace period ends, which is 24 hours after billing_period_end_date by default. A finalized invoice ignores late events.

How do I install metronome?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is metronome free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is metronome safe to use?

It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to metronome?

Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.

metronome Install

Add to stack

Loading.