magento-agent-indexer

magento-agent-indexer is a skill for Claude Code, Codex from furan917/magento-ai-toolkit. It costs 55 tokens per session (3,970 once invoked), scanned C, original, MPL-2.0.

A Magento 2 troubleshooting and code-generation guide for indexers. An indexer prepares data, such as products or prices, in a form that Magento can read quickly in the storefront.

In plain words
What is it for?
Use it to investigate indexer failures or generate the files and code for a custom Magento indexer from a specification.
Why use it?
It helps find why an index is invalid or stuck by examining its status, change records, and database structure, instead of relying on trial and error.

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 investigate indexer failures or generate the files and code for a custom Magento indexer from a specification.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/furan917/magento-ai-toolkit/magento-agent-indexer"><img src="https://agentmods.dev/badge/skills/furan917/magento-ai-toolkit/magento-agent-indexer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,970 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 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.00055 $0.03970
Opus 5 $0.00028 $0.01985
Sonnet 5 $0.00011 $0.00794
Haiku 4.5 $0.00006 $0.00397

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

Security

Grade C, and why

magento-agent-indexer scanned grade C 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 12d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- **Never suggest `rm -rf` on any Magento directory** — reset commands (`indexer:reset`) are the correct tool for clearing stuck indexer state
agent-skills/magento-agent-indexer/SKILL.md · 478 lines

How it starts

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

Agent: Indexer Expert

Purpose: Autonomously diagnose and resolve Magento 2 indexer issues, and implement custom indexers from a specification. Reads indexer state, mview changelog tables, and source schemas to produce a concrete fix or full scaffold. Compatible with: Any agentic LLM with file read and shell execution tools (Claude Code, GPT-4o with tools, etc.) Usage: Describe the indexer problem or the indexer you want to build. The agent will diagnose or scaffold and produce an Indexer Report. Companion skills: magento-indexer.md — full ActionInterface, mview.xml, and indexer.xml reference; load alongside for deeper implementation context.


Skill Detection

Before starting, scan your context for companion skill headers:

Look for in context If found If not found
# Skill: magento-indexer Use its ActionInterface patterns, indexer.xml/mview.xml templates, and anti-patterns as the primary implementation reference Use the embedded implementation steps in this file

Skills take priority — they may contain more detail than the embedded fallbacks.


Agent Role

You are an autonomous Magento 2 indexer expert. You diagnose broken indexers, fix invalid or stuck states, identify performance bottlenecks in reindex operations, and implement custom indexers from a specification. You always verify state before proposing a fix.

Boundaries:

  • Read files and run read-only bin/magento commands freely
  • Ask for confirmation before running commands that reindex, reset, or modify data
  • Never edit files in vendor/ — propose plugins, preferences, or custom indexers instead

Input

The agent accepts:

  • An indexer problem ("indexer stuck in 'working' state", "invalid after every deploy")
  • An indexer performance complaint ("full reindex takes 4 hours")
  • A custom indexer specification ("build an indexer for my custom product data table")
  • A mview or change log question ("why is my incremental reindex not triggering?")

Read the full file on GitHub · 478 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. 12d ago First seen · 478 lines · 55 tokens per session scan C 591014ac6f06

Subscribe to this mod's changes

magento-agent-indexer is a skill published in the GitHub repository furan917/magento-ai-toolkit (34 stars, last pushed 4mo ago), licensed MPL-2.0. It adds 55 tokens to every session and 3,970 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). 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-issue-debugger

Systematically investigates, diagnoses, and resolves complex Magento 2 technical problems. Use when debugging issues, investigating bugs, analyzing performance problems, resolving errors, or troubleshooting system failures. Masters log analysis, performance profiling, and root cause analysis.

maxnorm/magento2-agent-skills · 54 tokens

magento-performance-analyst

Conducts comprehensive Magento 2 performance analysis and optimization. Use when analyzing performance bottlenecks, profiling applications, optimizing database queries, or improving system scalability. Masters profiling tools, database optimization, and enterprise-scale performance tuning.

maxnorm/magento2-agent-skills · 51 tokens

b2c-logs

Retrieve and search logs from B2C Commerce instances using the b2c CLI. Use this skill whenever the user needs to view server logs, search for errors, filter log entries by level or time, or monitor logs in real-time. Also use when the user reports a 500 error, broken checkout, failing job, or any server-side issue…

SalesforceCommerceCloud/b2c-developer-tooling · 100 tokens

revenuecat-troubleshoot

Diagnose and resolve RevenueCat integration issues — inspects dashboard configuration through the RevenueCat MCP, walks the SDK debug logs, and covers code-side gotchas. Use when the user says offerings are empty, products not loading, entitlement not active after purchase, paywall won't load, transactions not…

RevenueCat/ai-toolkit · 101 tokens

doctor

Audits an existing PagoKit integration in the current project against the generated per-provider checklist, so it covers every provider in the catalog rather than a hardcoded few. Checks .gitignore covers .env, that env vars are present and use test-key prefixes, that the webhook secret looks valid, that the webhook…

Hainrixz/agente-pagokit · 105 tokens

wcs-health-check-processing

WooCommerce Subscriptions 8.8+ Health Check and Processing Reliability playbook for missing renewal schedules, automatic-renewal candidates, guarded Resolve actions, dedicated Action Scheduler processing, web cron, health-check tables, logs, AJAX nonces, and queue filters. Use for WCS Health Check…

Lonsdale201/wp-agent-skills · 90 tokens