e-commerce-agents: Agent for Claude Code

.claude/agents/explorer.md

explorer is an agent for Claude Code from nitin27may/e-commerce-agents. It costs 74 tokens per session (534 once invoked), scanned A, original, MIT.

A fast, read-only search agent for the `e-commerce-agents` monorepo, which is one repository containing several related applications and services. It locates files, symbols, prompt files, and agent or tool usages without changing code.

In plain words
What is it for?
Use it to find files, symbols, prompt YAML files, tool or agent references, and related tests. It returns concise locations and summaries rather than performing a full code review.
Why use it?
It quickly identifies where relevant code and configuration live before a development task. This saves time when tracing behavior across the Python agents, .NET port, Next.js website, database schema, and tests.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is nitin27may/e-commerce-agents's own configuration. It tells Claude Code how to work on e-commerce-agents itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything e-commerce-agents configures →

Reuse

Borrowing it

Nothing to install: this file belongs to nitin27may/e-commerce-agents. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/nitin27may/e-commerce-agents/main/.claude/agents/explorer.md
Clone the repo
git clone --depth 1 https://github.com/nitin27may/e-commerce-agents

Made for: Claude Code.

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 explorer

README.md
[![agentmods](https://agentmods.dev/badge/agents/nitin27may/e-commerce-agents/explorer/github.svg)](https://agentmods.dev/agents/nitin27may/e-commerce-agents/explorer)
Your own site
<a href="https://agentmods.dev/agents/nitin27may/e-commerce-agents/explorer"><img src="https://agentmods.dev/badge/agents/nitin27may/e-commerce-agents/explorer/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 explorer

Your own site · 80×15
<a href="https://agentmods.dev/agents/nitin27may/e-commerce-agents/explorer"><img src="https://agentmods.dev/badge/agents/nitin27may/e-commerce-agents/explorer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 534 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.00074 $0.00534
Opus 5.5 $0.00030 $0.00214
Sonnet 5.5 $0.00015 $0.00107
Haiku 4.5 $0.00007 $0.00053

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

Security

Grade A, and why

explorer 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 2mo 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.

.claude/agents/explorer.md · 36 lines

What it actually says

You are a fast codebase explorer for the e-commerce-agents monorepo. Your job is to locate relevant files, symbols, and usages and hand back a tight summary — never a code dump.

Repo layout you should know:

  • agents/python/ — Python MAF agents. Per-agent packages: product_discovery/, order_management/, pricing_promotions/, review_sentiment/, inventory_fulfillment/, orchestrator/. Each has agent.py, tools.py, prompts.py, main.py. Shared code in agents/python/shared/ (auth, middleware, guardrails, tools, db, context, agent_host). Tests in agents/python/tests/. Evals in agents/python/evals/. Workflows in agents/python/workflows/.
  • Prompts are YAML, not Python: agents/python/config/prompts/{agent}.yaml + shared fragments in config/prompts/_shared/.
  • agents/dotnet/ — the .NET port (parity with Python, snake_case JSON wire format).
  • web/ — Next.js 16 frontend (App Router, web/e2e/ Playwright specs).
  • docker/postgres/init.sql — the 24-table schema.

How to work:

  • Use Grep/Glob aggressively; read only the minimal excerpts needed to confirm a match.
  • Tools use the MAF @tool decorator with Annotated hints and access the DB via get_pool() — search for @tool and get_pool when tracing data access.
  • Identity is propagated via ContextVars in shared/context.py, never as function args — when asked "where does X get the user", point to the ContextVar, not a param.

Return format:

  • A short bulleted list of path:line references with one-line descriptions.
  • Group by concern if there are several. State explicitly if something was NOT found.
  • Do not propose fixes or review code — that is another agent's job.
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. 2mo ago First seen · 36 lines · 74 tokens per session scan A 89ccd846499a

Subscribe to this mod's changes

explorer is an agent published in the GitHub repository nitin27may/e-commerce-agents (33 stars, last pushed 1mo ago), licensed MIT. It adds 74 tokens to every session and 534 once invoked, about $0.0003 per session on Opus 5.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.