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 Lonsdale201/wp-agent-skills --skill wc-stripe-subscriptionsgit clone --depth 1 https://github.com/Lonsdale201/wp-agent-skillsWrote 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/lonsdale201/wp-agent-skills/wc-stripe-subscriptions)<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/wc-stripe-subscriptions"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/wc-stripe-subscriptions/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/lonsdale201/wp-agent-skills/wc-stripe-subscriptions"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/wc-stripe-subscriptions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00132 | $0.02827 |
| Opus 5 | $0.00066 | $0.01413 |
| Sonnet 5 | $0.00026 | $0.00565 |
| Haiku 4.5 | $0.00013 | $0.00283 |
Grade A, and why
wc-stripe-subscriptions 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 2d 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 — 216 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Stripe and WooCommerce Subscriptions
Use this for the boundary between Stripe's token/intent model and WCS's subscription, renewal-order, and payment-method-change model. A Woo token alone is not enough: renewals also depend on the subscription gateway and Stripe metadata.
Runtime contract
Stripe initializes Subscriptions support only when WC_Subscriptions and WC_Subscription are loaded. The main stripe gateway advertises:
subscriptions, cancellation, suspension, reactivation- amount/date changes
- customer/admin payment-method changes
- multiple subscriptions
It does not advertise gateway_scheduled_payments. Therefore WCS schedules renewals, creates renewal orders, and dispatches the Stripe gateway hook. Do not create a second Stripe renewal cron.
Stripe 10.9 uses an internal shared hook manager so the main gateway and lazily created Optimized Checkout method do not register the same subscription callbacks twice. Do not instantiate Stripe gateway/payment-method classes merely to obtain their hooks, and do not call the internal hook manager as an extension API. Observe the public Woo/WCS/Stripe hooks instead.
Reusable Stripe sub-gateways may have different IDs and capabilities. Ask the actual gateway object:
$gateway = wc_get_payment_gateway_by_order( $subscription );
if ( $gateway && $subscription->payment_method_supports( 'subscriptions' ) ) {
// The stored gateway is available for automatic WCS renewals.
}
Do not infer support from a stripe_ prefix alone.
Automatic renewal flow
- WCS runs
woocommerce_scheduled_subscription_paymentfor the subscription. - WCS creates a renewal order and copies the recurring payment context.
- WCS dispatches
woocommerce_scheduled_subscription_payment_{gateway_id}with amount and renewal order. - Stripe registers
scheduled_subscription_payment()for each supported Stripe gateway and charges off-session. - Success completes the renewal order; WCS records renewal success and reactivates/advances the subscription.
- Failure follows WCS failure/retry handling; SCA can require customer authentication.
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.
- 2d ago Changed · -2 lines b32533e4de86
- 9d ago First seen · 218 lines · 132 tokens per session scan A 0f0c9d432088
wc-stripe-subscriptions is a skill published in the GitHub repository Lonsdale201/wp-agent-skills (22 stars, last pushed 2d ago), licensed MIT. It adds 132 tokens to every session and 2,827 once invoked, about $0.0007 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
commerce-app-business-config
Manage custom business configuration in an Adobe Commerce app. Use when the user wants to add, modify, or remove merchant-configurable settings (config fields, admin config, store configuration) exposed through Commerce Admin. Creates typed config fields (text, password, email, url, tel, boolean, list) in…
muapi-amazon-product-listing
Generate a complete Amazon product listing image set — hero image, lifestyle shot, infographic with features, and comparison/detail closeups optimized for Amazon standards.
muapi-multi-angle-shots
Generate a complete set of multi-angle product shots — front, side, back, top-down, and 45-degree perspective — for comprehensive product visualization.
menu-engineer
Optimize menu pricing, placement, and item mix to maximize profitability. Uses menu engineering frameworks to analyze item performance by popularity and margin, then recommends pricing tweaks, repositioning, and removals.
price-scout
Track and compare supplier prices across multiple vendors to reduce COGS. Monitors price changes, identifies savings opportunities, calculates total cost of ownership (including delivery fees and minimums), and generates renegotiation briefs.
table-manager
Optimize table turns, manage reservations, and reduce wait times to maximize revenue per seat. Handles booking intake, table assignment strategy, waitlist management, and provides actionable insights for seating efficiency.