moodle-questions

Generate Moodle-XML quiz questions from instructional content for Moodle 4.x/5.x.

Updated May 10, 2026
One-click install
npx skills add https://github.com/c-kraus/thws-skills --skill moodle-questions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moodle-questions
Source: https://github.com/c-kraus/thws-skills/tree/main/moodle-questions
Command: npx skills add https://github.com/c-kraus/thws-skills --skill moodle-questions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It turns teaching content into valid Moodle XML so you can create quizzes for Moodle 4.x/5.x without hand-crafting question markup.

Core Features & Use Cases

  • Moodle-XML generation from content: Converts lecture material, case studies, or concepts into a complete <quiz>...</quiz> export that Moodle can import.
  • Multi-question and multi-type support: Produces Multiple Choice, matching (match), numerical, true/false, cloze, essay, and more via intelligent templates.
  • Built-in quality assurance: Verifies numerical calculations (via Python execution) and checks conceptual correctness like answer uniqueness and matching bijectivity before output.

Quick Start

Use moodle-questions to generate quiz questions by asking: "Erstelle Moodle-Fragen aus diesem Text und exportiere sie als Moodle-XML: [paste content], bitte 5 Fragen auf Deutsch."

Frequently Asked Questions about moodle-questions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Moodle XML quiz questions from instructional content?

You generate Moodle XML quiz questions by providing lecture material, case studies, or concepts to the moodle-questions Skill. It outputs a complete Moodle-XML quiz document with verified assessment items for direct import into Moodle 4.x or 5.x.

What Moodle question types are supported when exporting a quiz to XML?

Moodle XML export supports multiple question types including multichoice, match, numerical, truefalse, cloze, and essay. The Skill applies intelligent templates to generate each question type correctly for practice sets or exams.

Does Moodle XML generation verify numerical quiz answers automatically?

Yes, Moodle XML generation verifies numerical calculations automatically via Python execution. It also validates answer uniqueness and matching bijectivity prior to emitting the XML quiz document to ensure assessment correctness.

Can I create multiple quiz question types from a single text input for Moodle?

You can create multiple quiz question types from a single text input. The Skill processes provided instructional content and generates a mixed set of multichoice, matching, numerical, truefalse, cloze, and essay questions in one XML export.

What is the best way to convert lecture notes into import-ready Moodle quiz questions?

The best way to convert lecture notes into Moodle quiz questions is using the moodle-questions Skill to transform text into valid Moodle XML markup. It eliminates hand-crafting question markup by automating the generation and quality assurance process.

Do I need to manually format Moodle XML markup when creating quiz assessments?

No, you do not need to manually format Moodle XML markup. The Skill handles the complete generation of the quiz export document structure, performing numerical verification and matching consistency checks automatically before output.