woocommerce

woocommerce is a skill for Claude Code from alinaqi/maggy. It costs 15 tokens per session (4,209 once invoked), scanned A, original, MIT.

A development guide for connecting applications to WooCommerce, the e-commerce system commonly used with WordPress, through its REST API.

In plain words
What is it for?
It helps read and change products, orders, and customers, receive webhook events, and build custom WooCommerce extensions.
Why use it?
It explains authentication and required store settings so an application can work with store data consistently.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

not rated 713repo +1 3d ago A scan Socket: passSnyk: warnSkillSpector: warn 15 tokens original MIT

Good fit It helps read and change products, orders, and customers, receive webhook events, and build custom WooCommerce extensions.

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

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/alinaqi/maggy/woocommerce"><img src="https://agentmods.dev/badge/skills/alinaqi/maggy/woocommerce.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,209 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 19 Jun 2026
  • Snyk warn 19 Jun 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 731
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
How audits are shown
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.00015 $0.04209
Opus 5.5 $0.00006 $0.01684
Sonnet 5.5 $0.00003 $0.00842
Haiku 4.5 $0.00002 $0.00421

Measured 2mo ago against content hash 3020544c660a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

woocommerce scanned grade A with 1 finding 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl https://your-store.com/wp-json/wc/v3/products \
skills/woocommerce/SKILL.md · 781 lines

How it starts

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

WooCommerce Development Skill

For integrating with WooCommerce stores via REST API - products, orders, customers, webhooks, and custom extensions.

Sources: WooCommerce REST API | Developer Docs


Prerequisites

Store Requirements

# WooCommerce store must have:
# 1. WordPress with WooCommerce plugin installed
# 2. HTTPS enabled (required for API auth)
# 3. Permalinks set to anything except "Plain"
#    WordPress Admin → Settings → Permalinks → Post name (recommended)

Generate API Keys

  1. Go to WooCommerce → Settings → Advanced → REST API
  2. Click Add key
  3. Set Description, User (admin), and Permissions (Read/Write)
  4. Click Generate API key
  5. Copy Consumer Key and Consumer Secret (shown only once)

API Basics

Base URL

https://your-store.com/wp-json/wc/v3/

Authentication

// Node.js - Basic Auth (recommended)
const WooCommerceRestApi = require("@woocommerce/woocommerce-rest-api").default;

const api = new WooCommerceRestApi({
  url: "https://your-store.com",
  consumerKey: process.env.WC_CONSUMER_KEY,
  consumerSecret: process.env.WC_CONSUMER_SECRET,
  version: "wc/v3"
});
# Python
from woocommerce import API

wcapi = API(
    url="https://your-store.com",
    consumer_key=os.environ["WC_CONSUMER_KEY"],
    consumer_secret=os.environ["WC_CONSUMER_SECRET"],
    version="wc/v3"
)

Query String Auth (Fallback)

# Only use if Basic Auth fails (some hosting configurations)
curl https://your-store.com/wp-json/wc/v3/products \
  ?consumer_key=ck_xxx&consumer_secret=cs_xxx

Installation

Node.js

npm install @woocommerce/woocommerce-rest-api
// lib/woocommerce.ts
import WooCommerceRestApi from "@woocommerce/woocommerce-rest-api";

const api = new WooCommerceRestApi({
  url: process.env.WC_STORE_URL!,
  consumerKey: process.env.WC_CONSUMER_KEY!,
  consumerSecret: process.env.WC_CONSUMER_SECRET!,
  version: "wc/v3",
  queryStringAuth: false, // Set true for HTTP (dev only)
});

export default api;

Read the full file on GitHub · 781 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. 2mo ago First seen · 781 lines · 15 tokens per session scan A 3020544c660a

Subscribe to this mod's changes

woocommerce is a skill published in the GitHub repository alinaqi/maggy (713 stars, last pushed 3d ago), licensed MIT. It adds 15 tokens to every session and 4,209 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

woocommerce compared with skills from other repositories

woocommerce next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
woocommercealinaqi/maggySkill7133d agoMITA15Claude Code
kunze-ad-setuphashgraph-online/awesome-codex-pluginsSkill1.6ktodayApache-2.0A53Claude Code, Codex
launchfast-full-research-loophashgraph-online/awesome-codex-pluginsSkill1.6ktodayApache-2.0A69Claude Code
wilco-ad-setuphashgraph-online/awesome-codex-pluginsSkill1.6ktodayApache-2.0A48Claude Code, Codex
stripe-bfcm-dashboardstripe/aiSkill2.1k6d agoMITA120Claude Code, Codex
inventoryericrisco/rsc-harnessSkill6915d agoMITA66Claude Code, Codex
agent-payment-billing-specialisttravisjneuman/.claudeSkill115yesterdayMITA67Claude Code