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 lw-lms-rest-frontendgit 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/lw-lms-rest-frontend)<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/lw-lms-rest-frontend"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/lw-lms-rest-frontend/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/lw-lms-rest-frontend"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/lw-lms-rest-frontend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00123 | $0.02370 |
| Opus 5 | $0.00062 | $0.01185 |
| Sonnet 5 | $0.00025 | $0.00474 |
| Haiku 4.5 | $0.00012 | $0.00237 |
Grade A, and why
lw-lms-rest-frontend 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.
How it starts
The opening of the file, as written. The whole thing — 188 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LW LMS: REST frontend consumer
For frontend developers consuming LW LMS data: course catalog, course detail, lesson player, progress dashboard, and protected downloads. The core lw-lms plugin ships a headless REST API; it does not ship public templates, shortcodes, or blocks.
BETA NOTICE. The plugin README says the plugin is under active development and not recommended for production use. Snapshot the JSON shapes in tests and review
CHANGELOG.mdbefore upgrading. This skill is verified against local lw-lms v1.6.0.
Version deltas that matter
- v1.6.0: no route or JSON-schema change. A server-side
lw_lms_has_course_accesscallback can now alter the final logged-in paid-course access decision after built-in access checks, which affectsaccess.has_access, lesson accessibility, attachments, lesson detail, progress writes, and protected downloads. - v1.5.1: maintenance release, no functional REST changes.
- v1.5.0: paid-course denied
accesspayload can includemembershipswhen WooCommerce Memberships is active and the course has_lw_lms_membership_plan_ids. - v1.4.0: course
contentin/courses/{id}is public marketing/about content. It is no longer gated behindaccess.has_access. Lesson content is still gated by/lessons/{id}. - v1.4.0: open-course lessons remain accessible to guests even if marked as preview.
- v1.3.0: first logged-in access to a free course lazily writes a
source='free'access row server-side; the REST consumer does not need to do anything special. - v1.2.15: denied paid-course
accesspayload can includesubscription_variations.
Misconception this skill corrects
"I should use
course.contentas the access gate."
Wrong for v1.4.0+. CourseTransformer::transform_full() always includes the course content; this is the public course description. Use course.access.has_access and each lesson's accessible flag for gating.
// WRONG: course content is public and is not proof of access.
if (course.content) {
renderLessonPlayer();
}
// RIGHT: access comes from access.has_access and per-lesson accessible.
if (course.access.has_access) {
return <CourseContent html={course.content} progress={course.progress} />;
}
return <PurchaseGate access={course.access} />;
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.
- 9d ago First seen · 188 lines · 123 tokens per session scan A 1e1da8f2f286
lw-lms-rest-frontend is a skill published in the GitHub repository Lonsdale201/wp-agent-skills (22 stars, last pushed 2d ago), licensed MIT. It adds 123 tokens to every session and 2,370 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
remotion-saas
Building video apps with Remotion - framework, rendering and Player advice.
web-3d-graphics-expert
Expert guide for WebGL and 3D graphics in the browser using Three.js, Babylon.js, React Three Fiber (R3F), and TresJS. Covers scene optimization, shaders, lighting, 3D model loading (GLTF/GLB), and performance tuning.
micro-frontend-architect
Expert guide for designing Micro-Frontend architectures using Webpack Module Federation, Vite Federation, and Single-SPA for large scale Vue and React applications.
react-anti-patterns
Introduce React anti-patterns and common mistakes into existing React codebases for training, review, or teaching. Use when asked to intentionally degrade React performance or code quality while keeping apps functional, or to generate anti-pattern examples for junior developer education.
mock-interview
An interactive front-end interview practice guide. It acts as an interviewer, asks progressively harder questions about JavaScript, React, CSS, browser behavior, and Vue, then gives a structured review.
frontend-best-practices
Coding guidance for building React or Vue front ends, where components display screens and manage user interactions. It covers component responsibilities, state placement, performance, and accessibility.