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 learndash-course-progressgit 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/learndash-course-progress)<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.
<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>- NVIDIA SkillSpector warn
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.
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.00119 | $0.02321 |
| Opus 5 | $0.00060 | $0.01161 |
| Sonnet 5 | $0.00024 | $0.00464 |
| Haiku 4.5 | $0.00012 | $0.00232 |
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.
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 assfwd-lessons:123.summary:completed,total, andstatus.activity: source-verified activity-table projection; use it for reporting diagnostics, not as the primary completion gate.
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.
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.
- 5d ago First seen · 246 lines · 119 tokens per session scan A 687b07151097
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.
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.
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.
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…
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.
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…
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…