4strium/moodle-claw/SKILL.md
Interact with Moodle LMS to browse courses, access learning materials, and answer questions about course content.
npx skillsauth add openclaw/skills moodle-clawInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill allows you to interact with a Moodle learning management system (LMS) to help users with their courses, assignments, and learning materials.
If moodle-claw binary is missing, download it:
URL="https://github.com/4strium/moodle-claw/releases/download/v1.0/moodle-claw" SHA256="0ce9e6ad4e42c626ebe2c4ce79bde23da3386dc8e4b54a87da0a345a1a0252aa"
curl -L -o moodle-claw "$URL" echo "$SHA256 moodle-claw" | sha256sum -c - chmod +x moodle-claw
Before using moodle-claw commands, the user needs to configure their Moodle connection:
moodle-claw configure
This will interactively prompt for:
https://moodle.university.eduIf you already have a 32-character hex token:
moodle-claw configure --url https://moodle.example.com --token YOUR_32_CHAR_TOKEN --path ~/Documents/Moodle
For institutions using SSO (Single Sign-On):
https://YOUR_MOODLE_URL/admin/tool/mobile/launch.php?service=moodle_mobile_app&passport=12345&urlscheme=moodlemobile
moodlemobile://token=BASE64_ENCODED_STRINGmoodle-claw configure --url https://moodle.example.com --sso-url "moodlemobile://token=..." --path ~/Documents/Moodle
Or use interactive mode and select "SSO (redirect URL)":
moodle-claw configure
For institutions allowing direct login:
moodle-claw configure --url https://moodle.example.com --username your_user --password your_pass --path ~/Documents/Moodle
moodle-claw status [--output json]
Shows current configuration and connection status.
moodle-claw courses [--filter "math"] [--refresh] [--output json]
Lists all enrolled courses. Use --refresh to fetch latest from server.
moodle-claw content "Course Name" [--section "TD2"] [--output json]
moodle-claw content 12345 # by course ID
Shows the structure of a course (sections, modules, files).
moodle-claw search "exercise" [--course "Physics"] [--type file] [--output json]
Searches for content across courses.
moodle-claw get "Course/Section/file.pdf" [--course "Math"] [--dest /tmp]
moodle-claw get --url "https://moodle.../pluginfile.php/..." [--dest /tmp]
# Extract text from PDF files (recommended for reading content)
moodle-claw get "file.pdf" --text --output json
Downloads a file and returns its local path. Use --text (-t) to automatically extract text content from PDF files.
moodle-claw sync "Course Name" [--dest ~/Courses] [--no-confirm]
moodle-claw sync # syncs all enabled courses
Downloads all files from a course.
moodle-claw courses --filter "keyword"moodle-claw content "Course Name"moodle-claw get "path/to/file.pdf"moodle-claw search "TD2" --course "Course Name"moodle-claw get "path/to/file.pdf" --textmoodle-claw sync "Course Name" --no-confirmAll commands support --output json for structured output, or the default markdown format for human readability.
User: "Explique-moi le cours de mécanique"
# 1. Find the course
moodle-claw courses --filter "mécanique" --output json
# 2. Get course structure
moodle-claw content "Mécanique" --output json
# 3. Download relevant materials and explain
moodle-claw get "Mécanique/Chapitre 1/cours.pdf" --output json
User: "Quel est l'exercice 3 du TD2 en maths?"
# 1. Search for TD2 in math course
moodle-claw search "TD2" --course "maths" --output json
# 2. Download the TD2 file and extract text
moodle-claw get "TD2.pdf" --course "maths" --text --output json
# The text content will be in the JSON output for you to analyze
User: "Télécharge tous les fichiers du cours de physique"
moodle-claw sync "Physique" --no-confirm
--refresh on moodle-claw courses to update the course list from server--output json flag is useful for parsing structured data--text with moodle-claw get to extract text from PDF files directlytools
Use when the user wants to connect to, test, or use the McDonalds service at mcp.mcd.cn, including checking authentication, probing MCP endpoints, listing tools, or calling McDonalds MCP tools through a reusable local CLI.
development
Web scraping platform — Twitter/X data, Vinted marketplace, and general web scraping API
development
SlowMist AI Agent Security Review — comprehensive security framework for skills, repositories, URLs, on-chain addresses, and products (Claude Code version)
data-ai
去除中文文本中的 AI 写作痕迹,使其读起来自然。基于维基百科 AI 写作特征指南,检测 24 种 AI 模式。触发词:humanizer-cn、去除 AI 痕迹、去除 AI 写作痕迹、中文文本人性化。