walmart

walmart is a skill for Claude Code, Codex from AgentComputerAI/torch. It costs 91 tokens per session (2,268 once invoked), scanned A, original, MIT.

A guide for collecting product data from Walmart's online store. It uses a real Chrome session and reads the product information included in each page.

In plain words
What is it for?
Use it to browse or search Walmart products and collect listing or product-page details.
Why use it?
It avoids Walmart's automated-traffic blocks and removes the need to reproduce internal API requests.

Skill for Claude CodeCodex

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

Good fit Use it to browse or search Walmart products and collect listing or product-page details.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agentcomputerai/torch/walmart
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 AgentComputerAI/torch --skill walmart
Clone the repo
git clone --depth 1 https://github.com/AgentComputerAI/torch

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 walmart

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/agentcomputerai/torch/walmart"><img src="https://agentmods.dev/badge/skills/agentcomputerai/torch/walmart.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,268 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.00091 $0.02268
Opus 5.5 $0.00036 $0.00907
Sonnet 5.5 $0.00018 $0.00454
Haiku 4.5 $0.00009 $0.00227

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

Security

Grade A, and why

walmart 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.

description: Proven scraping playbook for walmart.com. Next.js SPA behind Akamai Bot Manager — curl is 307-redirected to /blocked, but a puppeteer connection to the user's real Chrome (`127.0.0.1:9222`) walks straight th
skills/sites/walmart/SKILL.md · 170 lines

How it starts

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

Walmart (walmart.com)

Walmart is a Next.js storefront fronted by Akamai Bot Manager. Anonymous curl/fetch is hard-blocked (307 → /blocked?url=...&uuid=...), and a fresh Chromium — even with stealth — gets served interstitials and challenge pages. The single thing that makes it trivial is 127.0.0.1:9222: connect to the user's real Chrome and Walmart treats you like a normal shopper. All listing data hydrates from an embedded __NEXT_DATA__ JSON blob, so you don't need to reverse any internal APIs.

Detection

Signal Value
Framework Next.js (<script id="__NEXT_DATA__"> on every page)
CDN / edge Akamai (x-ak-protocol, ak_p server-timing, TS* cookies)
Anti-bot Akamai Bot Manager + PerimeterX (_pxhd cookie, px-captcha challenges)
Auth Not required for search/browse/PDP
robots.txt Disallows /search for most bots — ignore at your own risk, rate-limit yourself

Block signature from curl:

HTTP/2 307
location: /blocked?url=<base64>&uuid=<px-uuid>&vid=&g=b
set-cookie: _pxhd=...

Seeing any of /blocked?, _pxhd, or the string "Robot or human" in the body means you're shadow-blocked.

Architecture

  • Next.js SSR — the initial HTML already contains the full product grid as JSON inside <script id="__NEXT_DATA__">.
  • The grid lives at props.pageProps.initialData.searchResult.itemStacks[*].items[*], but there are several itemStacks (main grid, sponsored rails, "popular in category"). Walk the tree and dedupe by usItemId.
  • Pagination is pure querystring: &page=1..N. Each page returns ~48–50 items. No cursor, no infinite scroll fallback needed for search results.
  • PDPs follow the same pattern — hydrated product state in __NEXT_DATA__.

Strategy used

  • Phase 0 (curl): 307 → /blocked. Skipped.
  • Phase 1 (framework): Next.js confirmed, but you can't get the HTML without a browser. Skipped.
  • Phase 2 (browser): puppeteer-core.connect({ browserURL: the real Chrome debug port }). No stealth, no cookies, no headers set — the real Chrome profile is already trusted. Walks in on the first try, parses __NEXT_DATA__, done.

Read the full file on GitHub · 170 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 · 170 lines · 91 tokens per session scan A ef3966845e66

Subscribe to this mod's changes

walmart is a skill published in the GitHub repository AgentComputerAI/torch (5 stars, last pushed 6mo ago), licensed MIT. It adds 91 tokens to every session and 2,268 once invoked, about $0.0004 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-08-31.

Related

Other skills, from other repositories

chrome-extension

Use when building or shipping a Manifest V3 browser extension and hitting its quirks — service worker dying and losing state, permission warnings, a Chrome Web Store rejection, content-script/worker/popup messaging, or an MV2-to-V3 migration. NOT a generic web app (that is nextjs), NOT a desktop shell (that is…

ericrisco/rsc-harness · 76 tokens

data-scraper

Use when data lives on a website with no usable API — listings, prices, public records — and the scrape must stay legal and not get blocked: legal gate, extraction path, durable selectors, pacing, resilience. NOT parsing bytes you already hold into fields (that is structured-extraction), NOT a documented API or key…

ericrisco/rsc-harness · 77 tokens

nodejs

Use when building or operating a plain Node.js / Express 5 backend service: project layout, async correctness, central error middleware, fail-fast config, graceful shutdown on SIGTERM. NOT DI modules/providers/guards (that is nestjs), NOT the type system or tsconfig (that is typescript), NOT REST contract design (that…

ericrisco/rsc-harness · 77 tokens

goofish-overview

An overview and entry point for goofish-cli, a tool package for helping an AI agent operate Xianyu, a Chinese second-hand marketplace. It covers account checks, listing items, buyer messages, risk checks, and shop diagnosis, and directs specific jobs to dedicated workflows.

fancyboi999/goofish-cli · 143 tokens

checking-a-page

Check that a web page you wrote or changed actually works, by opening it in a browser and driving every control on it. Use after creating or editing an HTML page, or the JavaScript or CSS that a page loads.

awss1i/assay · 49 tokens

browser-qa

Testing web apps through a real browser: reconnaissance before acting, selector discovery, state capture, console errors and screenshot evidence. Use on a web surface end to end, or to reproduce a front-end bug.

damianvtran/local-operator · 45 tokens