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.
npx skills add tmolavi/mcp-agent-skills-hub --skill moodle-external-api-developmentgit clone --depth 1 https://github.com/tmolavi/mcp-agent-skills-hubWrote 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/skills/tmolavi/mcp-agent-skills-hub/moodle-external-api-development)<a href="https://agentmods.dev/skills/tmolavi/mcp-agent-skills-hub/moodle-external-api-development"><img src="https://agentmods.dev/badge/skills/tmolavi/mcp-agent-skills-hub/moodle-external-api-development/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/skills/tmolavi/mcp-agent-skills-hub/moodle-external-api-development"><img src="https://agentmods.dev/badge/skills/tmolavi/mcp-agent-skills-hub/moodle-external-api-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Data Exfiltration · line 401 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00032 | $0.04470 |
| Opus 5.5 | $0.00013 | $0.01788 |
| Sonnet 5.5 | $0.00006 | $0.00894 |
| Haiku 4.5 | $0.00003 | $0.00447 |
Grade A, and why
moodle-external-api-development scanned grade A with 1 finding 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 2mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
### 2. Via curl How it starts
The opening of the file, as written. The whole thing — 606 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Moodle External API Development
This skill guides you through creating custom external web service APIs for Moodle LMS, following Moodle's external API framework and coding standards.
When to Use This Skill
- Creating custom web services for Moodle plugins
- Implementing REST/AJAX endpoints for course management
- Building APIs for quiz operations, user tracking, or reporting
- Exposing Moodle functionality to external applications
- Developing mobile app backends using Moodle
Core Architecture Pattern
Moodle external APIs follow a strict three-method pattern:
execute_parameters()- Defines input parameter structureexecute()- Contains business logicexecute_returns()- Defines return structure
Step-by-Step Implementation
Step 1: Create the External API Class File
Location: /local/yourplugin/classes/external/your_api_name.php
<?php
namespace local_yourplugin\external;
defined('MOODLE_INTERNAL') || die();
require_once("$CFG->libdir/externallib.php");
use external_api;
use external_function_parameters;
use external_single_structure;
use external_value;
class your_api_name extends external_api {
// Three required methods will go here
}
Key Points:
- Class must extend
external_api - Namespace follows:
local_pluginname\externalormod_modname\external - Include the security check:
defined('MOODLE_INTERNAL') || die(); - Require externallib.php for base classes
Step 2: Define Input Parameters
public static function execute_parameters() {
return new external_function_parameters([
'userid' => new external_value(PARAM_INT, 'User ID', VALUE_REQUIRED),
'courseid' => new external_value(PARAM_INT, 'Course ID', VALUE_REQUIRED),
'options' => new external_single_structure([
'includedetails' => new external_value(PARAM_BOOL, 'Include details', VALUE_DEFAULT, false),
'limit' => new external_value(PARAM_INT, 'Result limit', VALUE_DEFAULT, 10)
], 'Options', VALUE_OPTIONAL)
]);
}
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.
- 2mo ago First seen · 606 lines · 32 tokens per session scan A 77b770c58191
moodle-external-api-development is a skill published in the GitHub repository tmolavi/mcp-agent-skills-hub (9 stars, last pushed 1mo ago), licensed MIT. It adds 32 tokens to every session and 4,470 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
moodle-external-api-development compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| moodle-external-api-developmenttmolavi/mcp-agent-skills-hub | Skill | 9 | 1mo ago | MIT | A | 32 | Claude Code, Codex |
| api-onboardingsickn33/agentic-awesome-skills | Skill | 49k | yesterday | MIT | A | 46 | Claude Code |
| laravel-expertGulajavaMinistudio/awesome-copilot-id | Skill | 93 | 10d ago | MIT | A | 15 | Claude Code, Codex |
| code-explanationDevelopersGlobal/ai-agent-skills | Skill | 217 | 10d ago | MIT | A | 34 | Claude Code, Codex |
| api-and-interface-designvinvcn/addyosmani-agent-skills-zh | Skill | 47 | 18d ago | MIT | A | 51 | Claude Code |
| nodejs-codestyleGulajavaMinistudio/awesome-copilot-id | Skill | 93 | 10d ago | MIT | A | 15 | Claude Code, Codex |
| php-laravel-codestyleGulajavaMinistudio/awesome-copilot-id | Skill | 93 | 10d ago | MIT | A | 19 | Claude Code, Codex |