‹ Back to apps
revenue-skills
Agent skills that find and fix the bugs that cost an app money: a money-path audit that quotes the code and attaches a proof to every finding, plus builder skills for ledgers, webhooks, credits, subscriptions, refunds, referrals and payouts.
What’s inside
11 skills- Skilladd-offerwallAdd an offerwall to a website, app, game, bot or community so users earn the app's own currency. Builds the wall link or iframe URL on the server for the signed-in user, a postback endpoint that verifies the network's hash, credits each transaction id once, computes the reward on the server and takes it back once on a reversal, and a hold before fresh earnings can be withdrawn. Covers Next.js with Prisma, Express, Django, Laravel and Rails. Use when the user asks to add or integrate an offerwall, survey wall or rewarded offers, to handle or fix a postback or S2S callback, or reports double credits, fake credits or chargebacks from an offer network.
- Skilladd-payoutsBuild withdrawals as a state machine. The funds are taken from the balance before the provider is called, the call carries an idempotency key, a timeout is resolved by asking the provider and never by sending again, and a failure returns the funds once. Adds a minimum, daily limits, a hold on fresh earnings, an earned-only withdrawable balance, a cool-down after a destination change, a review queue and reconciliation with the provider. Covers Next.js with Prisma, Express, Django, Laravel and Rails. Use when the user asks to add payouts, withdrawals, cash-out, redemptions or gift card rewards, or to fix double payouts, lost refunds or missing payout limits.
- Skilladd-referral-programBuild a referral program whose rewards are paid once, after a verified qualifying event, and taken back when that event is reversed. Codes and attribution are fixed at sign-up, self-referrals and second accounts of the same person are held back, one reward per referred account is enforced by a unique key, and referrers see what is pending. Covers a one-time bonus and a percentage of earnings, with caps. Covers Next.js with Prisma, Express, Django, Laravel and Rails. Use when the user asks to add referrals, invite a friend, refer and earn, invite codes or an affiliate bonus for users, or to stop referral farming and self-referrals.
- Skilladd-subscriptionsBuild subscription access that follows the provider's state, not the client. Entitlements are derived on the server from the subscription the provider reports, through the whole life cycle (trial, active, past due with retries and grace, cancel at period end or now, pause, resume, upgrade, downgrade, refund, chargeback, revocation), with events handled once and in any order, one entitlement per subscription, credits per paid period granted once, one trial per person, and a reconciliation job against the provider. Covers Stripe Billing, the App Store Server Notifications V2 and Server API, Google Play RTDN and subscriptionsv2, Paddle Billing and RevenueCat, with patterns for Next.js, Express, Django, Laravel and Rails. Use when the user asks to add a subscription, a paid plan, a premium tier or a membership, gate features behind a plan, handle renewals, failed payments, grace periods or cancellations, or fix users who keep access after canceling, lose it after paying, or get monthly credits twice.
- Skilladd-usage-creditsBuild prepaid usage credits for metered features such as AI generations, LLM calls, API calls or exports. Credits are granted from verified purchases and plan renewals, spent per unit of work at a server-side price, and reserved, committed and released for work whose cost is known only afterwards, with expiry and a balance the user can read. Covers AI credits priced from LLM token usage (input, cached, output and reasoning tokens) with a versioned price table, streamed responses from OpenAI, Anthropic and Google Gemini, and budgets for multi-step agent runs, with patterns for Next.js with Prisma, Express, Django, Laravel and Rails. Use when the user asks to add credits, tokens or a usage quota, sell AI credits, charge per generation, per LLM token or per API call, meter AI or agent usage, stop users from running work with an empty balance, or fix credits that are charged twice or not returned when a job or stream fails.
- Skillbuild-ledgerBuild an append-only ledger with a cached balance for points, credits, coins or wallet money. One row per balance change, a unique (kind, reference) key that makes a repeated event harmless, debits that cannot overdraw, and a scheduled reconciliation check. Covers Next.js with Prisma, Express, Django, Laravel and Rails. Use when the user asks to add a balance, wallet, credits or points system, wants transaction history or an audit trail, needs to stop double credits or double spending, or has an app with only a balance column and wants to migrate it to a ledger.
- Skillbuild-webhook-endpointBuild an endpoint that receives signed server-to-server events, such as payment webhooks, app store server notifications and affiliate or offerwall postbacks. It verifies the signature over the raw body, or the hash over named query parameters, refuses replays, compares amount and currency with the app's own order, and applies each event exactly once before it answers 2xx. Includes checked notes for Stripe, Paddle, Lemon Squeezy, PayPal, RevenueCat, App Store Server Notifications V2 and Google Play real-time developer notifications, and route patterns for Next.js, Express, Django, Laravel and Rails. Use when the user asks to add or fix a webhook handler or a postback URL, verify a webhook signature (Stripe-Signature, Paddle-Signature, X-Signature, PayPal transmission headers, a signed JWS or a Pub/Sub token), stop forged or duplicate credits, handle provider retries and out-of-order events, or rotate a webhook secret.
- Skilldesign-reward-economyDesign and check the numbers behind a rewards currency. Covers coins per dollar, the share of each conversion paid to users, bonus budgets (sign-up, daily, streak, referral, promo codes), the payout minimum and fees, and hold periods sized to how late reversals arrive. Its script reads the economy as JSON and reports margin, effective payout share, break-even points and every violated rule. Use when the user asks how many coins or points per dollar, what user share to pay, how large a bonus can be, what payout threshold or hold to set, or whether a rewards app pays out more than it earns.
- Skillguard-signupsBuild sign-up screening and once-only redemption rules that keep sign-up bonuses, free trials, promo codes and referral rewards from being farmed by fake and duplicate accounts. Covers normalized emails, disposable domains, datacenter and Tor addresses, velocity limits, an explainable allow, review or block score, and atomic promo caps. Covers Next.js with Prisma, Express, Django, Laravel and Rails. Use when the user wants to stop fake sign-ups, multi-accounting, bonus or trial abuse, promo code farming, or duplicate accounts made with Gmail dots and plus tags.
- Skillhandle-refunds-and-reversalsMake refunds, chargebacks, disputes and reversed conversions take back what the original event granted, exactly once. Covers credits, entitlements, items and dependent rewards such as referral commission, partial refunds, balances that are already spent, the dispute life cycle, and a reversal that arrives before its original. Maps the refund, dispute and revocation events of Stripe, Paddle, Lemon Squeezy, PayPal, RevenueCat, the App Store and Google Play. Use when the user says refunded customers keep their credits or access, asks to handle refund or dispute webhooks (such as charge.refunded, charge.dispute.created, adjustment.created, order_refunded, PAYMENT.CAPTURE.REFUNDED, an App Store REFUND or a Google Play voided purchase), chargebacks, clawbacks or reversal postbacks, or wants a rule for negative balances and a report of what was reversed.
- Skillmoney-auditAudit the code paths where an app handles money, credits, points or rewards, and report the bugs that lose money, each with the exact file and line, the quoted code, and a proof (a request, a test or a code trace). Use when the user asks to audit, review or pen-test payments, payment webhooks, postbacks, balances, wallets, credits, coupons, referrals, refunds or payouts, asks whether users can cheat or farm the system, or is about to launch something that charges or pays out. Also use to check one money-handling change before it ships, or one provider integration such as a Stripe, Paddle, Lemon Squeezy, PayPal or RevenueCat webhook, App Store server notifications or Google Play real-time developer notifications.