lw-lms-quiz-integration

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

A guide for building and checking quizzes in LW LMS, a WordPress learning-management system. It covers question formats, learner submissions, pass results, attempt history, throttling, command-line tools, and exports.

In plain words
What is it for?
Use it to create, import, inspect, update, or audit single-choice, true-or-false, and open-response quizzes and their attempts.
Why use it?
It helps keep quiz data valid and prevents stored correct answers from being exposed to learners.

Skill for Claude CodeCodex

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

Good fit Use it to create, import, inspect, update, or audit single-choice, true-or-false, and open-response quizzes and their attempts.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/lw-lms-quiz-integration"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/lw-lms-quiz-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,666 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.
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.00111 $0.01666
Opus 5.5 $0.00044 $0.00666
Sonnet 5.5 $0.00022 $0.00333
Haiku 4.5 $0.00011 $0.00167

Measured 28d ago against content hash 5cf0b4b6a5d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

lw-lms-quiz-integration 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 28d 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-quiz-integration/SKILL.md · 155 lines

How it starts

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

LW LMS quiz integration

Use the canonical quiz schema, learner REST endpoint, and stored attempt history. Never expose stored correct answers to a learner.

Canonical quiz document

{
  "pass_percentage": 80,
  "shuffle_options": true,
  "questions": [
    {
      "id": "q1",
      "type": "single",
      "prompt": "Choose one",
      "options": [
        { "id": "a", "text": "A", "correct": true },
        { "id": "b", "text": "B", "correct": false }
      ]
    },
    { "id": "q2", "type": "boolean", "prompt": "True?", "correct": true },
    { "id": "q3", "type": "open", "prompt": "Explain", "sample": "Example response" }
  ]
}

Question and option IDs must start with a letter and contain at most 64 letters, digits, underscores, or hyphens. Keep IDs stable across edits so attempt snapshots remain understandable. The normalizer rejects unknown keys and duplicate IDs instead of silently dropping them.

single needs at least two options and exactly one correct option. boolean needs a strict boolean correct. open is ungraded; an optional sample may be returned as guidance. A quiz with no scored questions passes at 100%.

Import and inspect with WP-CLI

wp lw-lms lesson set-quiz 99 --file=quiz.json
cat quiz.json | wp lw-lms lesson set-quiz intro --file=-
wp lw-lms lesson get-quiz 99 --format=json
wp lw-lms lesson delete-quiz 99 --yes

set-quiz replaces the whole document. get-quiz includes correct answers, so treat its output as administrative data and do not publish logs. Deleting the quiz does not delete historical attempts.

Learner REST

GET /lms/v1/lessons/{id} includes quiz or null. The public quiz contains pass percentage, shuffle flag, questions, stable option IDs, and the current user's last_attempt; it strips every correct key.

Submit answers:

POST /wp-json/lms/v1/lessons/99/quiz
Content-Type: application/json
X-WP-Nonce: ...

{
  "answers": {
    "q1": "a",
    "q2": true,
    "q3": "Free text"
  }
}

Read the full file on GitHub · 155 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. 28d ago First seen · 155 lines · 111 tokens per session scan A 5cf0b4b6a5d1

Subscribe to this mod's changes

lw-lms-quiz-integration is a skill published in the GitHub repository Lonsdale201/wp-agent-skills (24 stars, last pushed 4d ago), licensed MIT. It adds 111 tokens to every session and 1,666 once invoked, about $0.0004 per session on Opus 5.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-27.

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

huashu-speech-coach

A coach for preparing talks, presentations, training sessions, technical talks, and tutorial videos, based on Patrick Winston’s How to Speak approach.

alchaincyf/huashu-skills · 102 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

explorer-pipeline

Use when asked to make an interactive 3D explorer of a topic from start to finish, go from a topic to a clickable 3D learning page, or run the whole 3D explorer process. Produces a staged run of explorer-interface-brief, model-prompt-pack and explorer-viewer-builder in order for one topic, with the hand-offs between…

mohitagw15856/pm-claude-skills · 97 tokens

model-prompt-pack

Use when asked to write prompts for image-to-3D or text-to-3D tools, generate 3D models of a topic's parts, plan the assets for a 3D explorer, or build a labelled parts list with sources. Produces prompts for image-to-3D tools, one per object, plus a parts list for labelling in which every label names a trusted…

mohitagw15856/pm-claude-skills · 104 tokens