moodle-scaffolder

moodle-scaffolder is an agent for Claude Code from SaadRahman01/claude-moodle-dev. It costs 54 tokens per session (1,183 once invoked), scanned A, original, MIT.

An agent that creates the starting files and folders for a new Moodle plugin from a short description.

In plain words
What is it for?
Creating skeletons for plugin types such as local, activity, block, theme, authentication, report, question type, filter, or repository plugins.
Why use it?
It removes the need to remember Moodle’s required naming, version, language, privacy, permission, and test files when starting a plugin.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the moodle-dev plugin — 13 skills, 8 commands, 2 agents shipped together

Good fit Creating skeletons for plugin types such as local, activity, block, theme, authentication, report, question type, filter, or repository plugins.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/saadrahman01/claude-moodle-dev/moodle-scaffolder
Install

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.

Clone the repo
git clone --depth 1 https://github.com/SaadRahman01/claude-moodle-dev

Made for: Claude Code.

Or install moodle-dev, the plugin that ships this one along with the rest of its 13 skills, 8 commands, 2 agents.

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-scaffolder

README.md
[![agentmods](https://agentmods.dev/badge/agents/saadrahman01/claude-moodle-dev/moodle-scaffolder/github.svg)](https://agentmods.dev/agents/saadrahman01/claude-moodle-dev/moodle-scaffolder)
Your own site
<a href="https://agentmods.dev/agents/saadrahman01/claude-moodle-dev/moodle-scaffolder"><img src="https://agentmods.dev/badge/agents/saadrahman01/claude-moodle-dev/moodle-scaffolder/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for moodle-scaffolder

Your own site · 80×15
<a href="https://agentmods.dev/agents/saadrahman01/claude-moodle-dev/moodle-scaffolder"><img src="https://agentmods.dev/badge/agents/saadrahman01/claude-moodle-dev/moodle-scaffolder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,183 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00054 $0.01183
Opus 5.5 $0.00022 $0.00473
Sonnet 5.5 $0.00011 $0.00237
Haiku 4.5 $0.00005 $0.00118

Measured 1mo ago against content hash 378a7f8bd54c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

moodle-scaffolder 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 1mo 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.

agents/moodle-scaffolder.md · 138 lines

How it starts

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

You are a Moodle plugin scaffolding specialist. You generate complete, idiomatic plugin skeletons that pass phpcs --standard=moodle out of the box.

Inputs

You will be given (or asked to obtain):

  • Plugin type — local, mod, block, format, theme, auth, enrol, report, qtype, filter, repository
  • Plugin name — lowercase, no underscore in name part
  • Target Moodle version — requires field
  • What it does — short description; informs feature surface
  • User data? — drives privacy provider type
  • Moodle root path — where to write files

If any are missing, ask once at the start, then proceed.

Always include

For every plugin, regardless of type:

  1. version.php with:

    • $plugin->component = frankenstyle (<type>_<name>)
    • $plugin->version = YYYYMMDD00 (today)
    • $plugin->requires = user-supplied
    • $plugin->maturity = MATURITY_ALPHA; (caller can bump later)
    • $plugin->release = '0.1.0';
  2. lang/en/<component>.php with at least:

    • pluginname
    • privacy:metadata (or per-table strings if full provider)
  3. classes/privacy/provider.php:

    • null_provider if "stores user data?" = no
    • Full provider scaffold (per the moodle-privacy-gdpr skill) if yes
  4. db/access.php if the plugin will have any access-controlled action (default: yes, with a single <plugin>:view capability)

  5. README.md with install instructions

  6. CHANGELOG.md with ## [0.1.0] initial entry

  7. GPL-3.0-or-later license header on every PHP file

  8. defined('MOODLE_INTERNAL') || die(); after license (skip in classes/ PSR-4 files)

Type-specific extras

local

  • Optional lib.php, settings.php

mod (activity module)

  • mod_form.php extending moodleform_mod
  • view.php
  • lib.php with <name>_supports, <name>_add_instance, <name>_update_instance, <name>_delete_instance
  • db/install.xml with the required <name> table (id, course, name, intro, introformat, timecreated, timemodified)

Read the full file on GitHub · 138 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. 1mo ago First seen · 138 lines · 54 tokens per session scan A 378a7f8bd54c

Subscribe to this mod's changes

moodle-scaffolder is an agent published in the GitHub repository SaadRahman01/claude-moodle-dev (40 stars, last pushed 4mo ago), licensed MIT. It adds 54 tokens to every session and 1,183 once invoked, about $0.0002 per session on Opus 5.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-30.

Related

Other agents, from other repositories

hulde-review-guide

Use this agent when users need help understanding, querying, or working with a Hulde Review knowledge graph. Guides users through graph structure, node/edge relationships, layer architecture, tours, and dashboard usage.

TarrySingh/hulde-review · 49 tokens

content-producer

Agent san xuat noi dung — viet script, copy, brief creator, lap lich noi dung.

minhnv0807/ai-business-skills · 23 tokens

alchemist

Creative technologist who sees the browser as an unexplored physics engine. Consult when building UI that needs to feel alive - scroll-driven reveals, morphing transitions, spatial animation systems, anything where the interaction itself IS the product. Thinks in weight, tension, and breath before thinking in code.…

drobins25/craft · 355 tokens

verifier

Verification agent for /craft:research-verify. Takes a single claim from existing research and attempts to disprove it using independent primary sources. Returns a verdict (CONFIRMED/REFUTED/PARTIALLYTRUE/UNVERIFIABLE) with evidence. NOT a researcher. Does not discover new topics or cast a wide net. Takes one claim…

drobins25/craft · 178 tokens

consistency_auditor_agent

Cross-TA grading-consistency analysis from professor-provided samples — aggregate-first, drift flags, re-calibration triggers, never a league table.

YujxZJCN/teaching-skills · 35 tokens

scope-strategist

Scope and phasing strategist that defines complete implementation scope, identifies natural phases, and determines execution order with parallelism opportunities for full-scale feature delivery.

TeamManagementPlugin/claude-plugin · 33 tokens