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-privacy-audit)<a href="https://agentmods.dev/commands/saadrahman01/claude-moodle-dev/moodle-privacy-audit"><img src="https://agentmods.dev/badge/commands/saadrahman01/claude-moodle-dev/moodle-privacy-audit/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.
<a href="https://agentmods.dev/commands/saadrahman01/claude-moodle-dev/moodle-privacy-audit"><img src="https://agentmods.dev/badge/commands/saadrahman01/claude-moodle-dev/moodle-privacy-audit.svg" alt="Reviewed on agentmods" width="80" 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.00491 |
| Opus 5 | $0.00000 | $0.00246 |
| Sonnet 5 | $0.00000 | $0.00098 |
| Haiku 4.5 | $0.00000 | $0.00049 |
Grade A, and why
moodle-privacy-audit 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 12d 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-privacy-audit
Audit a Moodle plugin's privacy provider for completeness against its DB schema.
You will audit the privacy provider of a Moodle plugin.
User's input:
Activate the moodle-privacy-gdpr skill for context.
Steps:
- Locate the plugin directory. If unclear, ask.
- Read
db/install.xml(ordb/upgrade.phpif no install.xml) — list every table and column. - Identify columns that store user-identifying data:
userid,user_id,createdby,modifiedby,usermodified,relateduserid- Free-text fields a user authored (
content,comment,description,note) - File pointers (
itemidreferencingmdl_files) - Identifiers from external systems linked to a user
- Read
classes/privacy/provider.php. - For each user-identifying column, check:
- It is declared in
get_metadata()viaadd_database_tablewith a lang string - The column has an entry in
lang/en/<component>.phpof the formprivacy:metadata:<table>:<column> get_contexts_for_useridreturns contexts where the user has dataget_users_in_contextreturns users who have data in a given contextexport_user_dataexports the data per contextdelete_data_for_useranddelete_data_for_usersdelete it correctlydelete_data_for_all_users_in_contexthonors context level
- It is declared in
- Check for subsystem usage:
- If plugin attaches files via the Moodle Files API,
add_subsystem_link('core_files', ...)must be present - Same for
core_comment,core_rating,core_tagif used
- If plugin attaches files via the Moodle Files API,
- If plugin stores no user data, check it implements
null_providercorrectly (get_reasonreturns lang string key,privacy:metadatalang string defined). - Output findings:
- GREEN: present and correct
- YELLOW: present but incomplete / missing lang strings
- RED: missing entirely
Propose a fixed provider.php and the missing lang strings if there are issues. Don't write the changes without user confirmation if the plugin is non-trivial.
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.
- 12d ago First seen · 39 lines · 0 tokens per session scan A 2fcc602fc1d1
moodle-privacy-audit 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 491 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
assess-ai-vendor
Assess an AI vendor relationship and produce evidence-backed risks, conditions, and contractual redlines.
generate-evidence-pack
Compile traceable AI governance evidence into a scoped review pack without overstating completeness or compliance.
review-ai-policy
Review or draft an AI governance policy with current EU AI Act roles, controls, evidence, and escalation paths.
run-dpia
Run a GDPR Article 35 DPIA for an AI system and coordinate it with any separate EU AI Act FRIA.
dd
Run a 12-step legal due diligence across 4 parallel streams.
litigate
Prepare pleadings, strategy, and evidence analysis for litigation.