claude-moodle-dev copilot-instructions.md

claude-moodle-dev copilot-instructions.md is an instructions file for GitHub Copilot from SaadRahman01/claude-moodle-dev. It costs 834 tokens per session, scanned A, original, MIT.

Development instructions for Moodle plugins, which are add-ons for the Moodle online learning platform. They point coding work to the relevant rules for accessibility, JavaScript, testing, hooks, and mobile apps.

In plain words
What is it for?
Use them when building or changing Moodle plugins, especially their user interface, JavaScript modules, automated tests, event hooks, or mobile-app integration.
Why use it?
They reduce the chance of writing Moodle code that conflicts with the platform’s conventions or misses required checks. They also help choose the right development guidance for each task.

Instructions file for GitHub Copilot

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.

agentmods
npx agentmods add instructions/saadrahman01/claude-moodle-dev/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/SaadRahman01/claude-moodle-dev

Made for: GitHub Copilot.

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 claude-moodle-dev copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/saadrahman01/claude-moodle-dev/copilot-instructions.svg)](https://agentmods.dev/instructions/saadrahman01/claude-moodle-dev/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/saadrahman01/claude-moodle-dev/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/saadrahman01/claude-moodle-dev/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 834 This file is loaded in full into every session.
When invoked 834 The same file — it is already loaded in full.
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.00834 $0.00834
Opus 5 $0.00417 $0.00417
Sonnet 5 $0.00167 $0.00167
Haiku 4.5 $0.00083 $0.00083

Measured 5d ago against content hash 96c497102f6c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

claude-moodle-dev copilot-instructions.md 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 5d 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.

adapters/copilot/.github/copilot-instructions.md · 18 lines

What it actually says

Moodle Development Instructions

This repo follows Moodle plugin conventions. Apply the relevant skill below to any Moodle-related task.

  • moodle-accessibility — Use when ensuring Moodle plugin UI meets WCAG 2.1 AA — semantic HTML in Mustache, ARIA via core helpers, keyboard navigation, color contrast in SCSS, focus management in modals, screen reader testing, and Pa11y/axe automation.
  • moodle-amd-javascript — Use when writing JavaScript for Moodle — AMD modules, ES6 source, grunt build, RequireJS loading, core/ajax + core/str + core/templates + core/modal + core/notification, Mustache template hydration, and AMD unit tests.
  • moodle-behat-testing — Use when writing or running Behat acceptance tests for Moodle plugins. Covers feature files, custom step definitions, tags, data generators in Background, JavaScript scenarios, and Selenium/Chromedriver setup.
  • moodle-hooks-api — Use when implementing or migrating to the Moodle 4.4+ Hooks API. Covers hook class authoring (db/hooks.php), callback registration, dispatching, replacing legacy magic callbacks (extend_navigation, before_http_headers, etc.), and testing hook listeners.
  • moodle-mobile-app — Use when integrating a Moodle plugin with the Moodle Mobile app — db/mobile.php remote templates, Ionic/Angular components delivered server-side, mobile.php view types, addons, push notifications, and offline support.
  • moodle-performance — Use when optimizing Moodle plugin performance — MUC caching definitions, query optimization, recordsets vs records, ad-hoc and scheduled tasks, lazy loading, OPcache, query log analysis, $PERF, and performance debug toolbar.
  • moodle-phpunit-testing — Use when writing, running, or debugging PHPUnit tests for Moodle plugins or core. Covers advanced_testcase, resetAfterTest, data generators, mocking $DB, testing events/tasks/external functions, and CLI invocation.
  • moodle-plugin-development — Use when creating, modifying, upgrading, or reviewing Moodle plugins (local, mod, block, format, theme, auth, enrol, report, qtype, filter, repository) - covers version.php, db/install.xml + upgrade.php, db/access.php capabilities, db/services.php web services, lang strings, classes/ PSR-4 autoloading, lib.php hooks, settings.php, privacy provider, and Moodle coding standards.
  • moodle-privacy-gdpr — Use when implementing or reviewing the Moodle privacy provider (GDPR) — null_provider vs request\plugin\provider, get_metadata, export_user_data, delete_data_for_user_in_context, delete_data_for_users, get_contexts_for_userid, get_users_in_context, subsystem links, and core_userlist_provider.
  • moodle-security-audit — Use when reviewing or hardening Moodle plugin code for security — capability checks, sesskey CSRF, input validation, SQL injection, XSS, file serving, SSRF, IDOR, secrets handling, and Moodle's specific anti-patterns.
  • moodle-theme-development — Use when developing Moodle themes — Boost child themes, theme/yourtheme/config.php, SCSS pre/post hooks, layouts, Mustache template overrides, theme settings, $OUTPUT renderer overrides, and theme designer mode.
  • moodle-upgrade-migration — Use when upgrading a Moodle plugin across versions, fixing deprecated API usage, or migrating to Moodle 4.x/5.x (incl. 5.1/5.2) conventions — print_error, add_to_log, formslib changes, external_api namespace, Hooks API, /public doc-root, Routing Engine, PSR-4 migration, PHP 8.1–8.4 upgrades, and required upgrade.txt notes.
  • moodle-web-services — Use when adding/calling Moodle web services or external functions — db/services.php, classes/external/, REST/SOAP/AJAX protocols, tokens, capabilities, parameters/returns schemas, file uploads, and rate limiting.
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. 5d ago First seen · 18 lines · 834 tokens per session scan A 96c497102f6c

Subscribe to this mod's changes

claude-moodle-dev copilot-instructions.md is an instructions file published in the GitHub repository SaadRahman01/claude-moodle-dev (35 stars, last pushed 2mo ago), licensed MIT. It adds 834 tokens to every session, about $0.0042 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-30.

Related

Other instructions, from other repositories

classroomio CLAUDE.md

Claude Code instructions for classroomio/classroomio, a project described as: The Open Source Education Platform for Companies. A Simple and Beautiful Alternative to Moodle LMS, EdX, Thinkific and Teachable.

classroomio/classroomio · 3 tokens

classroomio AGENTS.md

AGENTS.md instructions for classroomio/classroomio, covering agent guidance, research requirements, out of scope paths, translation, formatting, and git workflow and verification before commit/pr.

classroomio/classroomio · 11,428 tokens

MoodleMCP CLAUDE.md

Claude Code instructions for leshamblin/MoodleMCP, covering claude instructions for moodle mcp server project, project context, key facts, critical safety information and current implementation.

leshamblin/MoodleMCP · 2,343 tokens

building-a-coding-agent-from-scratch-course AGENTS.md

AGENTS.md instructions for decodingai-magazine/building-a-coding-agent-from-scratch-course, covering decode, project structure, tech stack, docs & external services and running commands.

decodingai-magazine/building-a-coding-agent-from-scratch-course · 4,257 tokens

MindTrain AGENTS.md

Instructions for shigella520/MindTrain, covering repository instructions, mindtrain target architecture, training and content integrity, safety and integrity and fast release workflow.

shigella520/MindTrain · 559 tokens

claude-tutor CLAUDE.md

Claude Code instructions for kirilxd/claude-tutor, covering claude.md, what this is, testing, architecture and data layout.

kirilxd/claude-tutor · 1,046 tokens