lw-lms-wp-cli-operations

lw-lms-wp-cli-operations is a skill for Claude Code, Codex from Lonsdale201/wp-agent-skills. It costs 113 tokens per session (2,892 once invoked), scanned A, original, MIT.

A reference for LW LMS command-line operations in WordPress. LW LMS is a learning-management plugin, and WP-CLI is a terminal tool for administering WordPress.

In plain words
What is it for?
It covers creating and listing courses and lessons, assigning lessons, enrolling or revoking users, and marking courses complete.
Why use it?
It lets developers manage course content and learner access from repeatable terminal commands instead of manual dashboard work.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It covers creating and listing courses and lessons, assigning lessons, enrolling or revoking users, and marking courses complete.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/lw-lms-wp-cli-operations"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/lw-lms-wp-cli-operations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,892 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 pass 7 Sept 2026
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.00113 $0.02892
Opus 5 $0.00056 $0.01446
Sonnet 5 $0.00023 $0.00578
Haiku 4.5 $0.00011 $0.00289

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

Security

Grade A, and why

lw-lms-wp-cli-operations 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.

lw-plugins/lw-lms-wp-cli-operations/SKILL.md · 280 lines

How it starts

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

LW LMS: WP-CLI operations

Use this for the day-to-day LW LMS WP-CLI commands introduced in v1.4.0 and verified against local lw-lms v1.6.0. v1.6.0 did not add a CLI command or option. This is not the LearnDash migration command; use lw-lms-learndash-migration for wp lw-lms migrate-learndash.

When to use this skill

Trigger this skill when any of the following is true:

  • A task mentions wp lw-lms course, wp lw-lms lesson, wp lw-lms enroll, wp lw-lms revoke, or wp lw-lms force-complete.
  • You need to create/list/delete courses or lessons from CLI.
  • You need to enroll/revoke a user or force-complete a course from CLI.
  • A diff touches files under includes/CLI/*Command.php except MigrateLearnDashCommand.php and includes/CLI/Migration/.

Command catalog

Registered in Plugin::register_cli_commands() only when WP_CLI is defined and truthy.

Command Purpose
wp lw-lms course create Create a course post and set selected course meta
wp lw-lms course list List courses, optionally filtered by access type/status
wp lw-lms course delete Trash or permanently delete a course
wp lw-lms course set-section Create or update one course section in _lw_lms_course_sections
wp lw-lms lesson create Create a lesson post and assign it to a course
wp lw-lms lesson list List lessons for one course, optionally filtered by section
wp lw-lms lesson assign Assign/reassign an existing lesson to a course/section/order
wp lw-lms enroll Grant stored access through AccessRepository::grant()
wp lw-lms revoke Revoke stored access through AccessRepository::revoke()
wp lw-lms force-complete Mark every published lesson in a course completed through ProgressRepository::mark_course_completed()

Reference resolution

CliResolver resolves:

  • course references by numeric post ID or course slug;
  • lesson references by numeric post ID or lesson slug;
  • user references by numeric user ID, login, or email.

Read the full file on GitHub · 280 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 · 280 lines · 113 tokens per session scan A 78315f338b68

Subscribe to this mod's changes

lw-lms-wp-cli-operations is a skill published in the GitHub repository Lonsdale201/wp-agent-skills (22 stars, last pushed 2d ago), licensed MIT. It adds 113 tokens to every session and 2,892 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

trivia-get-trivia

Returns a random trivia question with multiple-choice answers. Use the optional category and difficulty query parameters to filter the question pool.

bobadilla-tech/requiems-api-skills · 30 tokens

platform-help

A reference skill for the 1C platform and BSL, the programming language used to build 1C business applications. It helps clarify the platform’s object model, APIs, versions, and compatibility.

IngvarConsulting/unica · 50 tokens

wp-plugin-development

Architecture and development guidelines for WordPress plugins published on wordpress.org: file structure, plugin header, lifecycle hooks, Settings API, admin UI, escaping helpers for admin JavaScript, default values and option migrations, multisite-shared resources, custom post types, custom database tables…

fernandotellado/ai-skills · 86 tokens

wp-plugin-performance

Performance guidelines for WordPress plugin development: database optimization, object caching, conditional asset loading, efficient hooks, HTTP requests, WP-Cron, AJAX/REST optimization, and common anti-patterns. Based on official WordPress Developer Resources and WP VIP documentation.

fernandotellado/ai-skills · 55 tokens

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

data-manager-api-setup

Guides developers through client library installation and authentication setup steps for the Data Manager API. Use this skill when a user is getting started with the Data Manager API and needs to setup their local environment, install the client library, or setup access to the API. Don't use for implementing audience…

google/skills · 86 tokens