{"uid":"cap_QRVdvIJoDkHQ28JQ-5oS_","slug":"aiskills402-spend-cap-review-fe9d6246","name":"AISkills402: Spend Cap Review","description":"Spend Cap Review: Do Cost Limits Really Stop? — Reviews pasted code and configuration that spends money (paid AI or API calls, purchases, paid lookups, anything billed per use) and checks whether the limit on that spending really stands in the way of the spending. It flags a cap that sits beside the path instead of on it (a gateway limit while a script calls the provider directly, a counter only in the browser), a missing setting that means no limit, an alert or a budget email used as the prote…","url":"https://api.aiskills402.com/v1/skills/spend-guard-review/file?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"file":{"name":"SKILL.md","content":"<the SKILL.md file>","encoding":"utf-8"},"name":"Spend Cap Review: Do Cost Limits Really Stop?","skill":"spend-guard-review","sha256":"<sha256 of SKILL.md>","receipt":{"tx":"0x<settlement transaction>","settled":true},"version":"1.0.0","redownload":{"url":"<api>/v1/purchases/<token>","token":"<64 hex chars>"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XFy2m21tStQsoOVjoWRcN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Reviews pasted code and configuration to verify whether spending limits (for paid AI, API calls, or billed usage) actually block spending, or merely sit beside the execution path.","exampleAgentPrompt":"Can you review this code and config and tell me whether my $50/month OpenAI spend cap will actually stop API calls from going through, or if it's just sitting beside the execution path without blocking anything?","exampleUseCases":[{"title":"Validate AI API budget enforcement","prompt":"I've set a spend limit on my OpenAI account and added a counter in the frontend — can you review this code and tell me if either of those controls will actually stop spending if I hit the cap, or if they can be bypassed?"},{"title":"Audit gateway limit vs direct provider calls","prompt":"My infrastructure uses a gateway with a rate limit, but some scripts call the AI provider directly. Can you look at this config and code and flag whether the gateway spend cap actually covers all the paths where money gets spent?"},{"title":"Check if budget alert doubles as a hard stop","prompt":"I have a budget alert email set up that fires at $100, but I'm not sure if it actually halts spending or just notifies me after the fact. Can you review my setup and tell me if that alert is my real protection or just a warning?"}],"resultDescription":"A SKILL.md file containing a structured spend-cap review: flagged issues where cost limits sit beside rather than on the execution path, missing cap settings, alerts or emails used as the sole control, browser-only counters, and any configuration gaps that would allow spending to continue past the stated limit. Returned with a redownload token and settlement receipt.","failureModes":["No code or configuration provided — review cannot proceed without paste-able input","Input too large or malformed — request rejected or truncated analysis","Payment not settled — x402 payment required at $0.03 USDC before file is delivered","Network timeout — retry with backoff","SHA256 mismatch on returned file — redownload via the provided redownload URL"],"whenToPreferThis":"Choose this endpoint when you need a semantic, reasoning-based audit of whether a cost cap is architecturally effective — not just syntactically present. It is distinct from linters or static analysis tools because it reasons about execution paths, provider call routing, and whether the limiting control is actually interposed between the spender and the billing event. Best for code + config reviews involving paid AI APIs, cloud billing controls, or per-use billed services.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:43:43.546Z","isFirstParty":false,"canonicalSlug":"aiskills402-spend-cap-review-fe9d6246"}