drink-skill

drink-skill is a skill for Claude Code, Codex from wechat-miniprogram/ai-mode-demo. It costs 0 tokens per session (2,594 once invoked), scanned A, original, MIT.

A Chinese-language ordering skill for a WeStoreCafe mini-program, where users can search drinks, view drink details, choose sizes or options, and place orders. It returns text and clickable mini-program cards that hand users into the store pages.

In plain words
What is it for?
Use it to search the drink menu, show a selected drink, start a new order, or add another drink to an existing order.
Why use it?
It separates conversational drink selection from the store screens where users browse, configure, and pay for items.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

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 skills/wechat-miniprogram/ai-mode-demo/drink-skill
Any agent
npx skills add wechat-miniprogram/ai-mode-demo --skill drink-skill
Clone the repo
git clone --depth 1 https://github.com/wechat-miniprogram/ai-mode-demo

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/wechat-miniprogram/ai-mode-demo/drink-skill.svg)](https://agentmods.dev/skills/wechat-miniprogram/ai-mode-demo/drink-skill)
Your own site
<a href="https://agentmods.dev/skills/wechat-miniprogram/ai-mode-demo/drink-skill"><img src="https://agentmods.dev/badge/skills/wechat-miniprogram/ai-mode-demo/drink-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,594 The whole file, excluding the scripts and references it only reads on demand.
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.1 $0.00000 $0.02594
Opus 5 $0.00000 $0.01297
Sonnet 5 $0.00000 $0.00519
Haiku 4.5 $0.00000 $0.00259

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

Security

Grade A, and why

drink-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 6d ago.

The scan reads SKILL.md. This mod also ships 17 executable files (apis/addToOrder.js, apis/cancelOrder.js, apis/createOrder.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/drink-skill/SKILL.md · 102 lines

How it starts

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

drink-skill WeStoreCafe 点单场景(小微 AI Handoff 模式)

本 SKILL 已适配「小微 SubAgent handoff」:对话内只展示文本回复 + 小程序卡片, 用户点击小程序卡片后 handoff 接力进入开发者业务页(接力页),在小程序内完成后续操作。 小微对话内不渲染原子组件;组件代码与 componentPath 保留以便后续复用 / 小程序内 Agent 场景。

业务流程图(handoff 模式)

用户意图
  │
  ├─ 明确关键词/品类("拿铁"/"果汁")─→ searchDrinks ──┐  文本 + 小程序卡片
  │    (模糊意图 keyword 留空,返回全部饮品)          │  (点击 handoff 进列表页)
  │                                                  │
  │                              点击卡片 → 接力页 home(首页浏览/搜索/筛选)
  │                                            │ navigateTo(小程序内)
  │                                            ↓
  ├─ 已知 drinkId(看详情)──→ selectDrink ──→ 文本 + 小程序卡片
  │                                            点击卡片 → 接力页 sku-picker(详情/选规格)
  │                                                          │ 加入订单 → navigateTo(小程序内)
  │                                                          ↓
  ├─ 新点一杯 / 换一杯(新建订单)─→ createOrder ─→ 文本 + 小程序卡片
  │                                            点击卡片 → 接力页 checkout(地址 + 支付,展示全部已选商品)
  │                                                          ↑
  ├─ 再加一杯 / 追加(已有订单)──→ addToOrder ──→ 文本 + 小程序卡片(同上,商品列表已含追加项)
  │                                                          │
  ├─ 删掉某杯(订单>1件)──────→ removeOrderItem ─→ 文本 + 小程序卡片(同上,商品列表已移除该项)
  │                                                          ↓
  │                                                    完成下单(小程序内 wx.chooseAddress / wx.requestPayment)
  │
  └─ 对话中直接给出地址 ────→ saveAddress ──→ 文本 + 小程序卡片
                                               点击卡片 → 接力页 checkout(预填地址,确认支付)

注:上图中 createOrder / addToOrder 并非独立入口,均需先经 selectDrink 拿到目标饮品的 drinkId 与规格后才能调用(见「业务约束 2. 执行顺序」)。

原子接口 ↔ 接力页映射

接口 作用 handoff.query 接力页 pagePath
searchDrinks 关键词搜索 / 浏览全部 keyword=拿铁(可留空=全部) /pages/home/home
selectDrink 饮品详情 + 规格 drinkId=289 /packageDetail/pages/sku-picker
createOrder 新建订单(首杯/换一杯) orderId=xxx /packageDetail/pages/checkout
addToOrder 追加商品到当前订单 orderId=xxx /packageDetail/pages/checkout
removeOrderItem 删除订单内某商品(至少保留一件) orderId=xxx /packageDetail/pages/checkout
viewOrder 查看当前进行中的订单 orderId=xxx /packageDetail/pages/checkout
cancelOrder 取消/清空整单 空(回首页) /pages/home/home
saveAddress 保存地址 → 结算页 orderId=xxx /packageDetail/pages/checkout

Read the full file on GitHub · 102 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 First seen · 102 lines · 0 tokens per session scan A f49e97bc4fc6

Subscribe to this mod's changes

drink-skill is a skill published in the GitHub repository wechat-miniprogram/ai-mode-demo (286 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,594 tokens. 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.

Related

Other skills, from other repositories

nemoclaw-contributor-implement-issue

Implement an accepted NemoClaw GitHub issue in the current checkout. Use when a user asks to pick up an issue for implementation, implement or fix a named issue, or add the issue's tests. Confirm accepted scope, deliver the smallest independently valuable capability slice, and record validation and remaining gates…

NVIDIA/NemoClaw · 134 tokens

amazon-reviews-api-skill

This skill helps users automatically extract Amazon product reviews via the Amazon Reviews API. Agent should proactively apply this skill when users express needs like getting reviews for Amazon product with ASIN B07TS6R1SF, analyzing customer feedback for a specific Amazon item, getting ratings and comments for a…

browser-act/skills · 124 tokens

amazon-competitor-analyzer

Scrapes Amazon product data from ASINs using browseract.com automation API and performs surgical competitive analysis. Compares specifications, pricing, review quality, and visual strategies to identify competitor moats and vulnerabilities.

browser-act/skills · 48 tokens

food-order

Reorder previous Foodora orders, preview cart contents, and track delivery ETA/status with ordercli. Use when the user wants to reorder food, check delivery status, or browse recent Foodora order history. Never confirm an order without explicit user approval.

Bitterbot-AI/bitterbot-desktop · 53 tokens

asc-subscription-localization

Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.

rorkai/app-store-connect-cli-skills · 60 tokens

product-description-generator

E-commerce product description generator for any platform. Generates optimized titles, bullet points, descriptions, and backend keywords using competitor research + keyword scoring + FABE copywriting. Two modes: (A) Create — generate listing from product specs with optional competitor analysis, (B) Optimize — improve…

nexscope-ai/eCommerce-Skills · 126 tokens