learndash-woocommerce-access

learndash-woocommerce-access is a skill for Codex from Lonsdale201/wp-agent-skills. It costs 122 tokens per session (2,036 once invoked), scanned A, original, MIT.

A LearnDash and WooCommerce integration that grants or removes access to courses and groups when products, orders, refunds, subscriptions, or order items change.

In plain words
What is it for?
Use it to connect WooCommerce products to LearnDash courses or groups and to control enrollment based on order and subscription statuses.
Why use it?
It handles the full purchase lifecycle, including partial refunds, subscription switches, access expiration, and multiple products granting the same access.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to connect WooCommerce products to LearnDash courses or groups and to control enrollment based on order and subscription statuses.

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

Made for: 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 learndash-woocommerce-access

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/learndash-woocommerce-access"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/learndash-woocommerce-access.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,036 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

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 →

  • medium Excessive Agency · line 186
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00122 $0.02036
Opus 5 $0.00061 $0.01018
Sonnet 5 $0.00024 $0.00407
Haiku 4.5 $0.00012 $0.00204

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

Security

Grade A, and why

learndash-woocommerce-access 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 7d 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.

learndash/learndash-woocommerce-access/SKILL.md · 220 lines

How it starts

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

LearnDash WooCommerce access

Use this when WooCommerce products, orders, subscriptions, refunds, or product variations must grant or revoke LearnDash course/group access.

The LearnDash WooCommerce bridge is not just "on completed order call ld_update_course_access()". It tracks product relations, variable product relations, configurable order/subscription statuses, partial refunds, subscription switches, order item mutations, access expiration, silent queued enrollment, and a per-user counter so one access source does not remove another.

When to use this skill

Trigger when ANY of these appears:

  • Plugin path/name learndash-woocommerce.
  • Product meta _related_course or _related_group.
  • User meta _learndash_woocommerce_enrolled_courses_access_counter.
  • LearnDash\WooCommerce\Settings\Status_Access.
  • Options learndash_woocommerce_enrollment_status_settings, learndash_woocommerce_silent_course_enrollment_queue, or learndash_woocommerce_disable_access_removal_on_expiration.
  • Woo hooks around order status, refund, subscription status, subscription switch, order item added/deleted, customer change, or HPOS.

Product relation model

LearnDash WooCommerce stores related LearnDash objects on the Woo product or variation:

  • _related_course is an array of LearnDash course IDs.
  • _related_group is an array of LearnDash group IDs.
  • Simple products store relations on the product ID.
  • Variable and variable-subscription parents clear parent-level relations and store relations on each variation.
  • Runtime order processing checks the variation ID first; if no variation ID is present, it checks the product ID.

When building a compatible importer/sync, preserve that shape:

update_post_meta( $product_or_variation_id, '_related_course', array_map( 'absint', $course_ids ) );
update_post_meta( $product_or_variation_id, '_related_group', array_map( 'absint', $group_ids ) );

Do not store a scalar ID and do not attach courses only to a variable parent if the product is sold through variations.

Read the full file on GitHub · 220 lines

Files

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.

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. 7d ago First seen · 220 lines · 122 tokens per session scan A 3e915d573602

Subscribe to this mod's changes

learndash-woocommerce-access is a skill published in the GitHub repository Lonsdale201/wp-agent-skills (22 stars, last pushed today), licensed MIT. It adds 122 tokens to every session and 2,036 once invoked, about $0.0006 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

math-olympiad

Solve competition math problems (IMO, Putnam, USAMO, AIME) with adversarial verification that catches the errors self-verification misses. Activates when asked to 'solve this IMO problem', 'prove this olympiad inequality', 'verify this competition proof', 'find a counterexample', 'is this proof correct', or for any…

anthropics/claude-plugins-official · 163 tokens

google-agents-cli-onboarding

Onboarding entrypoint for agents-cli in Agent Platform. It should be used when the user wants to "create a new agent", "develop an agent", "build an agent using ADK", "run the agent locally", "debug agent code", "test an agent", "evaluate an agent", "deploy an agent", "publish an agent", "monitor an agent", or needs…

google/skills · 95 tokens

practice-cognition

A method for testing ideas in practice, learning from the results, and improving the next attempt through repeated cycles.

HughYau/qiushi-skill · 183 tokens

36-anthropic-agents-kit-development

Create your Claude Agent SDK skill in one prompt, then learn to improve it throughout the chapter.

majiayu000/claude-skill-registry · 18 tokens

academy-guide

Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude…

guanyang/open-agent-hub · 208 tokens

literature-review

Systematic literature review workflow: scope, search (arXiv, Semantic Scholar, Google Scholar), screen, extract, synthesize, and identify gaps. Triggers on: "literature review", "survey the literature", "related work", "systematic review", "synthesize the research", "find papers about", "research gap analysis".

Mathews-Tom/armory · 74 tokens