woocommerce-subscriptions

woocommerce-subscriptions is a skill for Claude Code, Codex from finsilabs/awesome-ecommerce-skills. It costs 23 tokens per session (2,980 once invoked), scanned A, original, MIT.

A WooCommerce subscription setup for recurring payments, renewal notices, trials, sign-up fees, plan changes, and subscriber self-service.

In plain words
What is it for?
Use it for SaaS plans, memberships, subscription boxes, upgrades, downgrades, failed-payment handling, and access-controlled content.
Why use it?
It handles the repeating billing cycle and subscription status that one-time product purchases do not provide.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; mentions Gemini CLI; mentions OpenCode.

Good fit Use it for SaaS plans, memberships, subscription boxes, upgrades, downgrades, failed-payment handling, and access-controlled content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/finsilabs/awesome-ecommerce-skills/woocommerce-subscriptions
Install

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.

Any agent
npx skills add finsilabs/awesome-ecommerce-skills --skill woocommerce-subscriptions
Clone the repo
git clone --depth 1 https://github.com/finsilabs/awesome-ecommerce-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for woocommerce-subscriptions

README.md
[![agentmods](https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/woocommerce-subscriptions/github.svg)](https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/woocommerce-subscriptions)
Your own site
<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/woocommerce-subscriptions"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/woocommerce-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.

agentmods 80×15 button for woocommerce-subscriptions

Your own site · 80×15
<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/woocommerce-subscriptions"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/woocommerce-subscriptions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,980 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00023 $0.02980
Opus 5 $0.00012 $0.01490
Sonnet 5 $0.00005 $0.00596
Haiku 4.5 $0.00002 $0.00298

Measured 9d ago against content hash bcd40f1eafa4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

woocommerce-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 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.

skills/platform-woocommerce/woocommerce-subscriptions/SKILL.md · 321 lines

How it starts

The opening of the file, as written. The whole thing — 321 lines — stays where its author put it; the contents beside it link to each section on GitHub.

WooCommerce Subscriptions

Overview

WooCommerce Subscriptions (the official premium plugin) adds subscription product types — simple subscriptions and variable subscriptions — with configurable billing periods (daily, weekly, monthly, yearly), free trials, sign-up fees, and prorated upgrades/downgrades. It integrates with Stripe, PayPal Reference Transactions, and other gateways that support automated recurring billing. Custom logic hooks into the subscription lifecycle via a rich set of WordPress actions and filters.

When to Use This Skill

  • When selling products or services on a recurring billing schedule (SaaS, memberships, box subscriptions)
  • When implementing subscription upgrades, downgrades, or plan switching
  • When building custom renewal logic or adding business rules around failed payment retry
  • When integrating subscription status with access control (e.g., membership site content gates)
  • When extending subscription emails or admin reporting with custom data
  • When creating subscription add-ons or per-unit quantity scaling

Core Instructions

  1. Create a subscription product programmatically

    <?php
    // Create a simple subscription product via code (e.g., in a migration script)
    $product = new WC_Product_Subscription();
    $product->set_name('Monthly Pro Plan');
    $product->set_status('publish');
    $product->set_regular_price('29.99');
    
    // Save first so the product gets an ID
    $product->save();
    
    // Subscription-specific meta (product must be saved before setting post meta)
    update_post_meta($product->get_id(), '_subscription_price', '29.99');
    update_post_meta($product->get_id(), '_subscription_period', 'month');
    update_post_meta($product->get_id(), '_subscription_period_interval', '1');
    update_post_meta($product->get_id(), '_subscription_length', '0'); // 0 = forever
    update_post_meta($product->get_id(), '_subscription_trial_length', '14');
    update_post_meta($product->get_id(), '_subscription_trial_period', 'day');
    update_post_meta($product->get_id(), '_subscription_sign_up_fee', '0');
    

Read the full file on GitHub · 321 lines

Changes

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.

  1. 9d ago First seen · 321 lines · 23 tokens per session scan A bcd40f1eafa4

Subscribe to this mod's changes

woocommerce-subscriptions is a skill published in the GitHub repository finsilabs/awesome-ecommerce-skills (52 stars, last pushed 6mo ago), licensed MIT. It adds 23 tokens to every session and 2,980 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.

Related

Other skills, from other repositories

Stripe Payments

Automate Stripe payment processing, subscription management, invoicing, and financial reporting.

claude-office-skills/skills · 18 tokens

stripekit

Add Stripe billing — subscriptions, checkout, and the customer portal — to an app by declaring a catalog in code and running the stripekit CLI. Use when a user wants to add payments, subscriptions, plans, pricing, checkout, or a billing portal with Stripe (especially in a Next.js app), or to manage Stripe…

rafaelcg/stripekit · 77 tokens

stripekit

Add Stripe billing — subscriptions, checkout, and the customer portal — to an app by declaring a catalog in code and running the stripekit CLI. Use when a user wants to add payments, subscriptions, plans, pricing, checkout, or a billing portal with Stripe (especially in a Next.js app), or to manage Stripe…

rafaelcg/stripekit · 77 tokens

Billing Manager

Manage billing operations including invoice generation, payment tracking, and subscription lifecycle.

eddiebelaval/squire · 16 tokens

monetization

Estrategia e implementacao de monetizacao para produtos digitais - Stripe, subscriptions, pricing experiments, freemium, upgrade flows, churn prevention, revenue optimization e modelos de negocio SaaS.

LiHongwei-cn/lihongwei-cn · 43 tokens

monetization

Estrategia e implementacao de monetizacao para produtos digitais - Stripe, subscriptions, pricing experiments, freemium, upgrade flows, churn prevention, revenue optimization e modelos de negocio SaaS.

elproximoframework/Skills_Ingenieria · 43 tokens