lw-lms-learndash-migration

lw-lms-learndash-migration is a skill for Claude Code, Codex from Lonsdale201/wp-agent-skills. It costs 109 tokens per session (1,537 once invoked), scanned A, original, MIT.

A command and checklist for migrating LearnDash courses and lessons into LW LMS. LearnDash and LW LMS are WordPress learning-management plugins.

In plain words
What is it for?
Use it to run a dry run or migration with WP-CLI, extract supported LearnDash video details, and verify the resulting course mappings and ordering.
Why use it?
It helps preserve course content, lesson order, sections, metadata, and related WooCommerce links during a one-time platform change.

Skill for Claude CodeCodex

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

Good fit Use it to run a dry run or migration with WP-CLI, extract supported LearnDash video details, and verify the resulting course mappings and ordering.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lonsdale201/wp-agent-skills/lw-lms-learndash-migration
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-learndash-migration
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-learndash-migration

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/lw-lms-learndash-migration"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/lw-lms-learndash-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,537 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.00109 $0.01537
Opus 5 $0.00055 $0.00768
Sonnet 5 $0.00022 $0.00307
Haiku 4.5 $0.00011 $0.00154

Measured 9d ago against content hash 8545d39ba93d, 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-learndash-migration 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-learndash-migration/SKILL.md · 112 lines

How it starts

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

LW LMS LearnDash Migration

Use this for the one-time WP-CLI migration from LearnDash post types into LW LMS. The command copies course and lesson posts, maps key metadata, then builds a single LW LMS section per migrated course using LearnDash lesson order.

Verified against local lw-lms v1.6.0. Neither the v1.4.0 operational CLI release nor the v1.6.0 access-filter/source-revocation work changed the migrate-learndash command flow. Use lw-lms-wp-cli-operations for the non-migration commands.

When to use this skill

Trigger this skill when ANY of the following is true:

  • The user asks to migrate from LearnDash to LW LMS.
  • Code or logs mention wp lw-lms migrate-learndash, sfwd-courses, sfwd-lessons, ld_course_steps, _sfwd-courses, or _sfwd-lessons.
  • You need a dry-run checklist, rerun strategy, or post-migration verification.
  • A diff touches includes/CLI/Migration/.

Command

wp lw-lms migrate-learndash --dry-run --verbose
wp lw-lms migrate-learndash --verbose

The command is registered in Plugin::register_cli_commands() as lw-lms migrate-learndash. It runs only under WP-CLI.

Workflow

  1. Confirm both source and target plugins are present enough for data access: LearnDash data exists in sfwd-courses; LW LMS classes are active.
  2. Take a database backup. This command creates posts and writes mappings; it does not implement rollback.
  3. Run --dry-run --verbose. Review course count, lesson count, and skipped items.
  4. Run the real migration once.
  5. Verify mappings and frontend behavior before deleting or disabling LearnDash.

What gets migrated

Source Target Notes
sfwd-courses posts course posts title, content, excerpt, status, slug, menu order, thumbnail
LearnDash course price type _lw_lms_access_type mapped by LearnDashData::map_access_type()
Woo product links _lw_lms_product_ids reads direct _related_course, _membership_product_id, and postmeta reverse lookup
kurzus-hossza _lw_lms_duration local/custom duration meta supported by current migrator
sfwd-lessons posts lesson posts title, content, excerpt, status, slug, menu order, thumbnail
lesson course_id _lw_lms_lesson_course_id resolved through _lw_lms_migrated_to course mapping
LearnDash video URL, Elementor video, content embeds _lw_lms_video extracted by VideoExtractor
ld_course_steps lesson order _lw_lms_course_sections, _lw_lms_lesson_section_id, _lw_lms_lesson_order one generated section per migrated course

Read the full file on GitHub · 112 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 · 112 lines · 109 tokens per session scan A 8545d39ba93d

Subscribe to this mod's changes

lw-lms-learndash-migration is a skill published in the GitHub repository Lonsdale201/wp-agent-skills (22 stars, last pushed 2d ago), licensed MIT. It adds 109 tokens to every session and 1,537 once invoked, about $0.0005 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