moodle

moodle is a skill for Claude Code from rudini/claude-edu-plugins. It costs 44 tokens per session (2,378 once invoked), scanned A, original, MIT.

A command-line tool for managing Moodle courses, where Moodle is a platform for online courses and learning activities. It can manage course sections and activities, quizzes, imported questions, and AI-assisted essay grading.

In plain words
What is it for?
Use it to log in to Moodle, inspect or update course content, create quizzes and activities, import GIFT question files, and grade essays with AI assistance.
Why use it?
It lets you handle course content through commands while requiring a dry run and confirmation before live destructive changes. It also supports read-only inspection of course structures and activities.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the moodle-skill plugin — 1 skill shipped together

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add rudini/claude-edu-plugins
Claude Code
/plugin install moodle-skill

Made for: Claude Code.

Or install moodle-skill, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for moodle

README.md
[![agentmods](https://agentmods.dev/badge/skills/rudini/claude-edu-plugins/moodle.svg)](https://agentmods.dev/skills/rudini/claude-edu-plugins/moodle)
Your own site
<a href="https://agentmods.dev/skills/rudini/claude-edu-plugins/moodle"><img src="https://agentmods.dev/badge/skills/rudini/claude-edu-plugins/moodle.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,378 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.02378
Opus 5 $0.00022 $0.01189
Sonnet 5 $0.00009 $0.00476
Haiku 4.5 $0.00004 $0.00238

Measured 6d ago against content hash 6bf873333db9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

moodle scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/moodle-skill/skills/moodle/SKILL.md · 172 lines

How it starts

The opening of the file, as written. The whole thing — 172 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Moodle Skill — Generic Moodle Course Management

Manage any Moodle course via the moodle-updater.js CLI. All destructive operations require a dry-run first, then explicit user confirmation before --live.

When This Skill Activates

  • Explicit: /moodle-skill:moodle, /moodle-skill:moodle structure

Prerequisites

  • .env in your project root with MOODLE_URL, MOODLE_SESSION, and COURSE_ID
  • Dependencies: Auto-installed on first session via hooks (jsdom, marked, marked-highlight, highlight.js, turndown, playwright)
  • Playwright browser: Installed automatically on first login command

Workflow

Phase 1: Parse Command

  1. Parse $ARGUMENTS — if arguments provided, use as command + args and proceed to Phase 2.
  2. If $ARGUMENTS is empty, present the Command Reference Table below and ask which command to run.

Phase 2: Dry-Run

login command: Execute directly — opens a browser for authentication. The browser auto-closes once login is detected. Supports --browser msedge or --browser chrome for SSO.

Read-only commands (structure, list-activities, show-label, show-page, dump-form, dump-grading): Execute directly.

NODE_PATH="${CLAUDE_PLUGIN_DATA}/node_modules" node "${CLAUDE_PLUGIN_ROOT}/scripts/moodle-updater.js" <command> <args...>

All other commands: Execute WITHOUT --live first (dry-run is the default).

Phase 3: Live Execution

After showing the dry-run output, ask the user for confirmation before running with --live.

NODE_PATH="${CLAUDE_PLUGIN_DATA}/node_modules" node "${CLAUDE_PLUGIN_ROOT}/scripts/moodle-updater.js" <command> <args...> --live

Command Reference

Group Command Arguments Description
Setup login [--browser msedge|chrome] Open browser, login, save cookie to .env (auto-closes)
Read structure Show course structure
Read list-activities <sectionId> List activities in a section
Read show-label <moduleId> Show label HTML
Read show-page <moduleId> Show page HTML
Update update-label <moduleId> <htmlFile> Replace label content
Update update-page <moduleId> <htmlFile> Replace page content
Update update-summary <sectionId> <htmlFile> Replace section summary
CRUD create-url <sectionNum> <name> <url> Create URL activity
CRUD create-page <sectionNum> <name> <htmlOrMdFile> Create text page (.md auto-converts)
CRUD create-label <sectionNum> <htmlOrMdFile> Create label (no name field; .md auto-converts)
CRUD create-resource <sectionNum> <name> <file> Upload file resource
CRUD create-assign <sectionNum> <name> <htmlOrMdFile> [--open ts] [--due ts] Create assignment
CRUD create-forum <sectionNum> <name> <htmlOrMdFile> Create forum
CRUD create-quiz <sectionNum> <configJson> Create quiz (SEB, time limit)
Manage delete-activity <moduleId> Delete activity
Manage hide-activity <moduleId> Hide activity
Manage indent-activity <moduleId> Indent activity
Manage move-activity <moduleId> <afterModuleId> Move activity
Sections add-section Append a new empty section at the end
Sections delete-section <sectionId> Delete section
Sections duplicate-section Duplicate last section
Sections move-section <sectionId> <targetSectionId> Move section before target
Sections rename-section <sectionId> <title> Rename section
Quiz import-gift <cmid> <giftFile> Import GIFT questions
Quiz add-questions-to-quiz <cmid> [categoryName] Assign questions to quiz
Quiz delete-quiz-questions <cmid> [categoryName] Delete questions in category
Grading grade-essay scrape <cmid> --gift <path> [--slot N] --output <file> Export student responses as JSON
Grading grade-essay submit <cmid> --grades <file> [--live] Submit grades to Moodle
Assignment assign-students <cmid> [--out <path>] List participants + submission status
Assignment assign-subs <cmid> [--all] [--user <id>] Download submissions (online text + files)
Assignment assign-grades <cmid> [--user <id>] Read current grade per participant
Assignment assign-submit <cmid> --from <grades.json> [--user <id>] [--live] Write points + comments back to Moodle
Gradebook gradebook Show gradebook tree with item IDs + weights
Gradebook gradebook-create-category <name> [--aggregation N] [--weight N] [--live] Create a grade category
Gradebook gradebook-set-weights <id:weight ...> [--live] Set weight overrides (IDs from gradebook)
Gradebook gradebook-move-to-category <cmid> <categoryId> [--live] Move an activity into a category
Diagnostic dump-form <type> <sectionNum> Inspect form fields
Diagnostic dump-grading <cmid> [--slot N] Inspect grading page

Read the full file on GitHub · 172 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 172 lines · 44 tokens per session scan A 6bf873333db9

Subscribe to this mod's changes

moodle is a skill published in the GitHub repository rudini/claude-edu-plugins (4 stars, last pushed 2mo ago), licensed MIT. It adds 44 tokens to every session and 2,378 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

hr-onboarding

A new-hire onboarding plan as a single page — first week schedule, buddy + manager intro, learning track, equipment checklist, and "you're set when…" outcomes. Use when the brief mentions "onboarding", "new hire", "first week plan", or "入职".

nexu-io/open-design · 62 tokens

book-mirror

Take any book (EPUB/PDF), produce a personalized chapter-by-chapter analysis. Each chapter is preserved in detail (The Chapter) and mirrored back to the reader's actual life (The Mirror) using brain context. The mirror observes and resonates — a friend pointing out parallels, NOT a consultant rearranging the reader's…

garrytan/gbrain · 138 tokens

miniapp

Build a tiny interactive HTML playground only when someone asks to see, play with, or step through a mechanism.

yc-software/qm · 25 tokens

eli5

Explain research, papers, or technical ideas in plain English with minimal jargon, concrete analogies, and clear takeaways. Use when the user says "ELI5 this", asks for a simple explanation of a paper or research result, wants jargon removed, or asks what something technically dense actually means.

companion-inc/feynman · 63 tokens

deck-course-module

暖纸背景 + Playfair, 左侧学习目标常驻, 含 MCQ 自测页.

nexu-io/html-anything · 25 tokens

master-yinguang

Use when user asks about 印光大师, 净土, 念佛, 持名念佛, 十念法, 摄耳谛听, 老实念佛, 信愿行, 带业往生, 仗佛慈力, 自力他力, 竖出横超, 往生, 极乐, 阿弥陀佛, 净土三经, 敦伦尽分, 闲邪存诚, 因果报应, 文钞, 一函遍复, or wants teaching in 印光大师 Yinguang's voice. Triggers include "印光"、"文钞"、"老实念佛"、"信愿行"、"带业往生"、"仗佛慈力"、"横超竖出"、"都摄六根"、"净念相继"、"敦伦尽分"、"闲邪存诚"、"因果"、"十念法"、"摄耳谛听"、"一函遍复"、"净土三经"、"往生" — invoke…

xr843/Master-skill · 274 tokens