ai-shopping-mcp: Instructions file for Codex

AGENTS.md

ai-shopping-mcp AGENTS.md is an instructions file for Codex, OpenCode from aranlucas/ai-shopping-mcp. It costs 545 tokens per session, scanned A, original, MIT.

Repository instructions for an AI shopping MCP server, a service that connects an agent to Kroger and QFC shopping workflows. They cover the project structure, development commands, tests, and rules for making changes.

In plain words
What is it for?
Use them when developing or reviewing this Cloudflare Worker project, including its OAuth login, shopping API calls, stored user data, MCP tools, and React views.
Why use it?
They give contributors a shared process for installing dependencies, checking the worker and views, running tests, and avoiding fixes that only hide errors.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is aranlucas/ai-shopping-mcp's own configuration. It tells Codex and OpenCode how to work on ai-shopping-mcp 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 ai-shopping-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to aranlucas/ai-shopping-mcp. 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/aranlucas/ai-shopping-mcp/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/aranlucas/ai-shopping-mcp

Made for: Codex, OpenCode.

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 ai-shopping-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/aranlucas/ai-shopping-mcp/agents-md/github.svg)](https://agentmods.dev/instructions/aranlucas/ai-shopping-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/aranlucas/ai-shopping-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/aranlucas/ai-shopping-mcp/agents-md/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 ai-shopping-mcp AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/aranlucas/ai-shopping-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/aranlucas/ai-shopping-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 545 This file is loaded in full into every session.
When invoked 545 The same file — it is already loaded in full.
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.00545 $0.00545
Opus 5.5 $0.00218 $0.00218
Sonnet 5.5 $0.00109 $0.00109
Haiku 4.5 $0.00055 $0.00055

Measured 6d ago against content hash 91fea4764236, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ai-shopping-mcp AGENTS.md 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 6d 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.

AGENTS.md · 36 lines

How it starts

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

After making changes, run pnpm lint and fix all errors.

The views use @shadcn/lint in .oxlintrc.json. Use component variants and badge tones for appearance; keep className for layout. The config documents the spacing, carousel gutter, and skeleton rounding contracts. Shared UI implementations in views/shared/ui/ own their styles and retain their existing lint exclusion. Tailwind utility checks come from the shared Oxforge Tailwind preset in .oxlintrc.json.

Scripts: native first

Before adding a script file (scripts/, bin/, tools/, root *.sh|*.py|*.mjs) or a package script that runs one, take the first rung that works:

  1. A flag or subcommand of a tool the repo already uses (<tool> --help).
  2. Declarative config for that tool (cloudflare.config.ts, vite.views.config.ts, drizzle.config.ts, oxfmt.config.ts, pnpm-workspace.yaml, vitest.config.ts).
  3. A maintained plugin for that tool.
  4. A one-line package.json script that calls a native command.
  5. A test in the existing runner (Vitest), for anything that asserts.
  6. A custom script, only for behavior specific to this repo. Its first comment names the native rung it couldn't use and why. It has a test in the existing runner, and the PR that adds it quotes that comment.

Code: libraries first

Before hand-writing general-purpose code, use a well-maintained library: actively released, widely adopted, typed, and a fit for this stack. Reach for one already in the dependencies first. Write custom code for domain logic and for the glue no library covers. A PR that adds a dependency says why it was picked; a PR that hand-writes something a library covers names the library and why it didn't fit.

  • Runtime validation → zod.
  • Typed Kroger HTTP clients → openapi-fetch with the generated API types.
  • D1 queries and schema definitions → drizzle-orm.

Tests worth maintaining

  • Before adding a test, identify the specific behavior, a credible mistake it should catch, and an independently justified expected result.
  • Prefer small, fast, reliable tests whose failures identify the broken behavior. Use integration/E2E tests for interactions isolated tests cannot establish.
  • Do not reproduce implementation logic in assertions or mocks.
  • Protect contracts, not incidental internal structure.
  • Distinguish temporary development scaffolding from checks worth maintaining.
  • Never delete or weaken a failing test just to make the suite pass.

Read the full file on GitHub · 36 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. 6d ago Changed · +9 lines · +106 tokens per session 91fea4764236
  2. 19d ago Changed · +19 lines · +328 tokens per session d64c667ede5b
  3. 26d ago Changed · +6 tokens per session 34472ce1c965
  4. 1mo ago Changed · +7 lines ec1877200550
  5. 2mo ago Changed · -341 lines e3b0c44298fc
  6. 2mo ago First seen · 342 lines · 5,059 tokens per session scan A d4a3f1360ed6

Subscribe to this mod's changes

ai-shopping-mcp AGENTS.md is an instructions file published in the GitHub repository aranlucas/ai-shopping-mcp (1 stars, last pushed 3d ago), licensed MIT. It adds 545 tokens to every session, about $0.0022 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-31.

Related

ai-shopping-mcp AGENTS.md compared with instructions from other repositories

ai-shopping-mcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ai-shopping-mcp AGENTS.mdaranlucas/ai-shopping-mcpInstructions file13d agoMITA545Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot