# Metronome

> Metronome is an open-source agent skill for legal and government. Guides Metronome usage-based billing integration decisions — event ingestion (single and batch, idempotency, billable metrics), contract des. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/stripe/ai/tree/main/providers/agent-plugins/plugin/skills/metronome
- **Repository:** https://github.com/stripe/ai
- **GitHub stars:** 2,070
- **License:** MIT
- **Skill name:** metronome
- **Collection:** https://github.com/stripe/ai
- **Categories:** legal and government
- **Listing updated:** 2026-11-17

## About

Guides Metronome usage-based billing integration decisions — event ingestion (single and batch, idempotency, billable metrics), contract design (rate cards, overrides, dimensional pricing, products), invoicing lifecycle (grace periods, finalization, Stripe sync), credit and commit management (prepaid, postpaid, thresholds, auto-recharge), and Stripe integration (arrears invoicing, tax providers, line item limits). Use when building, modifying, or reviewing any Metronome integration — including ingesting usage events, creating customers, contracts, or rate cards, designing billable metric group keys, managing credits and commits, configuring invoicing, syncing invoices with Stripe Billing, billing AI applications for token usage, setting up self-serve (PLG) pricing, reviewing customer health, commit burn, portfolios, or renewals, or migrating from Stripe Billing Meters to Metronome.

## When your agent uses it

> Guides Metronome usage-based billing integration decisions — event ingestion (single and batch, idempotency, billable metrics), contract design (rate cards, overrides, dimensional pricing, products), invoicing lifecycle (grace periods, finalization, Stripe sync), credit and commit management (prepaid, postpaid, thresholds, auto-recharge), and Stripe integration (arrears invoicing, tax providers, line item limits). Use when building, modifying, or reviewing any Metronome integration — including ingesting usage events, creating customers, contracts, or rate cards, designing billable metric group keys, managing credits and commits, configuring invoicing, syncing invoices with Stripe Billing, billing AI applications for token usage, setting up self-serve (PLG) pricing, reviewing customer health, commit burn, portfolios, or renewals, or migrating from Stripe Billing Meters to Metronome.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/stripe/ai/tree/HEAD/providers/agent-plugins/plugin/skills/metronome)
- [License: MIT](https://github.com/stripe/ai/tree/HEAD/providers/agent-plugins/plugin/skills/metronome)

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/metronome` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/stripe/ai.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/metronome &&
cp -R "$tmp/providers/agent-plugins/plugin/skills/metronome" ~/.claude/skills/metronome &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/metronome` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/metronome` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/stripe/ai.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/metronome &&
cp -R "$tmp/providers/agent-plugins/plugin/skills/metronome" ~/.agents/skills/metronome &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/metronome` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/metronome` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/stripe/ai.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/metronome &&
cp -R "$tmp/providers/agent-plugins/plugin/skills/metronome" ~/.cursor/skills/metronome &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/metronome` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/stripe/ai.git --path providers/agent-plugins/plugin/skills/metronome
```

Or copy the folder to `~/.gemini/skills/metronome` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/metronome`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/stripe/ai.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/metronome &&
cp -R "$tmp/providers/agent-plugins/plugin/skills/metronome" ~/.copilot/skills/metronome &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/metronome` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/stripe/ai.git
```

Then copy `ai/providers/agent-plugins/plugin/skills/metronome` into your agent's skills folder as `metronome`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Metronome in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/metronome to use it in all your projects, or to .claude/skills/metronome in one project.

### Does Metronome run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Metronome?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Metronome?

The closest alternatives to Metronome are Data breach blast radius, Entry point analyzer, Use smart contract platform, Agent wallet policy and Entry point analyzer.

## Alternatives

- [Data breach blast radius](https://ai-powered.com/skills/data-breach-blast-radius): Data breach blast radius is an open-source agent skill for legal and government.
- [Entry point analyzer](https://ai-powered.com/skills/entry-point-analyzer): Entry point analyzer is an open-source agent skill for legal and government.
- [Use smart contract platform](https://ai-powered.com/skills/use-smart-contract-platform): Use smart contract platform is an open-source agent skill for legal and government.
- [Agent wallet policy](https://ai-powered.com/skills/agent-wallet-policy): Agent wallet policy is an open-source agent skill for finance and payments.
- [Entry point analyzer](https://ai-powered.com/skills/entry-point-analyzer-plurigrid): Entry point analyzer is an open-source agent skill for legal and government.
- [Implementing gdpr data protection controls](https://ai-powered.com/skills/implementing-gdpr-data-protection-controls): Implementing gdpr data protection controls is an open-source agent skill for legal and government.
- [Doca structured tools contract](https://ai-powered.com/skills/doca-structured-tools-contract): Doca structured tools contract is an open-source agent skill for legal and government.
- [Analyzing ethereum smart contract vulnerabilities](https://ai-powered.com/skills/analyzing-ethereum-smart-contract-vulnerabilities): Analyzing ethereum smart contract vulnerabilities is an open-source agent skill for finance and payments.

---
Source: https://ai-powered.com/skills/metronome
