⚡ Pulse Score 90/100
Metronome Usage-Based Metering & Credit Commit Billing Skill
Design usage-based AI & infrastructure billing with Metronome: idempotent usage event ingestion, SQL/dimensional billable metrics, rate cards, and prepaid
⚡ 1-Click Agent & Developer Install
Zero Auth · Ready for Grok Bot, Claude Code & Cursornpx lightstate install skill-metronome-billing
Copy-Paste System Prompt / Routine Blueprint:
Load the Metronome Usage-Based Metering & Credit Commit Billing Skill (skill-metronome-billing) playbook. First inspect our current configuration and codebase for Metronome API, Usage-Based Billing, Idempotency Keys, Rate Cards. Then propose a concrete, step-by-step implementation plan following the skill-metronome-billing guardrails, run the non-destructive verification commands (curl -X POST https://api.metronome.com/v1/ingest -H 'Authorization: Bearer $METRONOME_KEY'), and summarize any findings, risks, or required environment variables before making production changes.
📘 Complete SKILL.md Playbook Specification
--- name: metronome-billing description: Design usage-based AI & infrastructure billing with Metronome: idempotent usage event ingestion, SQL/dimensional billable metrics, rate cards, and prepaid commits. Use when working with Metronome API, Usage-Based Billing, Idempotency Keys, Rate Cards. triggers: - metronome billing - metronome api - usage-based billing --- # Metronome Usage-Based Metering & Credit Commit Billing Skill ## 1. When to Use This Skill Load `skill-metronome-billing` whenever an engineering or operations task involves **Metronome API, Usage-Based Billing, Idempotency Keys, Rate Cards**. Specifically: - Design usage-based AI & infrastructure billing with Metronome: idempotent usage event ingestion, SQL/dimensional billable metrics, rate cards, and prepaid commits. - Designing, reviewing, or debugging production configurations without guesswork or deprecated flags. - Running deterministic pre-flight and post-execution verification checks before reporting completion. ## 2. Prerequisites & Required Environment - **Target Stack:** Metronome API, Usage-Based Billing, Idempotency Keys, Rate Cards - **Permissions:** Read-only inspection by default; ask for explicit confirmation before executing destructive mutations or production deployments. - **Reference Repository:** `https://docs.metronome.com` ## 3. Step-by-Step Execution Playbook 1. **Context & Configuration Discovery:** Inspect existing project manifests (`package.json`, `wrangler.jsonc`, schema files, or environment declarations) before proposing changes. Never overwrite existing bindings or credentials blindly. 2. **Deterministic Implementation:** Apply the canonical patterns for **Metronome API**: - Enforce strict schema/type validation at every external boundary. - Include explicit error handling, structured logging, and idempotency keys on all mutating calls. - Keep secrets in environment variables or secret stores—never hardcode tokens in source files. 3. **Verification & Regression Gate:** Run the verification commands below and inspect both exit codes and output payloads before marking the task complete. ## 4. Reference Commands & CLI Workflow ```bash curl -X POST https://api.metronome.com/v1/ingest -H 'Authorization: Bearer $METRONOME_KEY' ``` ## 5. Edge Cases & Anti-Hallucination Guardrails - **Zero Unverified Claims:** Never claim a deployment, migration, or API call succeeded without inspecting the command output or HTTP status code. - **Rollback Readiness:** Always record the previous state or migration version so changes can be reverted cleanly if downstream health checks fail.
Synthesized Engineering Blueprint & Setup Guide
### Overview & Capability Scope
**Metronome Usage-Based Metering & Credit Commit Billing Skill** (`skill-metronome-billing`) is a verified, portable `SKILL.md` playbook curated with **@stripe** for Grok Bot (`x.ai/bot/`), Claude Code (`~/.claude/skills/`), and Cursor (`.cursor/skills/`).
Design usage-based AI & infrastructure billing with Metronome: idempotent usage event ingestion, SQL/dimensional billable metrics, rate cards, and prepaid commits.
### Required Stack & Tooling
- **Primary Stack:** Metronome API, Usage-Based Billing, Idempotency Keys, Rate Cards
- **Category:** `finance-deals`
- **Source & Reference:** [https://docs.metronome.com](https://docs.metronome.com)
### Quickstart Installation
Install this `SKILL.md` playbook directly into your agent workspace:
```bash
npx lightstate install skill-metronome-billing
```
Or copy the complete `SKILL.md` specification below into `.cursor/skills/skill-metronome-billing/SKILL.md` or `~/.claude/skills/skill-metronome-billing/SKILL.md`.
### Verification Commands
```bash
curl -X POST https://api.metronome.com/v1/ingest -H 'Authorization: Bearer $METRONOME_KEY'
```
Tags: #metronome-api#usage-based-billing#idempotency-keys#rate-cards#skill-md#finance-deals
✓ CERTIFIED X BUILDER PORTFOLIO
More Capabilities Curated from @stripe
Related Verified Capabilities
Explore Finance & Deals → Grok Template ✓ Claimed
⚡ 89
MCP Server ✓ Claimed
⚡ 87
Stripe Official Agent Toolkit MCP — Payments, Subscriptions & Billing
Agent Skill
⚡ 94
Cloudflare Workers Production Architecture Playbook
Agent Skill
⚡ 93
Wrangler CLI Deployment & Resource Management Playbook
Agent Skill
⚡ 92