magento-indexing-caching

magento-indexing-caching is a skill for Claude Code, Codex from finsilabs/awesome-ecommerce-skills. It costs 32 tokens per session (3,117 once invoked), scanned A, original, MIT.

A guide to Magento's tools for preparing catalog data and storing pages, sessions, and application data for faster access. It covers Varnish and Redis, which are caching systems.

In plain words
What is it for?
It is for managing indexers, configuring Varnish full-page caching, setting up Redis, and handling cache invalidation.
Why use it?
It helps fix stale prices, missing products, slow pages, and cache or index problems in Magento stores.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; mentions Gemini CLI; mentions OpenCode.

Good fit It is for managing indexers, configuring Varnish full-page caching, setting up Redis, and handling cache invalidation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/finsilabs/awesome-ecommerce-skills/magento-indexing-caching
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 finsilabs/awesome-ecommerce-skills --skill magento-indexing-caching
Clone the repo
git clone --depth 1 https://github.com/finsilabs/awesome-ecommerce-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-indexing-caching

README.md
[![agentmods](https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/magento-indexing-caching/github.svg)](https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/magento-indexing-caching)
Your own site
<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/magento-indexing-caching"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/magento-indexing-caching/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-indexing-caching

Your own site · 80×15
<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/magento-indexing-caching"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/magento-indexing-caching.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,117 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.00032 $0.03117
Opus 5.5 $0.00013 $0.01247
Sonnet 5.5 $0.00006 $0.00623
Haiku 4.5 $0.00003 $0.00312

Measured 1mo ago against content hash efbbfb888a82, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

magento-indexing-caching 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 1mo 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.

# Download sitemap and curl each URL with a warm-cache header
skills/platform-magento/magento-indexing-caching/SKILL.md · 325 lines

How it starts

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

Magento Indexing and Caching

Overview

Magento's performance architecture relies on two distinct layers: indexers that pre-compute denormalized data (product prices, search indexes, category paths) into flat tables, and the Full-Page Cache (FPC) that stores complete rendered HTML pages. Varnish is the recommended FPC backend for production, replacing Magento's built-in file-based cache. Redis is the recommended backend for application cache, session storage, and the default cache (block HTML, config, layout). Misconfigured or stale indexes are one of the most common causes of incorrect pricing and product visibility issues.

When to Use This Skill

  • When products appear with wrong prices or are invisible after catalog updates
  • When implementing Varnish for the first time on a Magento production server
  • When diagnosing slow category page loads caused by on-the-fly price calculation
  • When configuring Redis for Magento's session and block cache storage
  • When setting up cache invalidation after catalog or CMS updates via Magento's cache tags
  • When managing indexer schedules on large catalogs (> 50,000 products) to prevent full reindex locking

Core Instructions

  1. Understand Magento's indexers and their modes

    # List all indexers and their status
    bin/magento indexer:info
    bin/magento indexer:status
    
    # Example output:
    # catalog_category_product    Category Products    valid    Update on Save
    # catalog_product_category    Product Categories   valid    Update on Save
    # catalog_product_price       Product Price        invalid  Update by Schedule
    # catalogsearch_fulltext      Catalog Search       valid    Update by Schedule
    # catalogrule_product         Catalog Rule Product invalid  Update on Save
    

    Set all production indexers to Update by Schedule mode to prevent checkout blocking:

    bin/magento indexer:set-mode schedule catalog_category_product
    bin/magento indexer:set-mode schedule catalog_product_price
    bin/magento indexer:set-mode schedule catalogsearch_fulltext
    bin/magento indexer:set-mode schedule catalog_product_flat
    bin/magento indexer:set-mode schedule catalog_category_flat
    
    # Verify modes
    bin/magento indexer:show-mode
    

Read the full file on GitHub · 325 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. 1mo ago First seen · 325 lines · 32 tokens per session scan A efbbfb888a82

Subscribe to this mod's changes

magento-indexing-caching is a skill published in the GitHub repository finsilabs/awesome-ecommerce-skills (60 stars, last pushed 9d ago), licensed MIT. It adds 32 tokens to every session and 3,117 once invoked, about $0.0001 per session on Opus 5.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-09-03.

Related

Other skills, from other repositories

react-patterns

Build React applications for PWA Kit — hooks, composition, SSR, Commerce SDK integration, Chakra UI components, getProps data fetching, and client-side state management. PWA Kit uses React (NOT Remix/Next.js). Use when building PWA Kit storefronts.

OrcaQubits/agentic-commerce-skills-plugins · 58 tokens

sf-b2b-apex

Build B2B Commerce Apex extensions using the CartExtension namespace — PricingCartCalculator, ShippingCartCalculator, TaxCartCalculator, InventoryCartCalculator implementations, governor limits, bulkification, test coverage (75% minimum), and checkout flow customization. Use when implementing server-side B2B commerce…

OrcaQubits/agentic-commerce-skills-plugins · 66 tokens

sf-b2c-cartridges

Build B2C Commerce cartridges — cartridge directory structure (controllers/, models/, scripts/, templates/, static/), cartridge stacking, naming conventions (appcustom, plugin, int), cartridge path configuration, and certification requirements. Use when creating or modifying SFCC cartridges.

OrcaQubits/agentic-commerce-skills-plugins · 63 tokens

sf-b2c-isml

Write ISML templates for B2C Commerce — , , , , , , expression syntax ${pdict.}, Resource.msg() localization, content slots, and template inheritance. Use when building B2C storefront templates.

OrcaQubits/agentic-commerce-skills-plugins · 68 tokens

sf-integrations

Build Salesforce Commerce integrations — B2C (SCAPI hooks, webhooks, custom script callouts) and B2B (Platform Events, Change Data Capture, outbound messages). Both platforms use event-driven patterns, HMAC verification, idempotency, and retry handling for reliable integration.

OrcaQubits/agentic-commerce-skills-plugins · 62 tokens

shopify-app-dev

Build Shopify apps — app types, Remix template, App Bridge, session tokens, OAuth flow, app extensions, embedded admin apps. Use when developing Shopify apps or integrations.

OrcaQubits/agentic-commerce-skills-plugins · 39 tokens