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 agentmods add skills/caravanglory/magehub/module-pluginnpx skills add caravanglory/magehub --skill module-plugingit clone --depth 1 https://github.com/caravanglory/magehubWhat 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 | $0.00024 | $0.01970 |
| Opus 5 | $0.00012 | $0.00985 |
| Sonnet 5 | $0.00005 | $0.00394 |
| Haiku 4.5 | $0.00002 | $0.00197 |
Grade A, and why
module-plugin 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 275 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Plugin Development
Activation
Use When
- The task is to alter behavior of an existing public Magento method without modifying the original class.
- The task mentions before/after/around plugins, interceptors, plugin sortOrder, disabled plugins, or di.xml plugin configuration.
Do Not Use When
- The target method is final, static, non-public, constructor/destructor, or otherwise not interceptable.
- A service contract implementation, observer, preference, event, or layout/config extension point is the safer project convention.
Required Inputs
- Target class, public method signature, desired before/after/around behavior, area scope, and expected interaction with existing plugins.
- Whether the plugin must preserve side effects, exceptions, and return-value contract exactly.
Workflow
- Inspect the target method signature, return type, visibility, existing plugins, and area-specific di.xml before choosing a plugin type.
- Prefer before plugins for argument normalization and after plugins for return-value decoration; use around only when skipping or wrapping execution is required.
- Create the plugin class with strict types, exact parameter/return typing, and minimal dependencies.
- Register the plugin in the narrowest applicable di.xml scope with an intentional name and sortOrder.
- Verify compile and targeted behavior after adding or changing the plugin.
Guardrails
- Do not plugin final, static, private, protected, constructor, or destructor methods.
- Around plugins must call and return $proceed() unless the task explicitly requires blocking execution.
- Ask before pluginizing checkout, payment, customer authentication, inventory reservation, or price calculation flows. (approval required)
Verification
- Run bin/magento setup:di:compile or the project wrapper after adding plugin classes or di.xml entries.
- Run targeted unit/integration tests for the modified behavior and at least one pass-through case.
- When changing plugin sortOrder, inspect sibling plugins and report the final execution order.
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2d ago First seen · 275 lines · 24 tokens per session scan A 61ae84eb18c0
module-plugin is a skill published in the GitHub repository caravanglory/magehub (2 stars, last pushed 2mo ago), licensed MIT. It adds 24 tokens to every session and 1,970 once invoked, about $0.0001 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-31.
Other skills, from other repositories
cloudflare-registrar
Cloudflare Registrar: domain availability, prices, registration via mcporter.
etsy-category-listing
Etsy category page scraper: given an Etsy category URL (e.g. https://www.etsy.com/c/jewelry) and optional page number, returns paginated product listings with listingId, shopId, title, url, image, salePrice, originalPrice, currency, rating, reviewCount, shopName, isAd, freeShipping, badge from category and subcategory…
amazon-reviews-api-skill
This skill helps users automatically extract Amazon product reviews via the Amazon Reviews API. Agent should proactively apply this skill when users express needs like getting reviews for Amazon product with ASIN B07TS6R1SF, analyzing customer feedback for a specific Amazon item, getting ratings and comments for a…
amazon-competitor-analyzer
Scrapes Amazon product data from ASINs using browseract.com automation API and performs surgical competitive analysis. Compares specifications, pricing, review quality, and visual strategies to identify competitor moats and vulnerabilities.
shopify-functions
Shopify Functions allow developers to customize the backend logic that powers parts of Shopify. Available APIs: Discount, Cart and Checkout Validation, Cart Transform, Pickup Point Delivery Option Generator, Delivery Customization, Fulfillment Constraints, Local Pickup Delivery Option Generator, Order Routing Location…
shopify-shopifyql
Answer a merchant's analytics and reporting questions with ShopifyQL — Shopify's query language for aggregated store metrics that the Admin GraphQL API cannot compute. Choose this (not admin) whenever the ask is for numbers, totals, trends, or breakdowns rather than fetching or mutating individual records: including…