magento-search

magento-search is a skill for Claude Code, Codex from furan917/magento-ai-toolkit. It costs 81 tokens per session (5,387 once invoked), scanned B, original, MPL-2.0.

A guide for setting up and improving product search in Magento 2 using Elasticsearch or OpenSearch, which are search services that find catalogue items quickly.

In plain words
What is it for?
Use it to configure search connections, searchable product fields, aliases, synonyms, stop words, query templates, indexing, and relevance problems.
Why use it?
It helps resolve search connection problems and makes product searches return more relevant results.

Skill for Claude CodeCodex

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

Good fit Use it to configure search connections, searchable product fields, aliases, synonyms, stop words, query templates, indexing, and relevance problems.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/furan917/magento-ai-toolkit/magento-search"><img src="https://agentmods.dev/badge/skills/furan917/magento-ai-toolkit/magento-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,387 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00081 $0.05387
Opus 5 $0.00041 $0.02694
Sonnet 5 $0.00016 $0.01077
Haiku 4.5 $0.00008 $0.00539

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

Security

Grade B, and why

magento-search scanned grade B with 2 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

2. Raising the limit (infra-side): `curl -XPUT 'http://host:9200/magento2_product_1_v1/_settings' -d '{"index.mapping.total_fields.limit": 2000}'` — this does not survive reindex, so also bake it into a custom index temp

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

# From the Magento host, curl the engine directly
skills/magento-search/SKILL.md · 455 lines

How it starts

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

Purpose: Configure, connect, and tune Magento 2 catalog search across all three supported engines — Elasticsearch 7.x, Elasticsearch 8.x, and OpenSearch 1.x/2.x. Cover the env.php block for each engine and each hosting provider (AWS OpenSearch Service, Elastic Cloud, self-host), the catalogsearch_fulltext indexer, searchable attribute flags, aliases, synonyms, stop words, query templates, and relevance diagnosis. Compatible with: Any LLM (Claude, GPT, Gemini, local models) Usage: Paste this file as a system prompt, then describe the search configuration, connection problem, or relevance issue you are working on.


System Prompt

You are a Magento 2 search specialist. You know that Magento 2.4.x supports three engines — Elasticsearch 7.x, Elasticsearch 8.x (added in 2.4.6), and OpenSearch 1.x/2.x (default from 2.4.6) — and that the catalog/search/engine value in env.php must match the Magento version's supported set. You give developers the minimum env.php block that makes the connection work and treat cluster-side tuning (shards, replicas, heap) as infra concerns handled by magento-infra. You always reindex catalogsearch_fulltext after attribute or synonym changes and know that category listings in 2.4+ also route through the search engine.


Engine Matrix — Which Engine for Which Magento

Magento Version catalog/search/engine values supported Default
2.4.3 – 2.4.5 elasticsearch7 elasticsearch7
2.4.6 elasticsearch7, elasticsearch8, opensearch opensearch
2.4.7 elasticsearch7 (deprecated), elasticsearch8 (deprecated), opensearch opensearch
2.4.8+ elasticsearch8 (deprecated), opensearch (ES7 removed) opensearch

Magento and Mage-OS have the same matrix. Adobe Commerce adds Live Search (a separate SaaS service) — that's independent of this matrix and covered at the end.

Read the full file on GitHub · 455 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 · 455 lines · 81 tokens per session scan B ae77a1a59692

Subscribe to this mod's changes

magento-search is a skill published in the GitHub repository furan917/magento-ai-toolkit (34 stars, last pushed 4mo ago), licensed MPL-2.0. It adds 81 tokens to every session and 5,387 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). 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

magento2-backend-dev

This skill should be used when the user asks to "create an API endpoint", "build a REST API", "add a GraphQL resolver", "create a CLI command", "add a cron job", "set up a message queue", "implement a web API", "add a SOAP service", or "create a data provider". Covers Magento 2 backend development: REST/SOAP/GraphQL…

ddtcorex/maestro-skills · 114 tokens

govard-magento

This skill should be used when the user asks to "clear Magento cache", "flush redis cache", "run Magento CLI", "run bin/magento commands", "deploy static content", "setup:di:compile", "reindex catalog", "run indexer commands", "enable/disable modules", "start frontend sync", "run browser-sync", "set up live reload for…

ddtcorex/maestro-skills · 116 tokens

magento2-dev-core

This skill should be used when the user is creating new Magento 2 modules or customizations, implementing features following Magento architecture, working with Dependency Injection, Repositories, or Plugins, writing secure Magento code, or building backend logic, CLI commands, or cron jobs. Foundation skill for…

ddtcorex/maestro-skills · 89 tokens

magento2-frontend-dev

This skill should be used when the user asks to "create a Knockout.js component", "add a UI Component", "modify layout XML", "customize a template", "write LESS CSS", "style with the Magento UI library", "add a RequireJS module", "extend JavaScript", "customize checkout", or "modify the cart page". Covers Magento 2…

ddtcorex/maestro-skills · 110 tokens

magento2-code-review

This skill should be used when the user asks to "review this PR/MR", "review this merge request", "review this module", "audit this module before merge", "review this theme", "audit this theme PR", or wants a "full review before release". Orchestrates a PR/MR, module, theme, or full-project code review by running the…

ddtcorex/maestro-skills · 181 tokens

magento2-security-scan

This skill should be used when the user asks to "run a security audit", "find vulnerabilities", "check for XSS", "check CSRF protection", "validate form security", "run a dependency audit", "check for outdated packages", "run a PCI compliance check", or "do a security review before deploy". Scans Magento 2 code for…

ddtcorex/maestro-skills · 105 tokens