learndash-course-progress

learndash-course-progress is a skill for Codex from Lonsdale201/wp-agent-skills. It costs 119 tokens per session (2,321 once invoked), scanned A, original, MIT.

A guide to LearnDash learner progress, including completed lessons, topics, quizzes, and courses. It explains how progress records, quiz attempts, timestamps, and related hooks fit together.

In plain words
What is it for?
Use it to read progress, mark steps complete or incomplete, synchronize imported progress, complete all course steps, or remove course history.
Why use it?
It prevents progress data from becoming inconsistent when completion or reset logic changes only one record.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to read progress, mark steps complete or incomplete, synchronize imported progress, complete all course steps, or remove course history.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/learndash-course-progress"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/learndash-course-progress.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,321 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: 2 findings, 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 Rogue Agent · line 171
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Excessive Agency · line 222
    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.00119 $0.02321
Opus 5 $0.00060 $0.01161
Sonnet 5 $0.00024 $0.00464
Haiku 4.5 $0.00012 $0.00232

Measured 5d ago against content hash 687b07151097, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

learndash-course-progress 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 5d 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-course-progress/SKILL.md · 246 lines

How it starts

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

LearnDash course progress and completion

Treat progress as a coordinated lifecycle across progress usermeta, quiz attempts, activity tables, completion timestamps, parent steps, hooks, and group progress. Do not implement completion by changing one usermeta value.

Choose the correct operation

Need Use
Read course totals/status learndash_user_get_course_progress( $user_id, $course_id, 'summary' )
Read completion-order steps learndash_user_get_course_progress( $user_id, $course_id, 'co' )
Check one step learndash_user_progress_is_step_complete( $user_id, $course_id, $step_id )
Get a machine-safe course status learndash_course_status( $course_id, $user_id, true )
Complete one lesson/topic/quiz and recalculate the course learndash_process_mark_complete()
Mark a lesson/topic or its parents incomplete learndash_process_mark_incomplete()
Apply an admin/import progress payload learndash_process_user_course_progress_update()
Complete every step learndash_user_course_complete_all_steps()
Destructively remove course and quiz history learndash_delete_course_progress() after reviewing its scope below

Always pass an explicit $course_id for shared lessons, topics, and quizzes. The same step can belong to more than one course, so resolving only from the step ID can read or mutate the wrong progress tree.

Read progress without parsing labels

$summary = learndash_user_get_course_progress( $user_id, $course_id, 'summary' );

$status    = $summary['status'] ?? 'not_started';
$completed = (int) ( $summary['completed'] ?? 0 );
$total     = (int) ( $summary['total'] ?? 0 );

Use status slugs not_started, in_progress, and completed. Do not compare the localized default output of learndash_course_status() with English text; pass true as its third argument when the value controls program logic.

The public progress model exposes several projections:

  • legacy: lesson/topic tree plus summary fields; persisted in _sfwd-course_progress.
  • co: flattened completion order with keys such as sfwd-lessons:123.
  • summary: completed, total, and status.
  • activity: source-verified activity-table projection; use it for reporting diagnostics, not as the primary completion gate.

Read the full file on GitHub · 246 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. 5d ago First seen · 246 lines · 119 tokens per session scan A 687b07151097

Subscribe to this mod's changes

learndash-course-progress is a skill published in the GitHub repository Lonsdale201/wp-agent-skills (22 stars, last pushed 10d ago), licensed MIT. It adds 119 tokens to every session and 2,321 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