claude-moodle-dev: Instructions file for GitHub Copilot

adapters/copilot/.github/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

Written for GitHub Copilot: a Copilot instructions file.

This is SaadRahman01/claude-moodle-dev's own configuration. It tells GitHub Copilot how to work on claude-moodle-dev itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-moodle-dev configures →

Reuse

Borrowing it

Nothing to install: this file belongs to SaadRahman01/claude-moodle-dev. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/SaadRahman01/claude-moodle-dev/main/adapters/copilot/.github/copilot-instructions.md
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/github.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/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 claude-moodle-dev copilot-instructions.md

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. 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.00834 $0.00834
Opus 5.5 $0.00334 $0.00334
Sonnet 5.5 $0.00167 $0.00167
Haiku 4.5 $0.00083 $0.00083

Measured 1mo ago against content hash 96c497102f6c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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. 1mo 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 (40 stars, last pushed 4mo ago), licensed MIT. It adds 834 tokens to every session, about $0.0033 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 instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,649 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,384 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens