shopping-skill

shopping-skill is a skill for Claude Code, Codex from TencentCloudBase/awesome-miniprogram-skills. It costs 19 tokens per session (1,072 once invoked), scanned A, original, MIT.

A shopping assistant for searching collectible toys, viewing product details, checking store stock, and placing orders.

In plain words
What is it for?
It helps users browse or search for items such as blind boxes and figures, inspect a product, find it in stores, and place an order.
Why use it?
It keeps product selection and purchasing in order by requiring product details before checking stock or buying.

Skill for Claude CodeCodex

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

Good fit It helps users browse or search for items such as blind boxes and figures, inspect a product, find it in stores, and place an order.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tencentcloudbase/awesome-miniprogram-skills/shopping-skill
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 TencentCloudBase/awesome-miniprogram-skills --skill shopping-skill
Clone the repo
git clone --depth 1 https://github.com/TencentCloudBase/awesome-miniprogram-skills

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 shopping-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/tencentcloudbase/awesome-miniprogram-skills/shopping-skill.svg)](https://agentmods.dev/skills/tencentcloudbase/awesome-miniprogram-skills/shopping-skill)
Your own site
<a href="https://agentmods.dev/skills/tencentcloudbase/awesome-miniprogram-skills/shopping-skill"><img src="https://agentmods.dev/badge/skills/tencentcloudbase/awesome-miniprogram-skills/shopping-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,072 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.00019 $0.01072
Opus 5 $0.00010 $0.00536
Sonnet 5 $0.00004 $0.00214
Haiku 4.5 $0.00002 $0.00107

Measured 8d ago against content hash c63477b3981f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

shopping-skill 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 8d ago.

The scan reads SKILL.md. This mod also ships 13 executable files (apis/checkStoreStock.js, apis/getProductDetail.js, apis/placeOrder.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/shopping-skill/SKILL.md · 86 lines

How it starts

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

shopping-skill 潮玩购物场景

业务流程图

用户意图
  │
  ├─ 模糊意图("想逛逛/看看有什么潮玩")─→ searchProducts(keyword='') → 推荐列表卡片
  │                                                                         │
  ├─ 明确关键词("Molly/SP/盲盒/手办")─→ searchProducts(keyword) → 搜索结果卡片 ─┤
  │                                                                             │
  │                           用户点击卡片选择某款商品                            │
  │                                    ↓                                        │
  │                             getProductDetail → 商品详情卡片                   │
  │                                    │                                        │
  │                    ┌───────────────┴───────────────┐                        │
  │                    ↓                               ↓                        │
  │         用户点击"查看门店库存"            用户点击"立即购买"                   │
  │                    ↓                               ↓                        │
  │          checkStoreStock → 库存卡片        placeOrder → 下单成功卡片          │
  │                                                                             │
  └─ 查询门店库存("XX在哪有货")──→ checkStoreStock → 门店库存卡片

Agent 不能跳过 getProductDetail 直接调 placeOrder——必须先有 getProductDetail 返回的有效 productId。 Agent 不能编造 productId 或 storeId——必须来自上游接口返回的原值。 placeOrder 未返回成功前,禁止向用户宣布"已下单成功"。

原子接口依赖关系

接口 作用 组件 前置条件
searchProducts 搜索/推荐潮玩商品 product-list-card
getProductDetail 查看商品详情 product-detail-card 已有 productId(来自 searchProducts)
checkStoreStock 查询门店库存 stock-check-card 已有 productId(来自 getProductDetail)
placeOrder 下单购买 order-success-card 已有 productId + storeId(来自 getProductDetail/checkStoreStock)

业务约束(跨接口铁律)

1. 输出形态

  • 所有成功返回的接口(isError=false)且绑定了组件的,必须展示卡片,禁止以纯文本列出卡片中的详情数据。
  • Agent 回复时可附加一句简短引导话术(如"为你推荐了这些潮玩,点击卡片查看详情"),但禁止把商品名、价格等以 markdown 列表形式展开

2. 执行顺序

  • placeOrder 必须在调用成功(isError=false)后才能向用户宣布"下单成功"。
  • placeOrder 必须在 getProductDetail 成功后调用。
  • 禁止并发调用 placeOrder;须等上一笔结束后再发起下一笔。

Read the full file on GitHub · 86 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. 8d ago First seen · 86 lines · 19 tokens per session scan A c63477b3981f

Subscribe to this mod's changes

shopping-skill is a skill published in the GitHub repository TencentCloudBase/awesome-miniprogram-skills (36 stars, last pushed 2mo ago), licensed MIT. It adds 19 tokens to every session and 1,072 once invoked, about $0.0001 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.