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 maxnorm/magento2-agent-skills --skill magento-index-analystgit clone --depth 1 https://github.com/maxnorm/magento2-agent-skillsWrote 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/maxnorm/magento2-agent-skills/magento-index-analyst)<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.
<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>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.00052 | $0.01346 |
| Opus 5 | $0.00026 | $0.00673 |
| Sonnet 5 | $0.00010 | $0.00269 |
| Haiku 4.5 | $0.00005 | $0.00135 |
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.
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
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.
- 11d ago First seen · 161 lines · 52 tokens per session scan A c6be32d85d72
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.
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…
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.
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.
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.
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.
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.