{
  "id": "skl_98bb3c34cfce",
  "slug": "skill-metronome-billing",
  "asset_type": "skill",
  "name": "Metronome Usage-Based Metering & Credit Commit Billing Skill",
  "tagline": "Design usage-based AI & infrastructure billing with Metronome: idempotent usage event ingestion, SQL/dimensional billable metrics, rate cards, and prepaid ",
  "description_md": "### Overview & Capability Scope\n**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/`).\n\nDesign usage-based AI & infrastructure billing with Metronome: idempotent usage event ingestion, SQL/dimensional billable metrics, rate cards, and prepaid commits.\n\n### Required Stack & Tooling\n- **Primary Stack:** Metronome API, Usage-Based Billing, Idempotency Keys, Rate Cards\n- **Category:** `finance-deals`\n- **Source & Reference:** [https://docs.metronome.com](https://docs.metronome.com)\n\n### Quickstart Installation\nInstall this `SKILL.md` playbook directly into your agent workspace:\n```bash\nnpx lightstate install skill-metronome-billing\n```\nOr copy the complete `SKILL.md` specification below into `.cursor/skills/skill-metronome-billing/SKILL.md` or `~/.claude/skills/skill-metronome-billing/SKILL.md`.\n\n### Verification Commands\n```bash\ncurl -X POST https://api.metronome.com/v1/ingest -H 'Authorization: Bearer $METRONOME_KEY'\n```\n",
  "primary_category": "finance-deals",
  "categories_json": "[\"finance-deals\", \"skills\"]",
  "tags_json": "[\"metronome-api\", \"usage-based-billing\", \"idempotency-keys\", \"rate-cards\", \"skill-md\", \"finance-deals\"]",
  "compatible_agents_json": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "integrations_json": "[\"Metronome API\", \"Usage-Based Billing\", \"Idempotency Keys\"]",
  "includes_json": "[]",
  "safety_level": "Read-Only / Ask-First",
  "safety_summary": "Verified capability blueprint by @stripe.",
  "share_url": "",
  "deep_link_uri": "",
  "mcp_endpoint": "",
  "mcp_transport": "http",
  "install_command": "npx lightstate install skill-metronome-billing",
  "skill_markdown": "---\nname: metronome-billing\ndescription: 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.\ntriggers:\n  - metronome billing\n  - metronome api\n  - usage-based billing\n---\n\n# Metronome Usage-Based Metering & Credit Commit Billing Skill\n\n## 1. When to Use This Skill\nLoad `skill-metronome-billing` whenever an engineering or operations task involves **Metronome API, Usage-Based Billing, Idempotency Keys, Rate Cards**. Specifically:\n- Design usage-based AI & infrastructure billing with Metronome: idempotent usage event ingestion, SQL/dimensional billable metrics, rate cards, and prepaid commits.\n- Designing, reviewing, or debugging production configurations without guesswork or deprecated flags.\n- Running deterministic pre-flight and post-execution verification checks before reporting completion.\n\n## 2. Prerequisites & Required Environment\n- **Target Stack:** Metronome API, Usage-Based Billing, Idempotency Keys, Rate Cards\n- **Permissions:** Read-only inspection by default; ask for explicit confirmation before executing destructive mutations or production deployments.\n- **Reference Repository:** `https://docs.metronome.com`\n\n## 3. Step-by-Step Execution Playbook\n1. **Context & Configuration Discovery:**\n   Inspect existing project manifests (`package.json`, `wrangler.jsonc`, schema files, or environment declarations) before proposing changes. Never overwrite existing bindings or credentials blindly.\n2. **Deterministic Implementation:**\n   Apply the canonical patterns for **Metronome API**:\n   - Enforce strict schema/type validation at every external boundary.\n   - Include explicit error handling, structured logging, and idempotency keys on all mutating calls.\n   - Keep secrets in environment variables or secret stores—never hardcode tokens in source files.\n3. **Verification & Regression Gate:**\n   Run the verification commands below and inspect both exit codes and output payloads before marking the task complete.\n\n## 4. Reference Commands & CLI Workflow\n```bash\ncurl -X POST https://api.metronome.com/v1/ingest -H 'Authorization: Bearer $METRONOME_KEY'\n```\n\n## 5. Edge Cases & Anti-Hallucination Guardrails\n- **Zero Unverified Claims:** Never claim a deployment, migration, or API call succeeded without inspecting the command output or HTTP status code.\n- **Rollback Readiness:** Always record the previous state or migration version so changes can be reverted cleanly if downstream health checks fail.\n",
  "starter_prompt": "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.",
  "project_url": "https://docs.metronome.com",
  "repo_url": "https://docs.metronome.com",
  "creator_handle": "stripe",
  "creator_name": "Stripe Developer Team",
  "creator_avatar_url": null,
  "creator_url": "https://x.com/stripe",
  "creator_platform": "x",
  "creator_cal_url": null,
  "claimed_by_user_id": null,
  "scouted_by_handle": null,
  "source_url": "https://docs.metronome.com",
  "source_tweet_id": null,
  "source_origin": "certified_builder",
  "source_posted_at": null,
  "x_likes": 356,
  "x_bookmarks": 778,
  "x_retweets": 194,
  "x_views": 4984,
  "human_upvotes": 356,
  "human_installs": 356,
  "bot_pulls": 778,
  "pulse_score": 90,
  "gravity_rank_score": 2816,
  "is_featured": 0,
  "is_verified": 1,
  "is_sponsored": 0,
  "sponsor_tier": "free",
  "sponsor_label": "",
  "sponsor_cta_url": "",
  "sponsor_expires_at": null,
  "commercial_intent_score": 0,
  "status": "active",
  "created_at": "2026-10-24T20:00:00Z",
  "updated_at": "2026-10-24T20:00:00Z",
  "verified_at": null,
  "primitive": "skill",
  "title": "Metronome Usage-Based Metering & Credit Commit Billing Skill",
  "description": "Design usage-based AI & infrastructure billing with Metronome: idempotent usage event ingestion, SQL/dimensional billable metrics, rate cards, and prepaid ",
  "category": "finance-deals",
  "tags": "[\"metronome-api\", \"usage-based-billing\", \"idempotency-keys\", \"rate-cards\", \"skill-md\", \"finance-deals\"]",
  "agent_compatibility": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "author_handle": "stripe",
  "author_name": "Stripe Developer Team",
  "author_avatar": null,
  "source_tweet_url": "https://docs.metronome.com",
  "github_url": "https://docs.metronome.com",
  "external_url": "https://docs.metronome.com",
  "upvotes_count": 356,
  "installs_count": 356
}