← Back to Skills Marketplace
sippai

今日酒单

by sippai · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
32
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install sip-wine-list
Description
查询餐厅、酒吧、葡萄酒商店的按杯/单杯卖酒单与实时价格(sipsiip 合作门店数据)。 适用场景:用户问「这家店有什么按杯卖的酒」「多少钱一杯」「有什么规格」「今晚有什么酒」等。 触发关键词:查杯卖酒、按杯卖酒、单杯酒价、酒单、卖什么酒、有什么酒、wine by the glass、 杯卖葡萄酒、分杯酒、餐厅酒...
README (SKILL.md)

🍷 SipSiip 按杯/单杯酒价查询 Skill

一句话:告诉 AI 助手"查杯卖酒",它就能自动查询合作门店的实时在架酒单与价格。

能力概览

项目 说明
覆盖范围 sipsiip 合作门店(餐厅、酒吧、葡萄酒商店等)
数据内容 上机在架酒款名称 / 规格(ml) / 单杯价格(元)
实时性 实时数据,与门店智能侍酒机同步
需要注册 ❌ 不需要 API Key
调用方式 HTTP GET(2 条接口,无需鉴权)

工作流

用户提问:"半山腰今晚有什么杯卖酒?"
        ↓
  Step 1: resolve_store(keywords="半山腰")
        ↓
  返回: match=AMBIGUOUS → candidates=[8家门店]
        ↓
  让用户选: "请问是哪家?"(列出选项)
        ↓
  用户选定: "凤凰汇那家"
        ↓
  Step 2: list_glass_wines(tenantId=1005)
        ↓
  返回: 8款酒(品名/规格/价格)
        ↓
  回答用户: 逐款展示酒单 ✅

详细规则

  1. 已有 tenantId 或门店名唯一 → 直接调用 list_glass_wines(tenantId=…) 拉取酒单。

  2. 只有店名/地点关键词 → 先调用 resolve_store(keywords=用户原话)

    • match=NONE → 告知用户未找到该门店,建议换个关键词
    • match=SINGLE → 用返回的 tenantId 直接调 list_glass_wines
    • match=AMBIGUOUScandidates[] 列出选项让用户二选一/多选一,不得替用户猜! 选定后再调
  3. 回答格式要求

    • 逐款说明:品名 / 规格 / 可售杯量及对应价格
    • 缺字段明确告知「无公开数据」,不猜价格
    • 价格为 ¥0 时提示可能未定价,建议现场确认
    • 白酒/红葡萄酒/起泡酒可分类展示,提升可读性
  4. 禁止事项

    • ❌ 编造价格或酒款
    • ❌ 多候选门店时替用户直接选定
    • ❌ 回答工具未提供的数据(如"全城排名""库存量"等)
    • ❌ 使用缓存数据替代实时接口结果

工具定义

工具一:resolve_store — 门店解析

字段 说明
用途 根据店名/关键词/地址片段,匹配门店并返回 tenantId
请求 GET {baseUrl}/open/v1/stores/resolve?keywords=\x3C编码后的关键词>
参数 keywords(必填):中文需 UTF-8 URL 编码

响应结构 (result 字段):

{
  "match": "NONE | SINGLE | AMBIGUOUS",
  "tenantId": "唯一命中时的门店ID(SINGLE 时有值)",
  "candidates": [
    {
      "id": "门店ID(用作 tenantId)",
      "name": "门店全称",
      "companyAddress": "详细地址"
    }
  ]
}

工具二:list_glass_wines — 酒单价格

字段 说明
用途 查询指定门店上机在架的按杯/单杯酒款及价格
请求 GET {baseUrl}/open/v1/glass-wines?tenantId=\x3C门店ID>
参数 tenantId(必填):来自 resolve_store 返回的 candidates[i].id

响应结构 (result.items[]):

{
  "storeProductId": "商品ID",
  "title": "酒款名称",
  "imageUrl": "酒瓶图片URL",
  "bigGlassMl": 120,
  "bigGlassPriceYuan": 39.00,
  "midGlassMl": 120,
  "midGlassPriceYuan": null,
  "smallGlassMl": null,
  "smallGlassPriceYuan": null
}

注:规格字段(big/mid/small)可能为 null,表示该门店不提供此规格。价格为 0 时通常表示尚未定价。

HTTP 接口速查

接口 URL 示例
根地址 https://tourapi.sipsiip.com/sip-tour
门店解析 GET .../open/v1/stores/resolve?keywords= ?keywords=%E5%8D%8A%E5%B1%B1%E8%85%B0
酒单价格 GET .../open/v1/glass-wines?tenantId= ?tenantId=1005

可直接在浏览器中打开测试,无需任何 API Key。

MCP 接入方式(可选)

对于支持 MCP 协议的 AI 助手(Cursor / Claude Code / Trae / Windsurf 等),可通过 skill.json 配置 stdio MCP 服务端,实现更规范的工具暴露。详见仓库中的 skill.jsontools/sip-glass-wines-mcp/ 目录。

相关链接

资源 地址
📖 官方说明页 https://sipsiip.com/ai/getwine
📦 Gitee 仓库 https://gitee.com/sipsiip/sip-glass-wine
📄 开放 API 文档 https://sipsiip.com/docs/sipsiip-glass-wine/open-glass-wine.md
🏢 SipSiip 官网 https://sipsiip.com
Usage Guidance
This skill looks safe for its stated purpose: looking up by-the-glass wine lists and prices from sipsiip public data. Be aware that store search terms are sent to sipsiip, and do not enable the optional MCP mode unless you have reviewed the referenced repository/helper code.
Capability Analysis
Type: OpenClaw Skill Name: sip-wine-list Version: 1.0.0 The 'sip-wine-list' skill is a legitimate tool for querying wine-by-the-glass menus and prices from SipSiip partner stores. It defines two tools that perform standard HTTP GET requests to `tourapi.sipsiip.com` to resolve store IDs and fetch wine lists. The instructions in SKILL.md and skill.json are well-defined, focusing on data accuracy and user interaction without any signs of malicious intent, data exfiltration, or unauthorized system access.
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
The stated purpose is coherent: resolve a restaurant/bar/shop and list by-the-glass wine names, sizes, and prices from sipsiip public endpoints. The artifacts describe only read-only GET queries and no ordering, payment, or account mutation.
Instruction Scope
The skill can be invoked for wine-list questions and sends store keywords or tenant IDs to sipsiip. This is purpose-aligned and disclosed, but users should avoid putting unrelated personal information into store-search prompts.
Install Mechanism
The ClawHub package is instruction-only, but skill.json documents an optional MCP stdio command using npx and a tools path that is not included in the provided files. Users should inspect the referenced repository before enabling MCP mode.
Credentials
The provided capability signal says requires-sensitive-credentials, but SKILL.md, _meta.json, and README repeatedly state that no API key or authentication is needed, and no credential-handling code is present.
Persistence & Privilege
No persistence, background worker, privileged OS access, local file indexing, credential store access, or destructive behavior is shown in the provided artifacts.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install sip-wine-list
  3. After installation, invoke the skill by name or use /sip-wine-list
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of sip-glass-wine skill for querying real-time by-the-glass wine lists and prices at sipsiip partner venues. - Supports searching wine lists via keywords (restaurant/bar/wine shop names, addresses) without needing an API key. - Ensures accuracy by requiring user selection when multiple venue matches are found; prohibits guessing, fabricating prices, or making assumptions. - Clearly displays available wines by name, volume, and price; notifies user if data is missing or unavailable. - Uses real-time data synchronized from smart wine dispensers in participating venues.
Metadata
Slug sip-wine-list
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 今日酒单?

查询餐厅、酒吧、葡萄酒商店的按杯/单杯卖酒单与实时价格(sipsiip 合作门店数据)。 适用场景:用户问「这家店有什么按杯卖的酒」「多少钱一杯」「有什么规格」「今晚有什么酒」等。 触发关键词:查杯卖酒、按杯卖酒、单杯酒价、酒单、卖什么酒、有什么酒、wine by the glass、 杯卖葡萄酒、分杯酒、餐厅酒... It is an AI Agent Skill for Claude Code / OpenClaw, with 32 downloads so far.

How do I install 今日酒单?

Run "/install sip-wine-list" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 今日酒单 free?

Yes, 今日酒单 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 今日酒单 support?

今日酒单 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 今日酒单?

It is built and maintained by sippai (@sippai); the current version is v1.0.0.

💬 Comments