metronome

metronome is a skill for Claude Code from fcakyon/claude-codex-settings. It costs 184 tokens per session (2,947 once invoked), scanned A, original, Apache-2.0.

A guide to integrating Metronome, a service for usage-based billing. It covers measuring usage, pricing contracts, invoices, credits, prepaid or postpaid commitments, and Stripe invoice syncing.

In plain words
What is it for?
Use it to ingest usage events, define billable metrics, create contracts and rate cards, manage credits and commitments, handle invoices, and sync invoices to Stripe.
Why use it?
It helps prevent design mistakes when turning usage events into charges and managing billing changes over time. It also distinguishes current contract-based billing from older plan-based approaches.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the stripe-skills plugin — 8 skills shipped together

Good fit Use it to ingest usage events, define billable metrics, create contracts and rate cards, manage credits and commitments, handle invoices, and sync invoices to Stripe.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fcakyon/claude-codex-settings/metronome
About the project

claude-codex-settings is a collection of configurations and reusable extensions for Claude Code, OpenAI Codex, Cursor, and related coding tools. Developers use its skills, commands, hooks, agents, plugins, and MCP servers to shape coding-agent workflows and connect alternative model APIs. The catalogue entries are components of this collection that can be installed into supported coding tools.

fcakyon/claude-codex-settings · 1,178 stars · on GitHub · claudesettings.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add fcakyon/claude-codex-settings --skill metronome
Clone the repo
git clone --depth 1 https://github.com/fcakyon/claude-codex-settings

Made for: Claude Code.

Or install stripe-skills, the plugin that ships this one along with the rest of its 8 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for metronome

README.md
[![agentmods](https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/metronome/github.svg)](https://agentmods.dev/skills/fcakyon/claude-codex-settings/metronome)
Your own site
<a href="https://agentmods.dev/skills/fcakyon/claude-codex-settings/metronome"><img src="https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/metronome/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for metronome

Your own site · 80×15
<a href="https://agentmods.dev/skills/fcakyon/claude-codex-settings/metronome"><img src="https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/metronome.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 184 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,947 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00184 $0.02947
Opus 5.5 $0.00074 $0.01179
Sonnet 5.5 $0.00037 $0.00589
Haiku 4.5 $0.00018 $0.00295

Measured 15d ago against content hash fa605daf0b30, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

metronome scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 15d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/stripe-skills/skills/metronome/SKILL.md · 79 lines

How it starts

The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Metronome API base: https://api.metronome.com. Authenticate with a Bearer token in the Authorization header. Always use Contracts (not legacy Plans) for new integrations.

Integration routing

Building… Recommended API Details
Ingesting usage events POST /v1/ingest (batch) Send usage events, the API quickstart, the Ingest API reference, and Set ingest aliases
Defining what to measure Billable Metrics API Create billable metrics
Enterprise pricing agreements Contracts + Rate Cards Provision a customer contract, Create and manage rate cards, and the Create a contract and Add rates API references
Mid-term contract changes Contract Edits Edit a contract, Contract edits and overrides, and Manage contract lifecycle
Invoice lifecycle and finalization Invoices API How Metronome invoices work
Prepaid or postpaid commitments and one-off top-ups Commits + Credits Apply credits and commits to contracts and Payment-gated commits
Syncing invoices to Stripe Stripe billing provider config Invoice with Stripe
Prepaid balances, auto-recharge, spend alerts, and thresholds Notifications API Set prepaid balance thresholds, Enforce spend thresholds, and Threshold notifications

Read the linked page before answering any integration question or writing code; the links return plain Markdown. If no row fits, use the documentation index to find the right page, and append .md to the page URL to fetch it as Markdown.

Read the full file on GitHub · 79 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 15d ago First seen · 79 lines · 184 tokens per session scan A fa605daf0b30

Subscribe to this mod's changes

metronome is a skill published in the GitHub repository fcakyon/claude-codex-settings (1,178 stars, last pushed yesterday), licensed Apache-2.0. It adds 184 tokens to every session and 2,947 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.

Related

Other skills, from other repositories

lov-skill-pricing

A pricing workflow for creating an explanation-backed pricing card for an AI agent skill. It considers creation and maintenance effort, user value, scarcity, buyer confidence, and distribution potential.

lovstudio/skills · 78 tokens

lov-expense-report

A tool that reads invoice photos, scanned receipts, or expense descriptions and turns them into a categorized Excel reimbursement report. It extracts details such as date, vendor, item, amount, and notes.

lovstudio/skills · 127 tokens

ainb-fleet:cost

Show fleet spend — per-session, per-model, per-day, and per-group USD cost rollups for every claude/codex session, sourced live from ainb's burndown analytics (which already prices every provider call). Use when you need spend visibility across a multi-session fleet, want to find the most expensive session/model, or…

stevengonsalvez/agents-in-a-box · 120 tokens

finance-literature-review

Conduct finance-first literature reviews, related-literature sections, and research synthesis. Use when the user asks for a literature review, related literature section, annotated bibliography, gap map, journal-targeted reading list, finance/macro-finance paper scan, corporate finance or asset-pricing synthesis…

azazhang/finance-literature-review-skill · 149 tokens

momentum-strategy

A guide to designing and testing quantitative momentum-trading strategies. Momentum trading buys or holds assets that have recently shown strength, using predefined rules instead of personal guesses.

kuhung/weread-book-skills · 55 tokens

options-strategy

A guide to designing options trades and managing their risks using direction and expected price volatility.

kuhung/weread-book-skills · 96 tokens