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 medy-gribkov/arcana --skill stripe-paymentsgit clone --depth 1 https://github.com/medy-gribkov/arcanaWrote 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/medy-gribkov/arcana/stripe-payments)<a href="https://agentmods.dev/skills/medy-gribkov/arcana/stripe-payments"><img src="https://agentmods.dev/badge/skills/medy-gribkov/arcana/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/medy-gribkov/arcana/stripe-payments"><img src="https://agentmods.dev/badge/skills/medy-gribkov/arcana/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.00025 | $0.02343 |
| Opus 5 | $0.00013 | $0.01171 |
| Sonnet 5 | $0.00005 | $0.00469 |
| Haiku 4.5 | $0.00003 | $0.00234 |
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 9d 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 — 315 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Stripe Payments Integration
Secure payment flows with webhook handling, idempotency, and SCA support.
Checkout Sessions
BAD: Client-side price, no idempotency
// ❌ Trusting client data, XSS risk
app.post('/checkout', async (req, res) => {
const { priceId, amount } = req.body; // Never trust client
const session = await stripe.checkout.sessions.create({
line_items: [{ price: priceId, quantity: 1 }],
success_url: req.body.successUrl, // XSS risk
});
res.json({ url: session.url });
});
GOOD: Server-side price lookup, idempotency, metadata
import Stripe from 'stripe';
const stripe = new Stripe(process.env.STRIPE_SECRET_KEY!, {
apiVersion: '2024-12-18.acacia',
});
app.post('/checkout', async (req, res) => {
const { productId, userId } = req.body;
const prices = await stripe.prices.list({ product: productId, active: true });
if (!prices.data.length) return res.status(400).json({ error: 'Invalid product' });
const session = await stripe.checkout.sessions.create({
line_items: [{ price: prices.data[0].id, quantity: 1 }],
mode: 'payment',
success_url: `${process.env.BASE_URL}/success?session_id={CHECKOUT_SESSION_ID}`,
cancel_url: `${process.env.BASE_URL}/cancel`,
metadata: { userId, productId },
}, {
idempotencyKey: `checkout_${userId}_${productId}_${Date.now()}`,
});
res.json({ url: session.url });
});
Payment Intents with SCA
BAD: Deprecated Charges API, no 3D Secure
// ❌ Deprecated, no SCA support
app.post('/charge', async (req, res) => {
await stripe.charges.create({
amount: req.body.amount,
source: req.body.token, // Deprecated
});
});
GOOD: Payment Intent with automatic SCA, React Elements
// Server-side
app.post('/payment-intent', async (req, res) => {
const order = await db.orders.findUnique({ where: { id: req.body.orderId } });
if (!order) return res.status(404).json({ error: 'Order not found' });
const paymentIntent = await stripe.paymentIntents.create({
amount: order.totalCents,
currency: 'usd',
automatic_payment_methods: { enabled: true },
metadata: { orderId: order.id },
}, { idempotencyKey: `pi_${order.id}` });
res.json({ clientSecret: paymentIntent.client_secret });
});
// Client-side React
import { Elements, PaymentElement, useStripe, useElements } from '@stripe/react-stripe-js';
function CheckoutForm() {
const stripe = useStripe();
const elements = useElements();
return (
<form onSubmit={async (e) => {
e.preventDefault();
if (!stripe || !elements) return;
await stripe.confirmPayment({
elements,
confirmParams: { return_url: `${window.location.origin}/complete` },
});
}}>
<PaymentElement />
<button disabled={!stripe}>Pay</button>
</form>
);
}
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.
- 9d ago First seen · 315 lines · 25 tokens per session scan A c61c55234e00
stripe-payments is a skill published in the GitHub repository medy-gribkov/arcana (1 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 25 tokens to every session and 2,343 once invoked, about $0.0001 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-09-03.
Other skills, from other repositories
api-commerce-stripe
Stripe payment processing — Checkout Sessions, Payment Intents, subscriptions, webhooks, Connect, customer management, error handling.
pool-manager
Gestion de pools de sous-agents pré-instanciés pour performance et réutilisation. Se déclenche avec "pool agent", "agent pool", "pool de sous-agents", "pre-allocated agents", "agent reuse", "warm agents", "agent cache", "worker pool agents". Couvre sizing, checkout/checkin, state reset, health monitoring, auto-scaling…
business-plan
Write comprehensive business plans — executive summary, market analysis, financial projections, and competitive positioning.
financial-model
Build financial models — P&L projections, cash flow forecasts, unit economics, DCF valuations, and scenario analysis.
stripe-integration
Integrate Stripe payments — Checkout, Payment Intents, subscriptions, webhooks, and billing portal.
invoice-creator
Generate professional PDF invoices with line items, taxes, discounts, payment terms, and company branding.