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 wcm-membership-hooksgit 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/wcm-membership-hooks)<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/wcm-membership-hooks"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/wcm-membership-hooks/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/wcm-membership-hooks"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/wcm-membership-hooks.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.00154 | $0.05703 |
| Opus 5.5 | $0.00062 | $0.02281 |
| Sonnet 5.5 | $0.00031 | $0.01141 |
| Haiku 4.5 | $0.00015 | $0.00570 |
Grade A, and why
wcm-membership-hooks 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 1mo 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 — 294 lines — stays where its author put it; the contents beside it link to each section on GitHub.
WooCommerce Memberships: hook map
Use this when building or reviewing an integration that needs to react to WooCommerce Memberships events. This is a curated decision map, not an exhaustive dump of every hook call in the plugin.
Misconception this skill corrects
"Memberships are just posts/meta, so query
wc_user_membershipposts and update_member_plan_idorpost_statusdirectly."
User memberships are stored as custom posts, but the plugin has object wrappers, status hooks, access rules, order-grant metadata, REST/webhook behavior, profile-field storage, and Subscriptions integration. Prefer public functions and WC_Memberships_User_Membership methods unless the task explicitly requires low-level inspection.
When to use this skill
Trigger when ANY of the following is true:
- The user asks for WooCommerce Memberships actions/filters, lifecycle hooks, status hooks, purchase grant hooks, profile fields, REST API hooks, webhooks, member directory, members area, or Subscriptions-linked memberships.
- Code contains
wc_memberships_,WC_Memberships_User_Membership,WC_Memberships_Membership_Plan,wc_user_membership,wcm-active,_member_plan_id,_wc_memberships_access_granted, orwoocommerce-memberships. - You need to decide whether to hook at membership creation, post save, status transition, access grant, profile field save, API response shaping, or frontend members-area rendering.
Workflow
- Identify the layer first: user membership lifecycle, purchase/free-signup grant, access/restriction, discount, profile fields, REST/webhook, Abilities API, members area, CSV/admin, or Subscriptions integration.
- Prefer public functions and objects over raw
WP_Query,wp_update_post(), or direct post meta writes. - For status strings, know the boundary: WP post statuses use
wcm-prefix, but object methods and lifecycle hooks commonly use unprefixed statuses such asactive,paused,cancelled,expired,free_trial,delayed. - Before implementing, inspect the installed plugin line with:
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.
- 1mo ago Changed · -1 lines d48bca47b8bb
- 1mo ago First seen · 295 lines · 154 tokens per session scan A f86489b46891
wcm-membership-hooks is a skill published in the GitHub repository Lonsdale201/wp-agent-skills (25 stars, last pushed 8d ago), licensed MIT. It adds 154 tokens to every session and 5,703 once invoked, about $0.0006 per session on Opus 5.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…
renewal-playbook
Crea un playbook de renovación estructurado para una cuenta de cliente. Úsalo cuando necesites planificar una renovación, estructurar una negociación de renovación, prepararte para una conversación de expansión, o construir una estrategia de renovación para cuentas en riesgo o saludables. Produce un brief de…
acp
This page used to hold an archived copy of this skill. The archive now lives in the registry's data repository.
marketplace-purchase-vetting
Use this when the user asks whether a local listing is a scam, "too good to be true," worth looking at, or a good deal. Also use this when he asks you to find options — search/discover candidates, then vet the best ones. The goal is not a generic buying guide; it is a practical risk read with clear next steps.
payment-gateway-expert
Expert guide for integrating payment gateways (Stripe, PayPal, Xendit, Midtrans, DOKU SNAP BI) and secure webhooks into SaaS platforms / Panduan ahli integrasi payment gateway dan webhook aman.
agent-ready-mpp
Sub-skill: Implement MPP Payment Discovery. Publish OpenAPI with x-payment-info extensions so AI agents discover payable endpoints via Machine Payment Protocol (mpp.dev).