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.
npx skills add AgentComputerAI/torch --skill costcogit clone --depth 1 https://github.com/AgentComputerAI/torchWrote 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.
[](https://agentmods.dev/skills/agentcomputerai/torch/costco)<a href="https://agentmods.dev/skills/agentcomputerai/torch/costco"><img src="https://agentmods.dev/badge/skills/agentcomputerai/torch/costco/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.
<a href="https://agentmods.dev/skills/agentcomputerai/torch/costco"><img src="https://agentmods.dev/badge/skills/agentcomputerai/torch/costco.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00099 | $0.02376 |
| Opus 5.5 | $0.00040 | $0.00950 |
| Sonnet 5.5 | $0.00020 | $0.00475 |
| Haiku 4.5 | $0.00010 | $0.00238 |
Grade B, and why
costco 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 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.
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.
const res = await fetch("https://gdx-api.costco.com/catalog/search/api/v1/search", { method: "POST", 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 costco.com category listings (e.g. /laptops.html, /computers.html). Akamai Bot Manager hard-blocks bare curl with HTTP 403 on the HTML pages, but Costco's internal catalog API at How it starts
The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Costco (costco.com)
Costco's category HTML pages (
/laptops.html,/computers.html, etc.) sit behind Akamai Bot Manager and return 403 to anything that doesn't look like a fully-warmed browser. The actual product grid is rendered client-side by a Next.js app at/consumer-web/search/prd/catalog-usbc/that POSTs to a backend search API. That backend API is public — no cookies, no tokens, no bot manager — so the correct strategy is to replay it directly withfetchand ignore the HTML page entirely.
Detection
| Signal | Value |
|---|---|
| CDN / WAF | Akamai (server: AkamaiGHost, bm_ss/bm_s/akavpau_* cookies) |
| Frontend | Next.js SPA at /consumer-web/search/prd/catalog-usbc/ |
| Bare curl on HTML | 403 Forbidden (384-byte Akamai challenge body) |
Real Chrome (127.0.0.1:9222) on HTML |
200, but product DOM is empty until hydration |
| Backend API | https://gdx-api.costco.com/catalog/search/api/v1/search (POST) |
| API auth | None — no cookies, no tokens |
| API bot manager | None — plain fetch with a UA and 3 client headers works |
Architecture
GET /laptops.htmlreturns an Akamai-protected Next.js shell. The DOM has zero product tiles atdomcontentloaded.- The shell hydrates and fires a single
POST https://gdx-api.costco.com/catalog/search/api/v1/searchwith a JSON body containingfilterBy: ["attributes.category_uri: ANY(\"laptops\")"]andpageCategories: ["laptops"]. - The response is a full search result with
searchResult.results[](each containingproduct,variantRollupValues,rating) plus facets and pagination (totalSize,nextPageToken). - Individual tile hydration additionally fires per-item
gdx-api.costco.com/catalog/product/product-api/v1/products/summary?items=...calls — skip those, everything you need is already in the search response.
Strategy used
- Phase 0 (curl): 403 on
/laptops.html. Akamai. Noted. - Phase 1 (framework): Next.js, but the initial HTML has no
__NEXT_DATA__product payload and no/_next/data/JSON routes for this sub-app. Skipped. - Phase 2 (browser recon only): Connected to real Chrome via
127.0.0.1:9222, navigated to/laptops.html, captured network. Foundgdx-api.costco.com/catalog/search/api/v1/searchwith the POST body and headers. Immediately abandoned the browser. - Phase 3: Replayed the API directly with
fetch. No cookies. No browser. ~1.7s for the whole category.
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.
- 1mo ago First seen · 153 lines · 99 tokens per session scan B cd1e507152b7
costco is a skill published in the GitHub repository AgentComputerAI/torch (5 stars, last pushed 6mo ago), licensed MIT. It adds 99 tokens to every session and 2,376 once invoked, about $0.0004 per session on Opus 5.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-31.
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…
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…
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…
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.
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.
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.