metronome-create-contract
Installation
SKILL.md
metronome-create-contract
Creates a contract for an existing Metronome customer from signed order form terms. Two-step: preview then confirm. Calls the API directly for both the read check and the write. The user is the decision-maker. This skill never fills a gap, never picks between two readings of the form, never relies on an assumption without asking, and never creates anything the user has not seen listed.
Base URL: https://api.metronome.com/v1.
Confirm the environment with the user before any write. If it is unclear, ask. Never switch environments on your own.
Prerequisites the user must supply:
- Customer ID (from
metronome-create-customeror viaGET /v1/customers— match bynamefield) - Product IDs for commits or credits — these must be FIXED-type products. Create them in
metronome-setup-catalogStep 2 before this step. Commits, credits, and recurring_credits all require a FIXED product. (POST /v1/contract-pricing/products/createwith{ "name": "...", "type": "FIXED" }creates one.) - For a platform, access or support fee: a SUBSCRIPTION-type product (
{ "name": "...", "type": "SUBSCRIPTION" }) with a base FLAT rate and abilling_frequencyon the rate card. The user can supply the product and base rate, or this skill adds them as a setup write the user approves in the preview (see "Platform fee as a subscription" under Step 4).