shopathome AGENTS.md

shopathome AGENTS.md is an instructions file for Codex, OpenCode from johnpapa/shopathome. It costs 2,537 tokens per session, scanned A, original, MIT.

Contributor instructions for Shop at Home, a shopping-list application with several frontend versions and two backend options. It includes Angular, React, Svelte, and Vue apps, backed by Azure Functions or Fastify.

In plain words
What is it for?
Use them when changing grocery-list features, one of the four frontend apps, the Azure Functions API, or the Fastify API.
Why use it?
They provide the repository layout and technology choices needed to work on the correct frontend or API implementation.

Instructions file for CodexOpenCode

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.

agentmods
npx agentmods add instructions/johnpapa/shopathome/agents-md
Clone the repo
git clone --depth 1 https://github.com/johnpapa/shopathome

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 shopathome AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/johnpapa/shopathome/agents-md.svg)](https://agentmods.dev/instructions/johnpapa/shopathome/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/johnpapa/shopathome/agents-md"><img src="https://agentmods.dev/badge/instructions/johnpapa/shopathome/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,537 This file is loaded in full into every session.
When invoked 2,537 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.02537 $0.02537
Opus 5 $0.01269 $0.01269
Sonnet 5 $0.00507 $0.00507
Haiku 4.5 $0.00254 $0.00254

Measured 4d ago against content hash ee7c8c998b7e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

shopathome 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 4d 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 · 246 lines

How it starts

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

Shop at Home — Contributor & Agent Guide

Project Overview

Shop at Home is a full-stack shopping list application that lets customers securely add, edit, view, and remove grocery and household items. The project is designed as a learning resource for Azure Static Web Apps and Azure Container Apps, providing four frontend implementations (Angular, React, Svelte, Vue) backed by two API options (Azure Functions and Fastify).

Live demos: angular.shopathome.dev · react.shopathome.dev · svelte.shopathome.dev · vue.shopathome.dev


Repository Structure

shopathome/
├── angular-app/          # Angular 18 frontend (NgRx state management)
│   ├── src/app/          # Components, services, routing, store
│   └── package.json
├── react-app/            # React 17 frontend (Redux + Redux-Saga)
│   ├── src/              # Components, store, product views
│   └── package.json
├── svelte-app/           # Svelte 4 frontend (Vite build, TypeScript)
│   ├── src/              # Components, store, models
│   └── package.json
├── vue-app/              # Vue 3 frontend (Vuex state management)
│   ├── src/              # Components, views, store, router
│   └── package.json
├── api/                  # Azure Functions API (serverless)
│   ├── products-get/     # GET /api/products
│   ├── products-post/    # POST /api/products
│   ├── products-put/     # PUT /api/products
│   ├── products-delete/  # DELETE /api/products
│   ├── discounts-get/    # GET /api/discounts
│   └── shared/           # Shared data layer (in-memory)
├── fastify-api-server/   # Fastify 4 API (containerized)
│   └── src/
│       ├── server.js     # Server entry point (port 3000)
│       ├── routes/       # Route handlers (products, discounts)
│       └── shared/       # Shared data layer (in-memory)
├── .devcontainer/        # Dev container config (Svelte + API)
├── .github/workflows/    # Azure Static Web Apps deploy workflows
├── CONTRIBUTING.md       # Contribution guidelines
└── README.md             # Project overview and deployment guide

Read the full file on GitHub · 246 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. 4d ago First seen · 246 lines · 2,537 tokens per session scan A ee7c8c998b7e

Subscribe to this mod's changes

shopathome AGENTS.md is an instructions file published in the GitHub repository johnpapa/shopathome (135 stars, last pushed 1mo ago), licensed MIT. It adds 2,537 tokens to every session, about $0.0127 per session on Opus 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.