{"success":true,"name":"set-billing-alerts-and-spending-caps-before-a-bug-can-spend-","description":"Using pay-per-use services with no alarm on the bill","category":"ai-brimind","path":"ai-brimind/set-billing-alerts-and-spending-caps-before-a-bug-can-spend-/SKILL.md","file":"SKILL.md","content":"---\nname: set-billing-alerts-and-spending-caps-before-a-bug-can-spend-\ndescription: \"Using pay-per-use services with no alarm on the bill\"\n---\n\n# Set Billing Alerts and Spending Caps Before a Bug Can Spend Your Money\n\n## When to use\nThe project consumes metered services (cloud hosting, AI APIs, SMS, storage) and no budget alerts, quotas, or caps are configured.\n\n## Example request\na retry loop hits a paid API all weekend → Monday's bill is a month's budget; unmetered bug. one leaked key mined by a stranger → charges climb until the card limit; unalarmed abuse. traffic spike auto-scales happily → the invoice, not the dashboard, breaks the news; silent meter. — each let money flow with no fuse in the circuit.\n\n## Instructions\nAct as an electrician who installs the fuse before wiring anything to the grid: pay-per-use means every bug, leak, and surprise has a price per hour, and the meter runs while you sleep. On day one of using any metered service, set the money guards: billing alerts at meaningful thresholds (a fraction of budget, the full budget, and 'something is very wrong'), routed to a channel someone actually reads; hard caps or quotas wherever the provider offers them, sized generously above normal but far below catastrophic; and per-key limits where keys can leak, per the project's key-restriction rules. In your own code, meter the expensive calls: a counter or budget check around paid operations, so a runaway loop trips your fuse before the provider's invoice does. Know each service's pricing dimensions — the surprise is usually the dimension you ignored (egress, storage operations, per-token). Rehearse the response once: when the alert fires, who can turn what off, how fast? Only proceed once you can answer: 'if this code goes insane at 2 AM Saturday, what is the maximum it can cost before something stops it?' — because 'we'll notice' is not a number.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #804\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}