woo-repeat-purchase-rate

woo-repeat-purchase-rate is a skill for Claude Code from navarroido/Woocommerce-skill. It costs 25 tokens per session (1,365 once invoked), scanned A, original, MIT.

A read-only WooCommerce report calculating the percentage of customers who placed more than one order within a specified period. This percentage is called the repeat purchase rate.

In plain words
What is it for?
Use it to compare new and returning customers and track repeat purchases over rolling time windows.
Why use it?
It provides a direct measure of customer loyalty and shows how repeat buying changes over time.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions Codex; built for cline.

Part of the woocommerce-ai-skills plugin — 56 skills shipped together

Good fit Use it to compare new and returning customers and track repeat purchases over rolling time windows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/navarroido/woocommerce-skill/woo-repeat-purchase-rate
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 navarroido/Woocommerce-skill --skill woo-repeat-purchase-rate
Clone the repo
git clone --depth 1 https://github.com/navarroido/Woocommerce-skill

Made for: Claude Code.

Or install woocommerce-ai-skills, the plugin that ships this one along with the rest of its 56 skills.

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 woo-repeat-purchase-rate

README.md
[![agentmods](https://agentmods.dev/badge/skills/navarroido/woocommerce-skill/woo-repeat-purchase-rate/github.svg)](https://agentmods.dev/skills/navarroido/woocommerce-skill/woo-repeat-purchase-rate)
Your own site
<a href="https://agentmods.dev/skills/navarroido/woocommerce-skill/woo-repeat-purchase-rate"><img src="https://agentmods.dev/badge/skills/navarroido/woocommerce-skill/woo-repeat-purchase-rate/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 woo-repeat-purchase-rate

Your own site · 80×15
<a href="https://agentmods.dev/skills/navarroido/woocommerce-skill/woo-repeat-purchase-rate"><img src="https://agentmods.dev/badge/skills/navarroido/woocommerce-skill/woo-repeat-purchase-rate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,365 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.00025 $0.01365
Opus 5 $0.00013 $0.00682
Sonnet 5 $0.00005 $0.00273
Haiku 4.5 $0.00003 $0.00136

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

Security

Grade A, and why

woo-repeat-purchase-rate 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.

skills/analytics/woo-repeat-purchase-rate/SKILL.md · 177 lines

How it starts

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

woo-repeat-purchase-rate

Purpose

Measure customer loyalty by computing the repeat purchase rate — the percentage of buyers in a period who placed at least two orders. Segments by new vs. returning customer status and tracks trend over rolling windows. Read-only.

Prerequisites

  • WooCommerce store with REST API enabled
  • Consumer Key with Read scope
  • Minimum WooCommerce version: 3.5.0

Parameters

Parameter Type Required Default Description
store_url string yes Base URL of the WooCommerce store
consumer_key string yes WooCommerce REST API consumer key (ck_...)
consumer_secret string yes WooCommerce REST API consumer secret (cs_...)
dry_run bool no false No effect — read-only skill
format string no human Output format: human or json
date_after string yes Start date (YYYY-MM-DD)
date_before string yes End date (YYYY-MM-DD)
window_days int no 30 Rolling window size for trend computation

Authentication

WooCommerce uses OAuth 1.0a for HTTP and Basic Auth over HTTPS.

For HTTPS stores (recommended):

Authorization: Basic base64(consumer_key:consumer_secret)

For HTTP stores (development only): Use OAuth 1.0a — include oauth_consumer_key, oauth_nonce, oauth_signature, oauth_signature_method=HMAC-SHA1, oauth_timestamp, oauth_version=1.0

Never log or output consumer_key or consumer_secret values.

See docs/AUTHENTICATION.md for full setup instructions.

Safety

Read-only skill — no mutations are executed. Safe to run at any time.

Workflow Steps

Step 1 — Fetch completed orders in range

GET /wp-json/wc/v3/orders
  ?status=completed&after=<date_after>T00:00:00Z&before=<date_before>T23:59:59Z&per_page=100&page=1

Extract: id, customer_id, billing.email, date_created.

Step 2 — Group orders by customer

Group by customer_id (use billing.email for guest orders as fallback key). Count distinct orders per customer within the window.

Read the full file on GitHub · 177 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. 11d ago First seen · 177 lines · 25 tokens per session scan A b034c673e403

Subscribe to this mod's changes

woo-repeat-purchase-rate is a skill published in the GitHub repository navarroido/Woocommerce-skill (6 stars, last pushed 4mo ago), licensed MIT. It adds 25 tokens to every session and 1,365 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-08-31.

Related

Other skills, from other repositories

amazon-reviews-api-skill

This skill helps users automatically extract Amazon product reviews via the Amazon Reviews API. Agent should proactively apply this skill when users express needs like getting reviews for Amazon product with ASIN B07TS6R1SF, analyzing customer feedback for a specific Amazon item, getting ratings and comments for a…

browser-act/skills · 124 tokens

amazon-competitor-analyzer

Scrapes Amazon product data from ASINs using browseract.com automation API and performs surgical competitive analysis. Compares specifications, pricing, review quality, and visual strategies to identify competitor moats and vulnerabilities.

browser-act/skills · 48 tokens

asc-subscription-localization

Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.

rorkai/app-store-connect-cli-skills · 60 tokens

food-order

Reorder previous Foodora orders, preview cart contents, and track delivery ETA/status with ordercli. Use when the user wants to reorder food, check delivery status, or browse recent Foodora order history. Never confirm an order without explicit user approval.

Bitterbot-AI/bitterbot-desktop · 53 tokens

product-description-generator

E-commerce product description generator for any platform. Generates optimized titles, bullet points, descriptions, and backend keywords using competitor research + keyword scoring + FABE copywriting. Two modes: (A) Create — generate listing from product specs with optional competitor analysis, (B) Optimize — improve…

nexscope-ai/eCommerce-Skills · 126 tokens

amazon-price-tracker

Amazon price monitoring and competitive pricing intelligence. Real-time price tracking, Buy Box analysis, promotion detection, and dynamic pricing strategy optimization. Use when the user asks about price monitoring, competitor pricing, Buy Box tracking, or pricing strategy.

nexscope-ai/Amazon-Skills · 51 tokens