Moodle External Api Development
Developer guide for building custom Moodle external web service APIs that follow Moodle's external API framework.
- CCM score
- 56 of 100
- skills.sh installs
- 526
- GitHub stars
- 50.5K
- last updated
- Jul 14, 2026
Own this skill? Claim it
What it does
- Covers creating REST and AJAX endpoints for course management, quiz operations, user tracking, and reporting in Moodle plugins
- Includes PHP fragments showing
external_apiparameter, execute, and returns structures withvalidate_parametersandvalidate_contextcalls - Enforces capability checks such as
require_capabilityon course context, and warns against production admin tokens in shell arguments - Designed for plugin developers exposing Moodle functionality to external applications or building mobile app backends
Install
$ npx -y skills add sickn33/agentic-awesome-skills --skill moodle-external-api-development -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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.
Detailed Guide
Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.
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
Illustrative Implementation Fragments
Simple Read API (Get Quiz Attempts)
<?php
namespace local_userlog\external;
defined('MOODLE_INTERNAL') || die();
require_once("$CFG->libdir/externallib.php");
use external_api;
use external_function_parameters;
use external_single_structure;
use external_value;
Details
- Repository
- github.com/sickn33/agentic-awesome-skills
- Category
- Backend & APIs
- First seen
- Jun 3, 2026
More from sickn33/agentic-awesome-skills
All 682- Theme Factory526
- Launch Strategy522
- Arm Cortex Expert520
- Laravel Expert515
- Cc Skill Project Guidelines Example514
- Accessibility Compliance Accessibility Audit513
- Brand Guidelines512
- Dispatching Parallel Agents511
- Angular Best Practices510
- Machine Learning Ops Ml Pipeline508
- Page Cro508
- Security Scanning Security Hardening507
- Code Documentation Doc Generate502
- Paywall Upgrade Cro502
- Nextjs App Router Patterns501
- Upstash Qstash472
- Signup Flow Cro465
- Outlook Automation464
- Requesting Code Review464
- Startup Business Analyst Market Opportunity463
- Design Orchestration462
- Blockrun459
- Receiving Code Review458
- Rust Pro458
Similar to Moodle External Api Development
More Backend & APIsapi-documenterSkillsickn33/agentic-awesome-skills628 installsExpert API documentation guide covering OpenAPI 3.1, interactive docs, SDK generation, and developer portals.
api-design-principlesSkillsickn33/agentic-awesome-skills1K installsStructured guide for designing REST and GraphQL APIs that stay intuitive and maintainable over time.
wp-rest-apiSkillwordpress/agent-skills6.8K installsDeveloper guide for building, extending, and debugging WordPress REST API routes, controllers, and schema validation.
McpMCP serveredubase28 starsFull-featured EduBase LMS access: questions, quizzes, exams, results, users, classes, and organizations.
mcp-builderPluginComposioHQ/awesome-claude-skills51.5K starsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when b
wp-abilities-apiSkillautomattic/agent-skills309 installsDeveloper guide for registering, exposing over REST, and consuming WordPress Abilities API endpoints and categories.