Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/SaadRahman01/claude-moodle-devWrote 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.
[](https://agentmods.dev/commands/saadrahman01/claude-moodle-dev/moodle-new-plugin)<a href="https://agentmods.dev/commands/saadrahman01/claude-moodle-dev/moodle-new-plugin"><img src="https://agentmods.dev/badge/commands/saadrahman01/claude-moodle-dev/moodle-new-plugin.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00485 |
| Opus 5 | $0.00000 | $0.00243 |
| Sonnet 5 | $0.00000 | $0.00097 |
| Haiku 4.5 | $0.00000 | $0.00049 |
Grade A, and why
moodle-new-plugin 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 8d 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.
What it actually says
/moodle-new-plugin
Scaffold a new Moodle plugin (asks for type + name).
You will scaffold a new Moodle plugin.
User's input:
If <args> is empty or missing required values, ask the user:
- Plugin type (one of:
local,mod,block,format,theme,auth,enrol,report,qtype,filter,repository) - Plugin name (lowercase, no underscores in the name part — frankenstyle becomes
<type>_<name>) - Target Moodle minimum version (default: latest LTS)
- Whether the plugin will store user data (affects privacy provider choice)
Then:
- Activate the
moodle-plugin-developmentskill for conventions. - Create the directory under
<moodle-root>/<typedir>/<name>/(e.g.,local/attendance/). If<moodle-root>is unknown, ask. - Generate the minimum required files for the chosen plugin type using the cheatsheet in the
moodle-plugin-developmentskill. - Always include:
version.phpwith correct frankenstyle component, today's date as version (YYYYMMDD00), and the user'srequiresvaluelang/en/<component>.phpwith at leastpluginnameclasses/privacy/provider.php—null_providerif no user data, otherwise scaffold the full provider per themoodle-privacy-gdprskill- GPL-3.0-or-later license header on every PHP file
defined('MOODLE_INTERNAL') || die();after the license block (skip inclasses/PSR-4 files)
- If the plugin type has type-specific required files (e.g.,
mod_form.phpfor activity modules,block_<name>.phpfor blocks), include them. - Print a summary of what was created and the next steps the user should take (run
php admin/cli/upgrade.php, register capabilities, write tests).
Coding standards: 4-space indent, no closing ?>, snake_case functions, PascalCase classes.
If unsure about a Moodle version difference, prefer the convention used in Moodle 4.5+ and note any back-compat concerns.
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.
- 8d ago First seen · 32 lines · 0 tokens per session scan A 442cd3d40aa9
moodle-new-plugin is a command published in the GitHub repository SaadRahman01/claude-moodle-dev (36 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 485 tokens. 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-30.
Other commands, from other repositories
quiz
Quiz yourself on a topic from your learning plan with adaptive difficulty and mixed question formats.
review
View your learning progress — quiz scores, weak areas, and what to study next.
interview
Prepare for the interview from the filed application — predicted questions, STAR answers from real evidence, and gap-defence.
ts-cohort
TS cohort-analyst cohort-profile mode — analyze student readiness data.
ts-spec
TS submission-auditor spec mode — compile a checkable Submission Spec.
ts-announce
TS course-publisher announcement mode — student announcement draft.