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 agentmods add skills/monkilabs/opencastle/stripenpx skills add monkilabs/opencastle --skill stripegit clone --depth 1 https://github.com/monkilabs/opencastleWrote 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/monkilabs/opencastle/stripe)<a href="https://agentmods.dev/skills/monkilabs/opencastle/stripe"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/stripe.svg" alt="Measured on agentmods" 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 | $0.00053 | $0.00649 |
| Opus 5 | $0.00026 | $0.00324 |
| Sonnet 5 | $0.00011 | $0.00130 |
| Haiku 4.5 | $0.00005 | $0.00065 |
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 5d 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 — 33 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Stripe Payments
Latest API version: 2026-03-25.dahlia. Pin it explicitly on the client unless told otherwise.
Never use
Charges API, Sources API, Tokens API, legacy Card Element, Payment Element in card-only mode, the deprecated plan object (use Prices), Connect legacy type: 'express' | 'custom' | 'standard', v1 Treasury for new integrations.
API selection
- On-session payments and subscriptions: Checkout Sessions. Off-session, or when checkout state is modeled independently: PaymentIntents. Saving a payment method: SetupIntents.
- Preference order: Payment Links → Checkout → Payment Element. Back Payment Element with Checkout Sessions
ui_mode: 'custom'rather than raw PaymentIntents. - Enable dynamic payment methods in the Dashboard instead of passing
payment_method_types. - New Connect platforms:
POST /v2/core/accounts, configured viacontroller.losses.payments,controller.fees.payer,controller.stripe_dashboard.type,controller.requirement_collection. Destination charges; never mix charge types. Use Stripe-hosted onboarding. - Embedded financial accounts:
POST /v2/core/vault/financial_accounts.
Gotchas
- Verify webhook signatures against the raw request body (
await request.text()) — a parsed JSON body fails verification. - Restricted keys (
rk_) over secret keys (sk_); neither ever ships client-side (use ephemeral keys). Always passstatein Connect OAuth. - Stripe.js is evergreen, biannual, and hard-paired to its API version — no override:
https://js.stripe.com/dahlia/stripe.js. Java/Go/.NET SDKs also fix the version to the release; bump the package instead of settingapiVersion. - Store Stripe object IDs in columns accommodating 255 chars with case-sensitive collation.
- Breaking changes to grep for:
paymentIntent.chargesremoved 2022-11-15 →stripe.charges.retrieve(pi.latest_charge);invoice.lines.data→stripe.invoices.listLineItems()2023-08-16. - Test locally with
stripe listen --forward-to localhost:3000/api/webhooksandstripe trigger <event> --api-version 2026-03-25.dahlia; probe a new version with theStripe-Versionheader before promoting it to default. stripe plugin install projectsthenstripe projects initwritesstripe-project.jsonand a.stripe/directory of local skills — prefer those local skills afterwards.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 5d ago First seen · 33 lines · 53 tokens per session scan A 477c67208b76
stripe-payments is a skill published in the GitHub repository monkilabs/opencastle (61 stars, last pushed 7d ago), licensed MIT. It adds 53 tokens to every session and 649 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-30.
Other skills, from other repositories
floe-guard
Know what every AI call really costs — floe-guard meters STT + TTS + LLM + telephony per call (Pipecat, LiveKit — Python & TypeScript), keeps a live ledger of real spend, and hard-stops the next turn before it crosses a USD ceiling. Free Coverage Score + 7-day history on connect. Use when an agent's spend must be seen…
product-architect
Complete product development system with 80 agents and 36 frameworks. Use when the user wants to build a product, write a PRD, plan an MVP or roadmap, design an app, research a market or check whether a feature already exists or is novel, do competitive analysis, run a security audit, build a financial model, plan…
fixed-assets-advisor
Multi-jurisdiction fixed assets, depreciation, and impairment reference framework covering PP&E, intangibles, right-of-use assets, and goodwill under US GAAP and IFRS.
procure-to-pay-advisor
Multi-jurisdiction procure-to-pay accounting reference covering PO matching, AP accruals, vendor management, and related compliance.
business-combinations-advisor
Multi-jurisdiction business combinations reference framework covering acquisition accounting, purchase price allocation, goodwill, and post-combination integration under ASC 805 and IFRS 3.
accounting-maestro
Route accounting questions to the narrowest specialist in the catalog. Use when you do not already know the specialist needed. Not for direct accounting answers; Maestro classifies, dispatches, and synthesizes only. Dispatches single agent for focused tasks, parallel team (max 3) for multi-domain tasks. Never…