Create custom external web service APIs for Moodle LMS.
SkillScore86Maintained
Automatic
◆Coding pack
Last verified 8/29/2026
What it changes
Passed 19 of 22 test cases with the skill, and 18 of 22 without it.
Without skill82%
With skill86%
Checks it passed that the model alone missed
Defines page and perpage or limitfrom and limitnum parameters in execute_parameters.
1 fixed18 passed either way3 still failing0 broke
Pass-rate lift
+5 pp
Tokens
+26%
Agent turns
0%
Response time
+1%
Model gemini-3.6-flashMeasured 8/29/2026v119 of 22 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
A test case the skill fixed. Same model, same prompt, with and without the skill.
Prompt
I need to implement pagination for a Moodle external API returning quiz attempts. How should offset and page size limits be handled in parameter definition and database query?
What was checked, without and with the skill
Checked
Without skill
With skill
Defines page and perpage or limitfrom and limitnum parameters in execute_parameters.
Missed
Passed
Passes limitfrom and limitnum to Moodle $DB record fetching methods.
Passed
Passed
case-18 · gemini-3.6-flash · 8/29/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md44 linessingle file
Moodle External API Development
This skill guides you through creating custom external web service APIs for Moodle LMS, following Moodle's external API framework and coding standards.
When to Use This Skill
Creating custom web services for Moodle plugins
Implementing REST/AJAX endpoints for course management
Building APIs for quiz operations, user tracking, or reporting
Exposing Moodle functionality to external applications
Developing mobile app backends using Moodle
Core Architecture Pattern
Moodle external APIs follow a strict three-method pattern: