magento-model-developer

magento-model-developer is a skill for Claude Code, Codex from maxnorm/magento2-agent-skills. It costs 54 tokens per session (1,556 once invoked), scanned A, original, MIT.

A specialist for building Magento 2’s data layer, the code that stores and retrieves application data. It covers entities, database schemas, repositories, collections, and Magento’s EAV and flat-table storage styles.

In plain words
What is it for?
Use it when creating Magento entities, designing schemas, implementing repositories, mapping relationships, building collections, or improving database performance.
Why use it?
It helps structure ecommerce data consistently and avoid inefficient database queries or mismatched storage designs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when creating Magento entities, designing schemas, implementing repositories, mapping relationships, building collections, or improving database performance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/maxnorm/magento2-agent-skills/magento-model-developer
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 maxnorm/magento2-agent-skills --skill magento-model-developer
Clone the repo
git clone --depth 1 https://github.com/maxnorm/magento2-agent-skills

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-model-developer

README.md
[![agentmods](https://agentmods.dev/badge/skills/maxnorm/magento2-agent-skills/magento-model-developer.svg)](https://agentmods.dev/skills/maxnorm/magento2-agent-skills/magento-model-developer)
Your own site
<a href="https://agentmods.dev/skills/maxnorm/magento2-agent-skills/magento-model-developer"><img src="https://agentmods.dev/badge/skills/maxnorm/magento2-agent-skills/magento-model-developer.svg" alt="Measured on agentmods" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,556 The whole file, excluding the scripts and references it only reads on demand.
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.00054 $0.01556
Opus 5 $0.00027 $0.00778
Sonnet 5 $0.00011 $0.00311
Haiku 4.5 $0.00005 $0.00156

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

Security

Grade A, and why

magento-model-developer 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 7d 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.

skills/magento-model-developer/SKILL.md · 222 lines

How it starts

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

Magento 2 Model Developer

Expert specialist in designing and implementing robust data layer architectures, creating efficient, scalable data models that serve as the foundation for enterprise e-commerce applications.

When to Use

  • Creating data models and entities
  • Designing database schemas
  • Implementing repository patterns
  • Working with EAV or flat table structures
  • Optimizing database queries
  • Building data collections

Data Architecture

  • Model Design: Create efficient entity models following Magento patterns
  • EAV vs Flat Tables: Choose optimal data storage strategies for different scenarios
  • Repository Pattern: Implement clean data access layers and service contracts
  • Collection Optimization: Build high-performance data collections and queries
  • Database Schema Design: Design normalized, efficient database structures

Model Development Process

1. Data Requirements Analysis

  • Business Requirements: Understand entity relationships and business rules
  • Performance Requirements: Plan for expected data volume and query patterns
  • Storage Strategy: Choose between EAV and flat table storage approaches
  • Relationship Mapping: Design entity relationships and dependencies
  • Scalability Planning: Plan for future growth and data expansion

2. Database Schema Design

  • Table Structure: Design efficient table structures and relationships
  • Data Types: Choose appropriate data types for optimal storage and performance
  • Indexing Strategy: Plan indexes for search, sorting, and filtering operations
  • Constraints: Implement proper database constraints and validation
  • Migration Scripts: Create database migration and upgrade scripts

3. Model Implementation

  • Entity Classes: Implement model classes with proper validation and logic
  • Resource Models: Create efficient database interaction layers
  • Collection Development: Build optimized collection classes with filtering
  • Repository Implementation: Create repository classes following service contracts
  • Factory Classes: Implement proper object factories and builders

Read the full file on GitHub · 222 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. 7d ago First seen · 222 lines · 54 tokens per session scan A f2295db0c19c

Subscribe to this mod's changes

magento-model-developer is a skill published in the GitHub repository maxnorm/magento2-agent-skills (29 stars, last pushed 7mo ago), licensed MIT. It adds 54 tokens to every session and 1,556 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

magento-sql

Write safe, fast SQL in Magento 2 — Select builder, placeholders, batch ops, transactions, composite indexes, dbschema.xml best practices, whitelist, and MySQL 8 / MariaDB features (INSTANT DDL, invisible/functional indexes, histograms). Use when writing queries, designing indexes, diagnosing slow reads, or editing…

furan917/magento-ai-toolkit · 77 tokens

magento-agent-sql

Autonomously diagnose Magento 2 slow queries, missing indexes, deadlocks, and N+1 patterns; propose dbschema.xml changes with whitelist regeneration; assess online-DDL feasibility per engine (MySQL 8 vs MariaDB). Produces a SQL Report with root cause, proposed index/rewrite, schema diff, and verification plan.

furan917/magento-ai-toolkit · 74 tokens

magento-agent-cache

Autonomously diagnose Magento 2 cache issues — FPC bypass, Redis pressure, stale blocks, and invalidation failures — and scaffold custom cache types. Produces a Cache Report with root cause and fix.

furan917/magento-ai-toolkit · 47 tokens

magento-db-schema

Create or modify Magento 2 declarative database schemas and the Model/ResourceModel/Collection pattern. Use when creating tables, models, or database migrations.

furan917/magento-ai-toolkit · 36 tokens

magento-indexer

Build custom Magento 2 indexers with ActionInterface, indexer.xml, and mview.xml for full and incremental reindexing. Use when creating flat tables, denormalized data, or custom index structures.

furan917/magento-ai-toolkit · 48 tokens

postgres-commit-history-article

A workflow for comparing PostgreSQL source-code changes between two Git commits and, when useful, writing a Chinese Markdown article about them. PostgreSQL is a database system, and a commit is a saved change in a Git repository.

digoal/blog · 127 tokens