Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Ampli-Group/agentic-mobile-blueprint --skill stripe-paymentsgit clone --depth 1 https://github.com/Ampli-Group/agentic-mobile-blueprintWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ampli-group/agentic-mobile-blueprint/stripe-payments)<a href="https://agentmods.dev/skills/ampli-group/agentic-mobile-blueprint/stripe-payments"><img src="https://agentmods.dev/badge/skills/ampli-group/agentic-mobile-blueprint/stripe-payments/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ampli-group/agentic-mobile-blueprint/stripe-payments"><img src="https://agentmods.dev/badge/skills/ampli-group/agentic-mobile-blueprint/stripe-payments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00053 | $0.02069 |
| Opus 5 | $0.00026 | $0.01035 |
| Sonnet 5 | $0.00011 | $0.00414 |
| Haiku 4.5 | $0.00005 | $0.00207 |
Grade A, and why
stripe-payments scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 273 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Stripe Payments
Stack
- Stripe SDK (server-side): Supabase Edge Functions handle all Stripe API calls
- Stripe.js (client-side): Frontend and mobile use Stripe's hosted checkout or
@stripe/stripe-react-native - Webhooks: Stripe → Edge Function → Supabase DB (source of truth for subscription state)
Never put the Stripe secret key in frontend or mobile code. Only the publishable key goes client-side.
Setup
Install dependencies
# Frontend
cd frontend && npm install @stripe/stripe-js @stripe/react-stripe-js
# Mobile
cd mobile && npx expo install @stripe/stripe-react-native
Environment variables
# supabase/functions/.env.local
STRIPE_SECRET_KEY=sk_test_...
STRIPE_WEBHOOK_SECRET=whsec_...
# frontend/.env.local
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_...
# mobile/.env.local
EXPO_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_...
Get keys from dashboard.stripe.com/test/apikeys.
Products and Prices
Create products in the Stripe dashboard or via CLI. Products represent what you sell; prices represent how much and how often.
Stripe Dashboard (manual, recommended for first setup)
- dashboard.stripe.com/products → Add product
- Fill in name, description, image
- Add pricing:
- One-time: flat amount
- Recurring: monthly/annual, amount
- Copy the Price ID (
price_...) — you'll reference this in code
Via Stripe CLI (scriptable)
stripe products create --name="Pro Plan" --description="Full access"
stripe prices create \
--product=prod_xxx \
--unit-amount=999 \
--currency=usd \
--recurring[interval]=month
Edge Function: Create Checkout Session
// supabase/functions/create-checkout/index.ts
import Stripe from "npm:stripe@14";
import { createClient } from "npm:@supabase/supabase-js@2";
const stripe = new Stripe(Deno.env.get("STRIPE_SECRET_KEY")!);
Deno.serve(async (req) => {
const { priceId, userId, returnUrl } = await req.json();
const session = await stripe.checkout.sessions.create({
mode: "subscription", // or "payment" for one-time
line_items: [{ price: priceId, quantity: 1 }],
success_url: `${returnUrl}?session_id={CHECKOUT_SESSION_ID}`,
cancel_url: returnUrl,
metadata: { userId }, // passed back in webhook
allow_promotion_codes: true,
billing_address_collection: "auto",
});
return new Response(JSON.stringify({ url: session.url }));
});
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 273 lines · 53 tokens per session scan A e93bbcc5785a
stripe-payments is a skill published in the GitHub repository Ampli-Group/agentic-mobile-blueprint (4 stars, last pushed 1mo ago), licensed MIT. It adds 53 tokens to every session and 2,069 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
Braintree Automation
Braintree Automation: manage payment processing via Stripe-compatible tools for customers, subscriptions, payment methods, and transactions.
dpf-add-archetype
Use when adding a new business archetype, industry, or vertical the DPF storefront taxonomy does not yet cover.
lemon-squeezy
Lemon Squeezy simplifies global tax compliance and recurring billing. The official @lemonsqueezy/lemonsqueezy.js SDK handles interactions cleanly.
paddle
Paddle acts as a Merchant of Record, meaning they handle sales tax (VAT, GST) calculations and remittance for you. Use the @paddle/paddle-node SDK to manage subscriptions and invoices.
stripe
Stripe provides APIs for payment processing, billing, subscriptions, and financial management. This skill focuses on the Stripe Node.js and Python SDKs, emphasizing PCI-compliant flows like Checkout Sessions and Webhook signatures.
braintree
Braintree (by PayPal) provides enterprise payment processing accepting Credit Cards, PayPal, Venmo, Apple Pay, and Google Pay with PCI-compliant Hosted Fields and Drop-in UI.