Agent skill

Metronome

by fossasia in fossasia/eventyay

Guides Metronome usage-based billing integration decisions — event ingestion (single and batch, idempotency, billable metrics), contract design (rate cards, overrides, dimensional pricing…

Apache-2.0Auto-check passedDocuments & Office

Install Metronome

skills CLI
$ npx skills add fossasia/eventyay --skill metronome -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install fossasia/eventyay metronome --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/fossasia/eventyay.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/metronome .claude/skills/metronome && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
metronome
GitHub stars
1.7k
Token cost
~2.3k tokens
SKILL.md length
898 words
Files
1
Skills in repo
21
Repo updated
First seen
Licence
Apache-2.0

At a glance

Guides Metronome usage-based billing integration decisions — event ingestion (single and batch, idempotency, billable metrics), contract design (rate cards, overrides, dimensional pricing…

  • Reviewing any Metronome integration — including ingesting usage events
  • SKILL.md covers Integration routing, Critical rules and Key documentation
  • Reaches api.metronome.com
  • Creating contracts

What it does

Metronome is an agent skill from fossasia/eventyay. 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…

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office, covering Forms and invoices and Payments and billing. It works with Stripe. The repository describes itself as: Open Source Event Management, Ticketing and Checkins, Talks and Schedules, Video and Interpretations, Badges, Exhibitions and more https://eventyay.com. The licence is Apache-2.0.

When your agent uses it

  • Reviewing any Metronome integration — including ingesting usage events
  • Creating contracts
  • Managing credits and commits
  • Configuring invoicing

Example prompts

  • “Use the metronome skill to guide Metronome usage-based billing integration decisions — event ingestion (single and batch, idempotency, billable…”
  • “/metronome”

What it can do on your machine

Read from SKILL.md and the folder at commit b539d59. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.metronome.com

    Also links to:

    • docs.metronome.com
    • docs.stripe.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Metronome loads about 2.3k tokens when it runs. Until then it costs about 165 tokens; SKILL.md has 898 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~165
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from fossasia/eventyay at commit b539d59, republished under its Apache-2.0 licence (© fossasia). 898 words, ~2,307 tokens.

Download SKILL.mdSave it as .claude/skills/metronome/SKILL.md (or your agent's skills folder).
name
metronome
description
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 contracts or rate cards, managing credits and commits, configuring invoicing, or syncing invoices with Stripe Billing.

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 APIDetails
Ingesting usage eventsPOST /v1/ingest (batch)Send usage events, the API quickstart, the Ingest API reference, and Set ingest aliases
Defining what to measureBillable Metrics APICreate billable metrics
Enterprise pricing agreementsContracts + Rate CardsProvision a customer contract, Create and manage rate cards, and the Create a contract and Add rates API references
Mid-term contract changesContract EditsEdit a contract, Contract edits and overrides, and Manage contract lifecycle
Invoice lifecycle and finalizationInvoices APIHow Metronome invoices work
Prepaid or postpaid commitments and one-off top-upsCommits + CreditsApply credits and commits to contracts and Payment-gated commits
Syncing invoices to StripeStripe billing provider configInvoice with Stripe
Prepaid balances, auto-recharge, spend alerts, and thresholdsNotifications APISet 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.

Critical rules

  • Always read the linked documentation page before naming a Metronome endpoint, field, or amount. Endpoint paths, request shapes, and units can be misremembered; the routing table above points to the page for each task.
  • Always use Contracts, not legacy Plans, for new customers. Plans are deprecated and lack rate card overrides, commits, and flexible scheduling. An existing Plans integration keeps working: don’t propose migrating it unless asked, and when migrating move credit balances with POST /v1/credits/migrateToContracts.
  • Always use Edits (POST /v2/contracts/edit), not deprecated Amendments (/v1/contracts/amend), for mid-term changes to a contract (new products, commits, overrides). Edits are the actively invested path and required for v2 subscription features. Create a new contract with transition: {type: "renewal", from_contract_id} only for renewals.
  • Always use batch ingestion (POST /v1/ingest with a bare JSON array of 1 to 100 event objects as the request body, not wrapped in an object) for production workloads. Single-event ingestion is acceptable only for testing. A 200 means the events were accepted, not rated: events whose event_type matches no billable metric are stored but excluded from usage, so create billable metrics before sending.
  • Always include a unique transaction_id on every event, fixed when the event is recorded and re-sent unchanged on every retry: a UUID stored with the event, or a value derived from the source record. This is the idempotency key that prevents double-counting on retries; an ID regenerated per attempt defeats it.
  • Always deliver usage for a billing period before its grace period ends (24 hours after billing_period_end_date by default). A finalized invoice ignores late events and can only be corrected by voiding and regenerating it; if your pipeline’s worst-case lag exceeds the grace period, ask Metronome support to lengthen it (it isn’t configurable through the API).
  • Always set a usage_filter (group_key and group_values) on each contract when a customer has more than one concurrent contract, so usage is rated on one contract instead of all of them. The group key must be a group key on the streaming billable metric (an event property for SQL metrics).
  • Never schedule a contract-level commit or credit access segment past the contract’s ending_before. Usage after the contract ends isn’t rated on it, so balance released after that date is stranded; end the last segment at the contract term and use rollover_fraction to carry a remaining balance into a renewal.
  • Never put applicable_product_ids, applicable_product_tags, or specifiers on a spend_threshold_configuration commit. Spend-threshold commits apply to all usage and take only product_id, name, description, and priority; only prepaid_balance_threshold_configuration commits accept product filters.
  • Never process multiple Metronome invoices for the same Stripe customer simultaneously. Concurrent processing causes race conditions on pending line items.
  • Never hardcode pricing directly in contracts. Define pricing in rate cards and use contract-level overrides for custom rates. This ensures un-overridden pricing stays current when the rate card changes.
  • Always send USD amounts in cents. Metronome’s default USD credit type is denominated in cents (1000 is 10.00 USD) for thresholds, commits, credits, and rate or override prices; other currencies use whole units.
  • Never finalize a Stripe invoice before tax calculation completes. If using Stripe Tax, Avalara, or Anrok, the tax provider must process the invoice before finalization.
  • Never exceed 250 line items per Stripe invoice. Exceeding this limit causes all line items to collapse into a single entry, losing per-product detail. Plan product granularity and use composite products to aggregate high-cardinality metrics.
  • Always reconcile payments against the Stripe invoice total, never the Metronome invoice total. Metronome sends untaxed line items and Stripe adds tax at finalization, so the Metronome total is pre-tax and can differ by sub-cent rounding.
  • Never set NetSuite as both a contract’s billing_provider_configuration and its revenue_system_configuration. Use the billing configuration when NetSuite issues and collects the invoice; use the revenue system configuration only when another provider such as Stripe bills and NetSuite needs the invoice for revenue recognition.
Show full SKILL.md (58 more words)Show less

Key documentation

When the user’s request doesn’t clearly fit a single domain above, consult:

© fossasia, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/metronome of fossasia/eventyay.

Open the folder on GitHubat commit b539d59

Compare with similar skills

Metronome next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Metronome compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Metronome this skillfossasia/eventyay1.7k—~2.3kAutomated safety check: PassApache-2.0
Metronomefcakyon/claude-codex-settings1.2k—~3.2kAutomated safety check: PassMIT
Cashclaw Invoicerertugrulakben/cashclaw303—~2.5kAutomated safety check: PassMIT
Using Stripe CLIbitwarden/ai-plugins155—~3.7kAutomated safety check: PassCustom licence
Trace A Paymentsuperset-sh/superset15k—~1.5kAutomated safety check: PassCustom licence
Stripe Patternsbybren-llc/safe-agentic-workflow423—~1.2kAutomated safety check: PassMIT

Similar skills

  • Metronome

    fcakyon/claude-codex-settings

    Guides Metronome usage-based billing integration decisions — event ingestion (single and batch, idempotency, billable metrics), contract design (rate cards, overrides, dimensional pricing…

    1.2k GitHub stars~3.2k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Cashclaw Invoicer

    ertugrulakben/cashclaw

    Handles invoice creation, payment link generation, payment status tracking, and automated reminders via Stripe API.

    303 GitHub stars~2.5k tokensUpdated 4 days ago
    Documents & OfficeAuto-check passed
  • Using Stripe CLI

    bitwarden/ai-plugins

    Official

    Query read-only Stripe test-mode data and advance an already-attached test clock.

    155 GitHub stars~3.7k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Trace A Payment

    superset-sh/superset

    Answer a question about money that already moved in Stripe — why a charge failed, what a customer was billed, where an invoice or payout stands — by reading the object chain instead of guessing from…

    15k GitHub stars~1.5k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Stripe Patterns

    bybren-llc/safe-agentic-workflow

    Stripe payment integration patterns for checkout flows, webhooks, and subscriptions.

    423 GitHub stars~1.2k tokensUpdated 2 mo ago
    Backend & APIsAuto-check passed
  • Int Stripe

    evolution-foundation/evo-nexus

    Query and manage Stripe data via the Stripe API. An agent skill from evolution-foundation/evo-nexus.

    545 GitHub stars~720 tokensUpdated 5 mo ago
    Documents & OfficeAuto-check passed

More from fossasia/eventyay

All 21 skills in this repo
  • Stripe Projects

    fossasia/eventyay

    A skill your agent uses when the user wants to provision infrastructure or third-party services using Stripe Projects.

    1.7k GitHub starsUsed in 5 repos~2k tokens
    Auto-check: notes
  • Stripe Apps

    fossasia/eventyay

    A skill your agent uses when building, modifying, or reviewing a Stripe App — or when the user describes something that implies one (e.g.

    1.7k GitHub starsUsed in 1 repo~3.6k tokens
    Auto-check passed
  • Connect Recommend

    fossasia/eventyay

    A skill your agent uses when the user asks about Stripe Connect configuration, charge patterns, Dashboard access, or how to get started with Connect, is building a marketplace, platform…

    1.7k GitHub starsUsed in 1 repo~5.9k tokens
    Auto-check: warnings
  • Django Run Locally

    fossasia/eventyay

    Steps for initiating the Django development server without Docker

    1.7k GitHub stars~411 tokensUpdated today
    Auto-check passed
  • Docker Deployment

    fossasia/eventyay

    Docker Compose, container services, deployment. An agent skill from fossasia/eventyay.

    1.7k GitHub stars~574 tokensUpdated today
    Auto-check: notes
  • Stripe Best Practices

    fossasia/eventyay

    Guides Stripe integration decisions across development and test environment planning (separate sandboxes vs the shared test mode sandbox), API selection (Checkout Sessions vs PaymentIntents)…

    1.7k GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed

Works with

Questions about Metronome

What does Metronome do?

Guides Metronome usage-based billing integration decisions — event ingestion (single and batch, idempotency, billable metrics), contract design (rate cards, overrides, dimensional pricing…. Metronome is an agent skill from fossasia/eventyay. 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).

When should I use Metronome?

Metronome fits situations like: reviewing any Metronome integration — including ingesting usage events; creating contracts; managing credits and commits; configuring invoicing.

How do I install Metronome in Claude Code?

Run `npx skills add fossasia/eventyay --skill metronome -a claude-code`. Or copy the skill folder (.agents/skills/metronome in fossasia/eventyay) into .claude/skills/metronome in your project. Claude Code loads it when a task matches its description.

How do I install Metronome in Codex?

Run `npx skills add fossasia/eventyay --skill metronome -a codex`. Or copy the skill folder (.agents/skills/metronome in fossasia/eventyay) into .agents/skills/metronome in your project. Codex loads it when a task matches its description.

Can I use Metronome in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add fossasia/eventyay --skill metronome -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/metronome, .gemini/skills/metronome, .github/skills/metronome and .opencode/skills/metronome in your project.

What does Metronome need to run?

SKILL.md names no scripts, command-line tools or credentials: Metronome is instructions for the agent only.

Does Metronome access the network?

SKILL.md names 3 domains. In commands or code: api.metronome.com; the agent is likely to contact it when it follows the instructions. As links in the text: docs.metronome.com and docs.stripe.com. This is read from the text; nothing was executed.

Is Metronome safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Metronome use?

Metronome is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Metronome use?

About 2.3k tokens (SKILL.md is roughly 9.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Metronome?

Skills that share tags, products or a category with Metronome: Metronome (fcakyon/claude-codex-settings, 1.2k stars), Cashclaw Invoicer (ertugrulakben/cashclaw, 303 stars), Using Stripe CLI (bitwarden/ai-plugins, 155 stars) and Trace A Payment (superset-sh/superset, 15k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Metronome?

fossasia (a GitHub organization) maintains it in fossasia/eventyay, which has 1,702 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on October 9, 2026.

Source: fossasia/eventyay on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.