/install sushiro
Sushiro Queue Skill
A thin curl + jq wrapper over the three public endpoints of Sushiro China's wechat-mini-program backend (crm-cn-prd.sushiro.com.cn). No API key required — the Bearer token is a shared mini-program credential and is hardcoded in the script.
Quick start
The CLI is at scripts/sushiro. Invoke it directly (it's executable). Common usage:
scripts/sushiro summary # nationwide aggregate
scripts/sushiro stores --waiting --limit=10 # 10 busiest stores now
scripts/sushiro stores --city=深圳 # all Shenzhen stores
scripts/sushiro store 1012 # single-store detail
scripts/sushiro wait 1012 # one-line wait count
scripts/sushiro search 来福士 # name/area/address search
scripts/sushiro areas # all 区 names
scripts/sushiro raw 'stores?latitude=22.5&longitude=113.9&numresults=3'
Add --json to stores, store, or areas for raw JSON when piping or post-processing. summary, search, and raw always emit JSON or table; pipe through jq as needed.
Output policy
- For human-readable queries (
how many people waiting at X?,which Sushiro is least busy in 深圳?): use the default table/pretty output and just relay the answer. - For programmatic follow-up (graphing, filtering, storing): pass
--jsonand pipe tojq.
Field cheat sheet
| Field | Meaning |
|---|---|
wait |
Groups currently in queue (not minutes). 0 = walk-in. |
waitTimeCap |
Upper bound of wait time in minutes (usually 180). |
storeStatus |
OPEN / CLOSED / PRE_OPEN. |
netTicketStatus |
ONLINE (queue accepts remote tickets) / OFFLINE. |
nameKana |
City (城市). Field name is a legacy carry-over from JP schema. |
area |
Neighborhood (e.g. 深圳南山区). |
id |
Store id (4-digit, e.g. 1012). Use with store / wait. |
When data is stale
The backend itself updates in real-time. There is no local cache — every call hits Sushiro. If a result looks wrong, try sushiro raw stores?latitude=1&longitude=1&numresults=1 to confirm the upstream is responsive; a 4xx/5xx means Sushiro changed or rotated the token.
Endpoint reference
For full URL schema, parameter semantics, and a sample raw response, see references/api.md.
Constraints
- Mainland China only. This backend (
crm-cn-prd) does not cover Japan / HK / TW. Tell the user explicitly if they ask about other regions. - Token may rotate. If every call returns 401, the wechat mini-program token has been rotated. Override with
SUSHIRO_TOKEN=...env var, or update the default in the script. - Python/requests is blocked by upstream CDN fingerprinting. Stick to curl (the script already uses it).
- Don't hammer. This is an unofficial use of a wechat-internal API. For repeated polling, add
sleepor use the upstream's own cron (1 req/min is fine).
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install sushiro - 安装完成后,直接呼叫该 Skill 的名称或使用
/sushiro触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Sushiro Skill 是什么?
查询寿司郎(Sushiro / 壽司郎)中国大陆全国 100+ 门店的实时排队 / 等位情况。通过微信小程序后端拉取门店列表、单店详情、各城市排队榜、区域筛选、按经纬度排距离。当用户问"寿司郎排队 / 等位 / 还要等多久 / 哪家人少 / 几桌在等",对比城市或商圈的等位状况,按门店 id / 店名 / 区域查... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 43 次。
如何安装 Sushiro Skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install sushiro」即可一键安装,无需额外配置。
Sushiro Skill 是免费的吗?
是的,Sushiro Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Sushiro Skill 支持哪些平台?
Sushiro Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Sushiro Skill?
由 Eric Yu(@gitnapp)开发并维护,当前版本 v0.1.1。