moodle-ws
Integrar con Moodle 4.x usando Web Services REST. Usar esta skill cuando el usuario pida crear cursos, inscribir o desinscribir usuarios, crear o actualizar actividades (quiz, assignment, forum), enviar calificaciones o listar cursos/estudiantes en un campus Moodle con Web Services habilitados.
Why use this skill?
Automate Moodle 4.x course management, user enrollment, and grading using the moodle-ws skill for OpenClaw. Efficiently manage your LMS via REST API.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/exeandino/moodle-ws-skillWhat This Skill Does
The moodle-ws skill provides a robust interface for interacting with Moodle 4.x instances through its native REST Web Services API. Designed for educators, administrators, and developers, this skill abstracts the complexity of Moodle's API endpoints into intuitive commands. It enables the automation of essential LMS tasks, including the creation and configuration of courses, management of user enrollments, and the deployment of educational activities such as quizzes, assignments, and discussion forums. Additionally, the skill supports data retrieval tasks like fetching student rosters or current course listings, and enables the programmatic submission of grades back to the Moodle gradebook, ensuring a seamless integration between your OpenClaw agent and your institutional learning platform.
Installation
To integrate this skill into your environment, use the OpenClaw package manager via the following command in your terminal:
clawhub install openclaw/skills/skills/exeandino/moodle-ws-skill
Once installed, ensure you have your Moodle Web Service token ready. For security best practices, store your credentials in a non-versioned configuration file located at ~/.openclaw/workspace/secrets/moodle-ws.json to prevent accidental exposure of your sensitive API tokens.
Use Cases
- Automated Course Setup: Automatically provision a new course shell, add necessary modules like forums and assignments, and set up enrollment methods at the start of a semester.
- Administrative Efficiency: Quickly enroll or remove bulk lists of students from courses based on external CSV or database inputs, reducing manual entry errors.
- Gradebook Synchronization: Push grades from an automated grading script or external assessment tool directly into the Moodle gradebook.
- Activity Management: Update the due dates of existing assignments or modify quiz settings across multiple courses simultaneously.
Example Prompts
- "Create a new course named 'Advanced AI Concepts' in the 'Computer Science' category and add an introductory forum."
- "Enroll the list of students provided in the 'data.csv' file into the 'Machine Learning 101' course."
- "Update the due date for the 'Final Project' assignment in the 'History 202' course to next Friday at 5 PM."
Tips & Limitations
To ensure operational success, verify that your Moodle user account possesses the required 'webservice' and 'moodle/course' capabilities. Always perform initial testing within a sandboxed Moodle staging environment before deploying automation workflows to a production campus site. Note that this skill requires direct network access to your Moodle instance; if your Moodle is behind a firewall, ensure that your OpenClaw environment is appropriately whitelisted. Remember that the skill's efficacy depends heavily on the scope of permissions granted to the specific API token provided.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-exeandino-moodle-ws-skill": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read, external-api