← 返回 Skills 市场
114
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
安全使用建议
This skill contains working code that will call your Moodle instance using a token stored at ~/.openclaw/workspace/secrets/moodle-ws.json. Before installing or running it: (1) Inspect the code yourself — note the maintenance scripts (borrar_vacios.py, limpiar_categorias.py) can delete courses and categories; they are not clearly documented in the manifest. (2) Only provide a token with the minimum necessary permissions (avoid giving it site-admin rights if possible). (3) Put the token in the documented path and confirm the registry metadata is updated to declare that config path (the current metadata omits it). (4) Do not paste the token into chat; regenerate it if exposed. (5) Consider running destructive scripts first in a staging/test Moodle and require explicit human confirmation before executing any delete operations. If you want a safer verdict, provide an updated manifest that declares the secret path and either remove or make deletion actions explicitly require confirmation in SKILL.md.
功能分析
Type: OpenClaw Skill
Name: moodle-ws
Version: 1.3.1
The moodle-ws skill bundle provides legitimate Moodle 4.x administration capabilities via REST API, including course management, user enrollment, and messaging. While it contains scripts for destructive actions like deleting empty courses and categories (e.g., scripts/mantenimiento/borrar_vacios.py), these are clearly labeled as maintenance tools and align with the stated purpose. The code follows standard OpenClaw security practices by utilizing a local secrets file (~/.openclaw/workspace/secrets/moodle-ws.json) and includes explicit instructions in SKILL.md to prevent token exposure in chat.
能力评估
Purpose & Capability
The skill's name and description describe creating courses, enrolling users, messaging, and grading which matches the main module (scripts/moodle_ws.py). However, additional maintenance scripts (borrar_vacios.py, limpiar_categorias.py) perform destructive actions (delete courses and categories) that are not clearly advertised in the top-level description or the 'Funciones habilitadas necesarias' list. The presence of deletion APIs (core_course_delete_courses, core_course_delete_categories) is significant and not documented in the manifest.
Instruction Scope
SKILL.md instructs storing a token file at ~/.openclaw/workspace/secrets/moodle-ws.json (and code reads that path), which is reasonable. But the code also reads/writes /tmp/vacios.json and /tmp/con_alumnos.json and includes scripts that will delete courses/categories based on those files. The maintenance scripts perform bulk destructive actions without documentation of required confirmation or safeguards, increasing risk of accidental mass-deletion.
Install Mechanism
No install spec and no external downloads — lowest-risk install mechanism. The skill includes Python scripts that will run if invoked, but nothing is being pulled from external URLs or installed automatically.
Credentials
The skill requires a Moodle baseUrl and webservice token stored in ~/.openclaw/workspace/secrets/moodle-ws.json (SKILL.md and code). However, the registry metadata declares no required config paths or primary credential — an inconsistency. The requested credential (Moodle token) is appropriate for the functionality, but its access enables destructive actions; the manifest should declare the secret path and the user should ensure the token has minimal privileges.
Persistence & Privilege
always is false and the skill does not request system-wide persistence. It does not modify other skills or system settings. The main privilege is the Moodle token stored in the local secrets file, which grants power inside the Moodle instance but is not a platform-level privilege.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install moodle-ws - 安装完成后,直接呼叫该 Skill 的名称或使用
/moodle-ws触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.3.1
Agrega función duplicar_curso para crear comisiones desde plantilla, README mejorado, LICENSE MIT
元数据
常见问题
Moodle Web Services Skill 是什么?
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 114 次。
如何安装 Moodle Web Services Skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install moodle-ws」即可一键安装,无需额外配置。
Moodle Web Services Skill 是免费的吗?
是的,Moodle Web Services Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Moodle Web Services Skill 支持哪些平台?
Moodle Web Services Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Moodle Web Services Skill?
由 exeandino(@exeandino)开发并维护,当前版本 v1.3.1。
推荐 Skills