{"uid":"cap_wW_9C187ffwSAj4sfp8sF","slug":"bill-spike-finder-7715a449","name":"Bill Spike Finder","description":"Bill Spike Finder: Finds the loops behind a bill spike or an unexpected bill. Reviews a web app's code and config for loops and repeats that run up the bill on their own on Vercel, Turso, Cloudflare Workers and D1 and paid AI APIs. Finds two schedulers on one job, retries without a cap, work that triggers itself, client polling and React render loops, caches cleared on every write, middleware running on every static file, queues that resend failures forever, image settings that multiply transfo…","url":"https://api.aiskills402.com/v1/skills/bill-spike-finder/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":"Bill Spike Finder","skill":"bill-spike-finder","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.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_S-qTU_iaTBnWuB9mtoaK3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes web app code and config to identify loops, retries, and patterns that cause unexpected billing spikes on Vercel, Turso, Cloudflare Workers/D1, and paid AI APIs","exampleAgentPrompt":"My Vercel and Cloudflare Workers bills spiked out of nowhere this month — can you analyze my app's code and config to find any loops, duplicate schedulers, uncapped retries, or self-triggering jobs that might be running up the bill?","exampleUseCases":[{"title":"Diagnosing a Vercel bill spike","prompt":"Our Vercel bill tripled this month and I have no idea why — can you look through our Next.js code and config and find any render loops, middleware running on static files, or anything else that might be causing unnecessary compute?"},{"title":"Cloudflare Workers runaway retry detection","prompt":"Something in our Cloudflare Workers setup keeps retrying failed jobs without any cap and our bill is climbing — can you review the worker code and find any retry loops or queue patterns that are resending failures forever?"},{"title":"AI API cost blowout investigation","prompt":"Our OpenAI API spend went way over budget this week and I think something in our backend is calling it in a loop — can you check the code for any patterns where an AI call triggers itself or gets called in a polling loop?"}],"resultDescription":"Returns a SKILL.md file containing a detailed skill document describing how to identify bill-spike-causing patterns, along with metadata including the skill name, version, SHA256 hash for integrity verification, a payment receipt with settlement transaction hash, and a redownload URL and token for retrieving the file again without paying again.","failureModes":["Payment not settled — x402 payment must complete before skill file is returned","Invalid or missing input headers — request may be rejected with 4xx","Network timeout if the skill delivery service is temporarily unavailable","SHA256 mismatch if file integrity cannot be verified on the client side","Redownload token expiry if the token is used after its validity window"],"whenToPreferThis":"Choose this endpoint when you need structured, expert-curated guidance on diagnosing unexpected bill spikes on modern serverless and edge infrastructure (Vercel, Cloudflare Workers/D1, Turso) or paid AI APIs, and you want a reusable skill document (SKILL.md) that an AI agent can apply repeatedly. Prefer this over generic code review tools when the specific concern is cost runaway due to loops, retries, polling, or self-triggering patterns rather than correctness or security bugs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:36:14.700Z","isFirstParty":false,"canonicalSlug":"bill-spike-finder-7715a449"}