# Moodle mobile app

> Moodle mobile app is an open-source agent skill for developer tools. Guides building Moodle plugin UI that renders inside the Moodle Mobile app. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/SaadRahman01/claude-moodle-dev/tree/main/skills/moodle-mobile-app
- **Repository:** https://github.com/saadrahman01/claude-moodle-dev
- **GitHub stars:** 44
- **License:** MIT
- **Skill name:** moodle-mobile-app
- **Collection:** https://github.com/SaadRahman01/claude-moodle-dev
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill walks an agent through wiring a Moodle plugin into the Moodle Mobile app, which loads plugin screens as server-delivered Ionic and Angular templates rather than requiring an app rebuild. It covers declaring entry points in db/mobile.php across the app's delegate slots, writing the PHP output class that returns templates, scripts, styles and initial data, and exposing the matching web service functions.

The guidance also covers template directives and the helper objects available in template scripts, along with offline caching of read views and queued writes for mutations. It describes push notifications delivered through airnotifier and the steps to test against a local site using an emulator or the app source with ionic serve. The skill is a reference of patterns and common mistakes rather than a set of executable scripts.

It expects a Moodle plugin codebase with PHP and an existing site where web services for mobile are enabled. Knowledge of Moodle's plugin structure, Ionic and Angular is helpful.

## When your agent uses it

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

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/SaadRahman01/claude-moodle-dev/tree/HEAD/skills/moodle-mobile-app)
- [License: MIT](https://github.com/SaadRahman01/claude-moodle-dev/tree/HEAD/skills/moodle-mobile-app)

## Features

- **Mobile addon declaration:** Shows how to register plugin handlers in db/mobile.php for the app's menu, course and profile slots.
- **Server-side template output:** Explains the PHP class that returns templates, JavaScript, styles and data to the app.
- **Web service exposure:** Covers declaring mobile functions in db/services.php for the official mobile service.
- **Offline read and write support:** Describes pre-fetching views and queuing mutations when the device is offline.
- **Template directives reference:** Lists Moodle-specific filters and components available inside mobile templates.
- **Push notification setup:** Outlines how plugin events reach the app through airnotifier and user preferences.

## Good for

- Add a dashboard screen for my Moodle plugin in the mobile app
- Declare a course menu entry that shows attendance records
- Expose a web service function for a mobile view
- Make my plugin's mobile list available offline
- Send push notifications from my plugin's events to the app

## Install

### Claude Code

This skill ships in the `moodle-dev` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add SaadRahman01/claude-moodle-dev
/plugin install moodle-dev@moodle-dev
```

Or copy only this skill to `~/.claude/skills/moodle-mobile-app`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SaadRahman01/claude-moodle-dev.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/moodle-mobile-app &&
cp -R "$tmp/skills/moodle-mobile-app" ~/.claude/skills/moodle-mobile-app &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/moodle-mobile-app` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/moodle-mobile-app` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SaadRahman01/claude-moodle-dev.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/moodle-mobile-app &&
cp -R "$tmp/skills/moodle-mobile-app" ~/.agents/skills/moodle-mobile-app &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/moodle-mobile-app` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/moodle-mobile-app` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SaadRahman01/claude-moodle-dev.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/moodle-mobile-app &&
cp -R "$tmp/skills/moodle-mobile-app" ~/.cursor/skills/moodle-mobile-app &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/moodle-mobile-app` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/SaadRahman01/claude-moodle-dev.git --path skills/moodle-mobile-app
```

Or copy the folder to `~/.gemini/skills/moodle-mobile-app` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/moodle-mobile-app`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SaadRahman01/claude-moodle-dev.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/moodle-mobile-app &&
cp -R "$tmp/skills/moodle-mobile-app" ~/.copilot/skills/moodle-mobile-app &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/moodle-mobile-app` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/SaadRahman01/claude-moodle-dev.git
```

Then copy `claude-moodle-dev/skills/moodle-mobile-app` into your agent's skills folder as `moodle-mobile-app`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Moodle mobile app need before it can be used?

It is meant for Moodle plugin development and assumes a plugin codebase, a Moodle site with web services for mobile enabled, and familiarity with Ionic and Angular.

### When should Moodle mobile app trigger?

It applies when integrating a Moodle plugin with the Moodle Mobile app, such as adding remote templates, addons, push notifications or offline support. It is skipped for plugins used only in the browser admin UI.

### Does Moodle mobile app run any scripts?

No. The skill contains only instructions and code examples, with no scripts or additional reference files.

### How do I install Moodle mobile app in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/moodle-mobile-app to use it in all your projects, or to .claude/skills/moodle-mobile-app in one project. Or install the moodle-dev plugin, which includes it: /plugin marketplace add SaadRahman01/claude-moodle-dev, then /plugin install moodle-dev@moodle-dev.

### Does Moodle mobile app run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Moodle mobile app?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Moodle mobile app?

The closest alternatives to Moodle mobile app are Moodle plugin development, Moodle web services, Moodle accessibility, Moodle upgrade migration and Moodle phpunit testing.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Moodle plugin development](https://ai-powered.com/skills/moodle-plugin-development): Moodle plugin development is an open-source agent skill for developer tools.
- [Moodle web services](https://ai-powered.com/skills/moodle-web-services): Moodle web services is an open-source agent skill for developer tools.
- [Moodle accessibility](https://ai-powered.com/skills/moodle-accessibility): Moodle accessibility is an open-source agent skill for developer tools.
- [Moodle upgrade migration](https://ai-powered.com/skills/moodle-upgrade-migration): Moodle upgrade migration is an open-source agent skill for developer tools.
- [Moodle phpunit testing](https://ai-powered.com/skills/moodle-phpunit-testing): Moodle phpunit testing is an open-source agent skill for developer tools.
- [Moodle theme development](https://ai-powered.com/skills/moodle-theme-development): Moodle theme development is an open-source agent skill for developer tools.
- [Moodle security audit](https://ai-powered.com/skills/moodle-security-audit): Moodle security audit is an open-source agent skill for security.
- [Moodle hooks API](https://ai-powered.com/skills/moodle-hooks-api): Moodle hooks API is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/moodle-mobile-app
