magento-agent-api-builder

magento-agent-api-builder is a skill for Claude Code, Codex from furan917/magento-ai-toolkit. It costs 43 tokens per session (4,995 once invoked), scanned A, original, MPL-2.0.

A code-generation helper for exposing Magento 2 data and operations through REST or GraphQL APIs. REST and GraphQL are standard ways for other software, websites, or apps to communicate with a system.

In plain words
What is it for?
Use it to create APIs for Magento entities, including their contracts, repositories, routes, and GraphQL schemas. It supports REST, GraphQL, or both, based on the specification.
Why use it?
It removes the need to assemble the many Magento files and connections required for an API by hand. You can describe the entity and operations in ordinary language and receive the corresponding implementation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it to create APIs for Magento entities, including their contracts, repositories, routes, and GraphQL schemas. It supports REST, GraphQL, or both, based on the specification.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/furan917/magento-ai-toolkit/magento-agent-api-builder
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.

Any agent
npx skills add furan917/magento-ai-toolkit --skill magento-agent-api-builder
Clone the repo
git clone --depth 1 https://github.com/furan917/magento-ai-toolkit

Made for: Claude Code, Codex.

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 magento-agent-api-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/furan917/magento-ai-toolkit/magento-agent-api-builder/github.svg)](https://agentmods.dev/skills/furan917/magento-ai-toolkit/magento-agent-api-builder)
Your own site
<a href="https://agentmods.dev/skills/furan917/magento-ai-toolkit/magento-agent-api-builder"><img src="https://agentmods.dev/badge/skills/furan917/magento-ai-toolkit/magento-agent-api-builder/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 magento-agent-api-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/furan917/magento-ai-toolkit/magento-agent-api-builder"><img src="https://agentmods.dev/badge/skills/furan917/magento-ai-toolkit/magento-agent-api-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,995 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00043 $0.04995
Opus 5 $0.00022 $0.02498
Sonnet 5 $0.00009 $0.00999
Haiku 4.5 $0.00004 $0.00500

Measured 10d ago against content hash 73aeacac7175, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

magento-agent-api-builder 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 10d 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.

curl -X GET https://store.test/rest/V1/{vendor}/{entities} \
agent-skills/magento-agent-api-builder/SKILL.md · 560 lines

How it starts

The opening of the file, as written. The whole thing — 560 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent: API Builder

Purpose: Autonomously generate a complete Magento 2 REST and/or GraphQL API implementation from a plain-language spec — including service contracts, repository, webapi.xml, and GraphQL schema with resolver. Compatible with: Any agentic LLM with file write tools (Claude Code, GPT-4o with tools, etc.) Usage: Describe the entity and operations you need exposed via API. The agent generates all required files. Companion skills: magento-api.md — full REST and GraphQL reference including authentication, SearchCriteria filtering syntax, and GraphQL best practices; load alongside for richer output, especially for complex filtering or caching requirements.


Skill Detection

Before starting, scan your context for companion skill headers. The presence of a skill's H1 title means that file is loaded and available.

Look for in context If found If not found
# Skill: magento-api Use its full REST authentication types, SearchCriteria filtering syntax, GraphQL caching directives, and @resolver/@cache/@doc annotation patterns as the primary reference throughout generation Use the embedded file templates and GraphQL schema patterns in this file

Skills take priority — they may contain more detail or be more up to date than the embedded fallbacks. Only fall back to the embedded content when no skill is detected.


Agent Role

You are an autonomous Magento 2 API builder. Given a description of an entity and its required operations, you generate a complete, standards-compliant API layer — service contracts in Api/, a repository implementation, webapi.xml for REST, and optionally schema.graphqls with resolvers for GraphQL.

You always generate interfaces before implementations, always use PHPDoc on Api/ interfaces (required for Magento's schema generator), and never expose Model classes directly through the API.


Input

Read the full file on GitHub · 560 lines

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. 10d ago First seen · 560 lines · 43 tokens per session scan A 73aeacac7175

Subscribe to this mod's changes

magento-agent-api-builder is a skill published in the GitHub repository furan917/magento-ai-toolkit (34 stars, last pushed 4mo ago), licensed MPL-2.0. It adds 43 tokens to every session and 4,995 once invoked, about $0.0002 per session on Opus 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-08-30.

Related

Other skills, from other repositories

magento2-backend-dev

This skill should be used when the user asks to "create an API endpoint", "build a REST API", "add a GraphQL resolver", "create a CLI command", "add a cron job", "set up a message queue", "implement a web API", "add a SOAP service", or "create a data provider". Covers Magento 2 backend development: REST/SOAP/GraphQL…

ddtcorex/maestro-skills · 114 tokens

magento-module-development

Build custom Magento 2 modules using dependency injection, plugins, observers, and service contracts to extend core functionality cleanly.

finsilabs/awesome-ecommerce-skills · 28 tokens

magento-cronjob-developer

Implements scheduled tasks and background processing for Magento 2. Use when creating cron jobs, scheduling automated tasks, implementing background processing, or automating system operations. Masters cron configuration, job scheduling, error handling, and performance optimization.

maxnorm/magento2-agent-skills · 54 tokens

magento-module-developer

Creates robust, maintainable, and extensible Magento 2 modules following enterprise architecture patterns. Use when developing custom modules, implementing new functionality, creating extensions, or building Magento 2 components. Masters dependency injection, service contracts, repository patterns, and module…

maxnorm/magento2-agent-skills · 58 tokens

magento-api-developer

Designs and implements REST and GraphQL APIs for Magento 2. Use when developing APIs, creating service contracts, building headless commerce solutions, or integrating with external systems. Masters service contracts, data transfer objects, authentication, and enterprise-grade API architecture.

maxnorm/magento2-agent-skills · 57 tokens

magento-feature-developer

Implements business requirements as scalable, maintainable Magento 2 features. Use when developing custom functionality, implementing business logic, creating integrations, or building complex features. Masters service contracts, repository patterns, and enterprise-grade feature implementation.

maxnorm/magento2-agent-skills · 51 tokens