← 返回 Skills 市场
jabir-srj

Moodle Connector Skill

作者 Jabir Iliyas Suraj-Deen · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
91
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install moodle-connector-skill
功能描述
Moodle REST API client, batch downloader, and MCP server for Claude Code integration
安全使用建议
What to check before installing or enabling this skill: - Do not blindly paste your encryption password into agent config files. Instead, prefer setting MOODLE_CRED_PASSWORD as a process environment variable (and do not commit it to disk). - There are clear mismatches to fix before trusting the skill: mcp_server.py currently uses a hard-coded password ('test-pass') rather than reading MOODLE_CRED_PASSWORD; batch_downloader.py references os.getenv but doesn't import os. These bugs can cause the server to run with incorrect credentials or leak prompts. - SKILL.md and metadata disagree: the registry lists no required env vars but the runtime requires a password and a Moodle token in config.json. Verify which secrets the skill actually needs and whether you are comfortable supplying them. - The MCP server exposes Moodle functions to any MCP-capable agent that you configure. Limit exposure by either (a) running the MCP server manually under your control, (b) using a dedicated account/token with minimal privileges, or (c) not adding the server to global agent configs. - Playwright will download browser binaries and the code appears to drive an interactive Microsoft SSO flow (login.microsoftonline.com). If you plan automated runs, confirm the code's headless behavior and that MFA flows won't leak session data. - License/author notes are inconsistent in SKILL.md (MIT header but a contributing instruction mentions GPLv3) — confirm licensing before reuse. If you want, I can: - Point to the exact lines to change so mcp_server reads MOODLE_CRED_PASSWORD from the environment and batch_downloader imports os. - Produce a short secure deployment checklist (least-privilege token creation, run MCP server manually, avoid storing secrets in agent config). Confidence: medium — the files are not obviously malicious, but the number of mismatches and insecure instructions meaningfully increase risk and warrant fixing/review before use.
功能分析
Type: OpenClaw Skill Name: moodle-connector-skill Version: 1.0.0 The Moodle Connector skill is a legitimate tool for interacting with Moodle LMS instances, providing features like course listing, grade tracking, and file downloading. It uses standard security practices such as PBKDF2 and Fernet for local credential encryption and Playwright for handling Microsoft SSO/MFA. No evidence of malicious intent, data exfiltration, or prompt injection was found; the code's behavior is consistent with its documented purpose.
能力标签
requires-oauth-token
能力评估
Purpose & Capability
The code implements a Moodle REST client, batch downloader, and MCP server which matches the stated purpose. However the SKILL metadata declares no required environment variables while SKILL.md and the code expect an encryption password / tokens (MOODLE_CRED_PASSWORD, config.json with web_service_token). That mismatch between declared requirements and what the skill actually needs is incoherent.
Instruction Scope
SKILL.md instructs adding MOODLE_CRED_PASSWORD in claude_desktop_config.json (putting the encryption password into an agent config file) and enabling an MCP server that gives the agent direct access to Moodle functions. The code, however, contains mismatches: mcp_server.py constructs the connector with a hard-coded password ('test-pass') instead of reading the env var, and batch_downloader references os.getenv without importing os. The SKILL.md also claims 'no telemetry' and 'safe for headless' even though the code uses Playwright for interactive SSO (and launches a non-headless browser in the truncated snippet).
Install Mechanism
This is instruction-only (no install spec in registry) and the repo includes requirements.txt and a package.json 'install' script that runs pip and playwright. No remote downloads or obscure installers are present in the package itself, but following the published install steps will install third-party packages and Playwright (which will download browser binaries).
Credentials
The skill expects sensitive inputs (Moodle webservice token in config.json and an encryption password). The registry lists no required env vars, yet SKILL.md requires MOODLE_CRED_PASSWORD. SKILL.md recommends putting that password directly into claude_desktop_config.json (cleartext in agent config) — this is disproportionate and risky. The code writes encrypted credentials to disk, but the hard-coded 'test-pass' in mcp_server undermines that model and could cause incorrect behavior or require storing secrets elsewhere.
Persistence & Privilege
The skill is not marked always:true. The main persistence concern is operational: the MCP server runs as a long-lived tool and the SKILL.md tells the user to add it to claude_desktop_config.json with the MOODLE_CRED_PASSWORD — that gives any agent with access to that MCP configuration the ability to call Moodle on the user's behalf. This is expected for an MCP integration but increases blast radius; combine with the secret-in-config guidance it becomes riskier.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install moodle-connector-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /moodle-connector-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of moodle-connector-skill v1.0.0. - Full-featured Moodle REST API client with batch downloading and MCP protocol support (Claude Code/OpenCode integration). - Provides complete Moodle API access for courses, grades, assignments, materials, deadlines, and announcements; aggressive download caching. - Offers multiple integration modes: CLI, Python library, and native MCP server. - Supports JSON-configurable batch downloads organized by course/module. - Credentials are encrypted with PBKDF2 and Fernet; sensitive data never stored in git. - Detailed security features: mandatory environment password, error sanitization, no telemetry. - Includes documentation for installation, quick start, configuration, and troubleshooting.
元数据
Slug moodle-connector-skill
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Moodle Connector Skill 是什么?

Moodle REST API client, batch downloader, and MCP server for Claude Code integration. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 91 次。

如何安装 Moodle Connector Skill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install moodle-connector-skill」即可一键安装,无需额外配置。

Moodle Connector Skill 是免费的吗?

是的,Moodle Connector Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Moodle Connector Skill 支持哪些平台?

Moodle Connector Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Moodle Connector Skill?

由 Jabir Iliyas Suraj-Deen(@jabir-srj)开发并维护,当前版本 v1.0.0。

💬 留言讨论