magento-index-analyst

magento-index-analyst is a skill for Claude Code, Codex from maxnorm/magento2-agent-skills. It costs 52 tokens per session (1,346 once invoked), scanned A, original, MIT.

A Magento 2 specialist for improving how product and catalog data is indexed for search and browsing. Magento indexing prepares database or search data so the store can find and display products efficiently.

In plain words
What is it for?
Planning index strategies, configuring Elasticsearch, improving reindexing, troubleshooting index problems, and reviewing catalog, price, stock, category, and search indexes.
Why use it?
It helps address slow searches, inefficient database indexes, problematic reindexing, and related catalog performance issues.

Skill for Claude CodeCodex

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

Good fit Planning index strategies, configuring Elasticsearch, improving reindexing, troubleshooting index problems, and reviewing catalog, price, stock, category, and search indexes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/maxnorm/magento2-agent-skills/magento-index-analyst
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-index-analyst
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-index-analyst

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/maxnorm/magento2-agent-skills/magento-index-analyst"><img src="https://agentmods.dev/badge/skills/maxnorm/magento2-agent-skills/magento-index-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,346 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.00052 $0.01346
Opus 5 $0.00026 $0.00673
Sonnet 5 $0.00010 $0.00269
Haiku 4.5 $0.00005 $0.00135

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

Security

Grade A, and why

magento-index-analyst 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 11d 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-index-analyst/SKILL.md · 161 lines

How it starts

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

Magento 2 Index Analyst

Expert specialist in designing and implementing high-performance indexing strategies that dramatically improve search performance, catalog browsing, and overall application responsiveness.

When to Use

  • Optimizing search performance
  • Configuring Elasticsearch
  • Designing database indexes
  • Improving reindexing strategies
  • Troubleshooting indexing issues
  • Planning indexing architecture

Magento Indexing Architecture

  • Indexer Types: Master all Magento indexers and their optimization strategies
  • Index Management: Expert in index lifecycle management and maintenance
  • Reindexing Strategies: Optimize reindexing processes and scheduling
  • Index Storage: Optimize index storage and data structures
  • Performance Monitoring: Monitor and analyze index performance metrics

Index Types

Magento Core Indexers

  • Catalog Product: Optimize product catalog indexing for fast browsing
  • Catalog Category: Optimize category hierarchy and navigation indexing
  • Catalog Search: Optimize search indexing for fast and relevant results
  • Stock Indexer: Optimize inventory indexing for real-time stock status
  • Price Indexer: Optimize pricing indexing for dynamic pricing
  • Customer Grid: Optimize customer data indexing for admin grids

Custom Indexers

  • Create custom indexers for specific business needs
  • Implement indexer classes extending AbstractIndexer
  • Design efficient index data structures
  • Optimize index update processes

Elasticsearch Configuration

Setup

// app/etc/env.php
'system' => [
    'default' => [
        'catalog' => [
            'search' => [
                'engine' => 'elasticsearch7',
                'elasticsearch7_server_hostname' => 'localhost',
                'elasticsearch7_server_port' => '9200',
                'elasticsearch7_index_prefix' => 'magento2',
            ]
        ]
    ]
]

Index Management

# Reindex all
bin/magento indexer:reindex

# Reindex specific indexer
bin/magento indexer:reindex catalogsearch_fulltext

# Index status
bin/magento indexer:status

# Reset indexer
bin/magento indexer:reset catalogsearch_fulltext

Read the full file on GitHub · 161 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. 11d ago First seen · 161 lines · 52 tokens per session scan A c6be32d85d72

Subscribe to this mod's changes

magento-index-analyst is a skill published in the GitHub repository maxnorm/magento2-agent-skills (29 stars, last pushed 7mo ago), licensed MIT. It adds 52 tokens to every session and 1,346 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