Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

waimai-merchant外卖商户

Agent Skill

waimai-merchant 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

9,408

周安装

423

GitHub Stars

公开资料未说明

下载量

3,296
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:waimai-merchant(外卖商户)
来源仓库:https://github.com/harrylabsj/waimai-merchant
安装命令:
openclaw skills install waimai-merchant
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install waimai-merchant

简介

外卖商家管理技巧 - 支持商家注册、商品管理、价格修改和商品时间设置。当用户提及商家注册、商品管理、价格更新、外卖配送的配送时间设置时使用。

SKILL.md

name
waimai-merchant
description
外卖商家管理 Skill - 支持商家注册、商品管理、价格修改和配送时间设置。Use when user mentions merchant registration, product management, price updates, delivery time settings for food delivery business.
triggers

Waimai Merchant - 外卖商家管理

外卖商家管理系统,支持商家注册、商品管理、价格修改和配送承诺时间设置。

核心功能

  1. 商家注册 - 商家信息录入、认证管理
  2. 商品上传 - 添加新商品(名称、描述、图片、价格等)
  3. 价格修改 - 更新商品价格
  4. 配送承诺时间 - 设置/修改每个商品的承诺到货时间

安装依赖

cd ~/.openclaw/workspace/skills/waimai-merchant
npm install
npm run build

CLI 命令入口

商家管理命令

# 注册新商家
node dist/index.js merchant register -n "美味餐厅" -p "13800138000" -a "北京市朝阳区xxx街道"

# 列出所有商家
node dist/index.js merchant list

# 按状态筛选商家
node dist/index.js merchant list --status approved

# 查看商家详情
node dist/index.js merchant show <id>

# 更新商家信息
node dist/index.js merchant update <id> -n "新名称" -p "新电话"

# 认证商家
node dist/index.js merchant approve <id>

# 拒绝商家
node dist/index.js merchant reject <id>

# 暂停商家
node dist/index.js merchant suspend <id>

# 删除商家
node dist/index.js merchant delete <id>

# 搜索商家
node dist/index.js merchant search <keyword>

商品管理命令

# 添加新商品
node dist/index.js product add -m <merchant_id> -n "红烧肉" -p 38.00 -c "热菜" -t 30 -s 100

# 列出商品
node dist/index.js product list

# 按商家筛选商品
node dist/index.js product list -m <merchant_id>

# 只显示上架商品
node dist/index.js product list -a

# 按分类筛选
node dist/index.js product list -c "热菜"

# 查看商品详情
node dist/index.js product show <id>

# 更新商品信息
node dist/index.js product update <id> -n "新名称" -d "新描述"

# 修改商品价格
node dist/index.js product price <id> <new_price>

# 修改配送时间
node dist/index.js product delivery <id> <minutes>

# 上架商品
node dist/index.js product activate <id>

# 下架商品
node dist/index.js product deactivate <id>

# 标记售罄
node dist/index.js product soldout <id>

# 删除商品
node dist/index.js product delete <id>

# 搜索商品
node dist/index.js product search <keyword>

# 列出所有分类
node dist/index.js product categories

其他命令

# 查看数据存储位置
node dist/index.js data

# 显示帮助
node dist/index.js --help
node dist/index.js merchant --help
node dist/index.js product --help

数据结构

商家 (Merchant)

字段类型说明
idINTEGER主键
nameTEXT商家名称
phoneTEXT联系电话(唯一)
emailTEXT电子邮箱
addressTEXT商家地址
business_licenseTEXT营业执照号
contact_personTEXT联系人姓名
statusTEXT状态:pending/approved/rejected/suspended
created_atDATETIME创建时间
updated_atDATETIME更新时间

商品 (Product)

字段类型说明
idINTEGER主键
merchant_idINTEGER商家ID(外键)
nameTEXT商品名称
descriptionTEXT商品描述
priceREAL当前价格
original_priceREAL原价
image_urlTEXT商品图片URL
categoryTEXT商品分类
delivery_timeINTEGER配送承诺时间(分钟)
stockINTEGER库存数量
statusTEXT状态:active/inactive/sold_out
created_atDATETIME创建时间
updated_atDATETIME更新时间

数据存储

数据存储在: ~/.waimai-merchant/

  • merchant.db - SQLite 数据库文件

使用流程

商家入驻流程

  1. 注册商家: 使用 merchant register 录入基本信息
  2. 等待审核: 商家状态为 pending
  3. 审核通过: 管理员使用 merchant approve 通过认证
  4. 开始营业: 商家可以添加商品

商品管理流程

  1. 添加商品: 使用 product add 创建商品
  2. 设置价格: 初始价格可在添加时设置,后续用 product price 修改
  3. 设置配送时间: 初始配送时间在添加时设置,后续用 product delivery 修改
  4. 上架销售: 使用 product activate 将商品上架
  5. 日常管理: 根据库存情况使用 product soldoutproduct deactivate

技术栈

  • 语言: TypeScript / Node.js
  • 数据库: SQLite (better-sqlite3)
  • CLI 框架: Commander.js
  • 样式: Chalk

扩展计划

以下功能为后续迭代方向:

  • [ ] Web 管理界面
  • [ ] 订单管理功能
  • [ ] 数据统计报表
  • [ ] API 接口开发
  • [ ] 与 waimai-ai.ai 网站集成

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

73.72%
按下载量换算2,430

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills