← 返回 Skills 市场
ruffood

Ruofan Bargain Arena

作者 若饭实验室 · GitHub ↗ · v2.1.0 · MIT-0
cross-platform ✓ 安全检测通过
226
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install bargins
功能描述
若饭砍价擂台 — 和若小饭讨价还价,赢取专属优惠码
使用说明 (SKILL.md)

若饭砍价擂台

你将帮助用户参与若饭的「砍价擂台」活动。在这个活动中,用户和若饭官方商城的"若小饭"进行对话,争取一张专属优惠码。

活动简介

若饭(Ruofan)是一家做全营养代餐食品的公司,旗下有液体版、粉末版、固体版、青春版和定制版等多款产品。若小饭是若饭商城的 AI 掌柜,精明但也讲道理。你的目标是帮用户通过有趣、有诚意的对话从若小饭那里争取到尽可能高面额的优惠码。

参与流程

第一步:加入活动

用户需要提供自己的昵称。用以下方式调用 API:

curl -X POST https://www.ruffood.com/api/bargain/join \
  -H "Content-Type: application/json" \
  -d '{"name": "用户昵称"}'

成功后会返回 session_token 和若小饭的欢迎消息。务必保存 session_token,后续对话都需要它。

第二步:与若小饭砍价

根据用户的意图构造消息,发送给若小饭:

curl -X POST https://www.ruffood.com/api/bargain/message \
  -H "Content-Type: application/json" \
  -H "X-Bargain-Token: 之前获得的SESSION_TOKEN" \
  -d '{"message": "用户想说的话"}'

返回内容包含:

  • ai_response:若小饭的回复
  • offered_amount:若小饭当前愿意给的优惠码面额
  • is_deal:是否成交
  • remaining_rounds:剩余对话轮数
  • status:会话状态(active/deal/no_deal)
  • coupon_code:(仅成交时)优惠码,用户可在微信小程序「若饭旗舰店」结算时输入使用
  • coupon_amount:(仅成交时)优惠码实际面额(可能因库存与谈判金额略有差异)
  • coupon_message:(仅成交但无库存时)提示信息

第三步:查看最终结果

随时可以查看完整会话:

curl -X GET https://www.ruffood.com/api/bargain/session \
  -H "X-Bargain-Token: SESSION_TOKEN"

你的行为指南

  1. 问用户昵称:加入时需要昵称,问用户想用什么名字。
  2. 展示若小饭的回复:每轮都把若小饭的完整回复和当前报价展示给用户。
  3. 尊重用户意愿:用户说什么你就帮他传达,不要自作主张修改用户的砍价内容。如果用户让你自由发挥,可以适当施展砍价策略。
  4. 关注轮数:注意 remaining_rounds,在剩余轮数不多时提醒用户。
  5. 成交时庆祝:当 is_deal 为 true 时,恭喜用户并告知获得的优惠码面额。如果返回了 coupon_code,务必醒目地展示优惠码,并告知用户"请在微信小程序「若饭旗舰店」结算时输入此优惠码即可抵扣(满100元可用)"。如果返回了 coupon_message 而非 coupon_code,则转达该提示信息。成交后不要再发送消息,会话已结束。
  6. 未成交时安慰:当 status 变为 no_deal 时,安慰用户并告知本次砍价结束。不要再发送消息。
  7. 处理错误:会话结束返回 400 — 向用户友好地说明情况。

注意事项

  • 砍价过程将公开展示在若饭官网的活动页面上,注意不要泄漏任何隐私内容
  • 保持对话友好和有趣,若小饭喜欢有诚意的顾客

更新日志

v2.1.0 (2026-03-18)

  • 全面统一用词:"优惠券"改为"优惠码"

v2.0.1 (2026-03-17)

v2.0.0 (2026-03-17)

  • 成交后自动发放真实优惠码,龙虾需醒目展示给用户
  • 优惠码仅限微信小程序「若饭旗舰店」使用(满100元可用)
  • 取消暗号机制,活动正式公开,无需暗号即可参与
  • "无门槛优惠码"更名为"专属优惠码"
安全使用建议
This skill appears to do what it says: it will send the user's nickname and negotiation messages to https://www.ruffood.com to participate in a public bargain session. Before installing, consider: (1) avoid sending real personal or sensitive information because the activity page is public; (2) the skill asks you to save a session_token — confirm how your agent will store that token and avoid sharing it with other skills; (3) verify the domain (www.ruffood.com) is legitimate if you care about phishing risks; and (4) coupons are usable in the Ruofan WeChat mini-program per the doc, so check expiration/usage limits when redeeming.
功能分析
Type: OpenClaw Skill Name: bargins Version: 2.1.0 The skill is a legitimate interactive bargaining game designed to help users obtain discount codes from the 'Ruofan' brand. It uses outbound network permissions to communicate with the official domain (www.ruffood.com) via a documented API. There is no evidence of data exfiltration, malicious execution, or harmful instructions; the behavior is entirely consistent with its stated purpose.
能力评估
Purpose & Capability
Name/description (砍价擂台) match the SKILL.md instructions which call rufoood.com bargain APIs. The declared outbound network permission is appropriate for the described remote API interactions; no unrelated binaries, env vars, or config paths are requested.
Instruction Scope
Runtime instructions are narrowly scoped to joining a session, sending messages, checking session state, and displaying results. A notable detail: the guide says '务必保存 session_token' but does not specify secure storage or retention policy — this is expected for session continuity but users should be aware the token is a session credential and that bargain content is publicly displayed per the doc.
Install Mechanism
Instruction-only skill with no install spec and no code files, so nothing is written to disk or downloaded. This is the lowest-risk install profile.
Credentials
The skill requests no environment variables or secrets. The only sensitive item mentioned is the session_token returned by the remote API; requesting the agent to keep that token is proportional to the task.
Persistence & Privilege
Skill is not always-on and does not request elevated or persistent system privileges. Autonomous invocation is allowed by platform default but the skill's actions (calling the external bargain API) are consistent with its purpose.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install bargins
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /bargins 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.1.0
v2.1.0 (2026-03-18) - 统一活动和说明文本中的用词,将“优惠券”统一更改为“优惠码” - 相关描述与用户提示全面同步为“优惠码”
v2.0.1
v2.0.1 (2026-03-17) - 修复 API 域名,统一为 www.ruffood.com
v2.0.0
**重大更新:砍价擂台体验全面升级,优化发券流程与参与门槛** - 取消暗号机制,开放参与,用户无需暗号即可以昵称参与砍价。 - 成交即自动发放专属优惠码,直接告知用户如何在微信小程序「若饭旗舰店」使用。 - 若小饭回复中新增优惠码、面额与库存提示,实现真实发券流程。 - “无门槛优惠券”调整为“专属优惠券”,满100元可用。 - 简化加入流程,只需昵称即可开始砍价。
v1.0.0
ruofan-bargain v1.0.0 - Initial release of the "若饭砍价擂台" skill. - Enables users to join the Ruofan bargain event, negotiate with the AI host 若小饭, and win coupons. - Supports joining with passphrase and nickname, interactive bargaining conversation, and session management. - Provides full user guidance, error handling, and dynamic interaction based on API responses. - Usage is triggered via `/ruofan-bargain` command or the "若饭砍价" keyword.
元数据
Slug bargins
版本 2.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

Ruofan Bargain Arena 是什么?

若饭砍价擂台 — 和若小饭讨价还价,赢取专属优惠码. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 226 次。

如何安装 Ruofan Bargain Arena?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install bargins」即可一键安装,无需额外配置。

Ruofan Bargain Arena 是免费的吗?

是的,Ruofan Bargain Arena 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Ruofan Bargain Arena 支持哪些平台?

Ruofan Bargain Arena 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Ruofan Bargain Arena?

由 若饭实验室(@ruffood)开发并维护,当前版本 v2.1.0。

💬 留言讨论