Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    AI App Cost-Guard & Stripe Compliance Auditor

    2

    Audit AI codebases for API token drain risks and generate legal compliance pages for Stripe and Google OAuth.

    $6.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    AI App Cost-Guard & Stripe Compliance Auditor

    AI App Cost-Guard & Stripe Compliance Auditor

    Example session with this skill installed

    Audit my Next.js app using OpenAI and Stripe. Check for API abuse risks and generate the required compliance pages for Stripe approval.

    • Read your context and instructions
    • Compiled the ai app cost-guard

    I have completed the audit of your Next.js application. I detected OpenAI integration in /api/chat/route.ts and Stripe webhooks in /api/webhooks/stripe.ts.

    AI Cost & Compliance Audit Report

    CategoryFindingRecommended Action
    Token DrainNo max_tokens cap on /api/generateAdd max_tokens: 1000 to the OpenAI completion call.
    Abuse RiskPublic endpoint lacks per-user rate limitingImplement Upstash or Redis-based middleware for IP throttling.
    Stripe GapMissing explicit Refund Policy for creditsAdd the generated Refund Policy to /public/refunds.
    OAuth RiskNo LLM data disclosure in Privacy PolicyUpdate policy to list OpenAI as a sub-processor.

    Privacy Policy & Data Disclosure

    
    # Privacy Policy
    Last Updated: [DATE]
    
    ## 1. Data Processing
    [COMPANY_NAME] utilizes third-party Artificial Intelligence providers, specifically OpenAI, to process user inputs. 
    
    ## 2. Third-Party Disclosures
    Data sent to AI models is governed by the provider's API terms. We do not use your data to train foundation models.
    
    ## 3. Refund & Cancellation
    Digital credits for AI generation are non-refundable once consumed. Users may cancel their subscription at any time via the billing portal.
    

    Next steps

    1. Copy the Privacy Policy into your /legal or /public folder.
    2. Update [COMPANY_NAME] and [SUPPORT_EMAIL] placeholders.
    3. Apply the max_tokens limit to your OpenAI config in route.ts.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Launching an AI-powered SaaS without proper safeguards often leads to two outcomes: a massive surprise API bill or a rejected Stripe/Google OAuth application. This skill functions as a senior FinOps engineer and compliance specialist to prevent these failures before they occur. It analyzes your codebase to identify financial leaks and missing legal requirements required by payment processors.

    What it does

    • API Cost Auditing identifies unthrottled endpoints, missing token caps, and unbounded history arrays that cause cost spikes.
    • Abuse Prevention provides blueprints for per-user daily quotas and anonymous trial rate-limiting.
    • Stripe/OAuth Readiness checks for mandatory merchant pages like refund policies and credit expiration terms.
    • Compliance Pack Generation creates customized Privacy Policies and TOS based on your specific third-party API data flows.
    • Cost Reduction Logic flags opportunities for prompt caching and model downgrades to reduce overhead.

    How it works

    1. Architecture Scan searches for API patterns, auth logic, and environment variables.
    2. Financial Audit produces a list of specific vulnerabilities where tokens are being wasted or abused.
    3. Requirement Gap Analysis flags missing pages or consent flows needed for payment and OAuth approval.
    4. Document Export generates Markdown legal templates pre-filled with your app's detected data flows.

    Frameworks & tools

    Works with any stack using OpenAI, Anthropic, Gemini, Stripe, Paddle, or LemonSqueezy. Specifically scans for SDKs like @google/genai, stripe-node, and standard fetch patterns.

    Why this beats prompting it yourself

    Generic prompts fail to catch specific code-level risks like unoptimized system prompts or missing middleware in your specific routes. This skill links legal requirements directly to your actual tech stack, ensuring your Privacy Policy discloses the exact LLMs you are using.

    Use cases

    • Auditing a new AI wrapper to prevent a $5,000 "surprise" bill on launch day.
    • Preparing a codebase for Stripe merchant review and Google OAuth production approval.
    • Hardening an app against bot scraping and API credit theft.

    Known limitations

    Requires access to codebase files or a detailed description of the architecture. Generated documents are operational templates and not formal legal representation.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Legal & Compliance.

    Requires codebase access or architecture details. Legal documents are templates only and do not constitute legal advice.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 2 days ago

    Nothing to install. It runs in your AI agent.

    Optional
    Local codebase access (or app description)

    No external API keys, Python scripts, or extra installations required. Works directly with your existing AI coding assistant or chat interface.

    Permissions

    Read Files
    Listed2 days ago

    What's inside

    Frequently Asked Questions

    This skill prevents two common 'launch killers': unexpected API bill spikes caused by inefficient code and application rejections from Stripe or Google due to missing legal disclosures. It identifies where your code is wasting tokens and generates the exact compliance documents required for payment processing.

    The Compliance Auditor is stack-agnostic; it works with any application using OpenAI, Anthropic, Gemini, or major payment providers like Stripe and Paddle. It is specifically optimized to scan for popular SDKs and standard API fetch patterns within your codebase.

    You receive a comprehensive Financial Risk Report identifying cost leaks, a Compliance Gap Analysis for your OAuth/Stripe applications, and a set of customized Markdown legal templates (TOS/Privacy Policy) based on your app's specific data flows.

    While it provides highly accurate templates based on your technical architecture, these are operational documents meant to satisfy platform requirements and should be reviewed by your legal counsel to ensure they meet your specific local regulations.

    No complex installation is required; the skill functions by analyzing your provided code snippets, architecture diagrams, or file structures. It identifies vulnerabilities in your middleware and API routes without needing to be integrated into your production environment.

    The auditor is regularly updated to include the latest compliance requirements from Stripe and Google, as well as new cost-saving features like prompt caching logic for the newest LLM releases.

    New in Legal & Compliance