Roty Tiffin Skill
/install add-tiffin-order-roty-input
name: add-tiffin-order-roty-input description: "POST-only: Parse 'Roty input' messages and create Roty orders via HTTPS POST (no Playwright/UI automation)."
Add Tiffin Order - Roty Input (POST-only)
Trigger
Run when an inbound message contains the exact phrase "Roty input" (case-insensitive).
Important
- DO NOT use Playwright, browser automation, screenshots, or vision clicks.
- This skill creates orders only by sending a JSON payload via HTTPS POST to:
https://newdailyorderandcartcreation-818352713629.australia-southeast1.run.app
Execution (MANDATORY)
When triggered, you MUST call the dispatcher script and use its output. Do NOT manually construct curl or JSON payloads.
Run: python3 /data/.openclaw/workspace/skills/add-tiffin-order-roty-input/scripts/handle_message.py \x3Csender_id> "\x3Cfull inbound message>"
Rules:
- Always POST using the dispatcher (unless it returns Missing address/dates/product).
- Never hardcode perProductCost (never "[15]").
- Never use hardCodedPrice for perProductCost.
- perProductCost MUST come from pricing_engine.py via handle_message.py.
Authorization (Telegram)
- Only allow Telegram users whose
from.idis in:data/allowed_users.jsonunderadminsorvendors. - If unauthorized: reply "Not authorized."
Behavior
- Parse messy input into:
- customerName
- userAddress
- deliveryDates (must resolve at least 1 date; otherwise ask a follow-up)
- product selection + modifiers
- specialRequests
- Build payload in the exact API shape (see build_payload.py).
- Send POST immediately (no "Dry-run vs Live" prompt), unless:
- address missing, OR
- no dates resolved, OR
- product not matched In those cases, ask only for the missing piece.
- On success: confirm with cartNo.
Scripts
- Dispatcher:
scripts/handle_message.py - Parser:
scripts/parse_roty_input.py - Matcher:
scripts/match_product_and_modifiers.py - Pricing:
scripts/pricing_engine.py - Payload:
scripts/build_payload.py - POST sender (urllib):
scripts/post_order.py - Products registry:
data/products_roty.json - Allowlist:
data/allowed_users.json
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install add-tiffin-order-roty-input - 安装完成后,直接呼叫该 Skill 的名称或使用
/add-tiffin-order-roty-input触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Roty Tiffin Skill 是什么?
Parse "Roty input" messages from authorized Telegram users to create Roty tiffin orders via HTTPS POST without UI automation. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 344 次。
如何安装 Roty Tiffin Skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install add-tiffin-order-roty-input」即可一键安装,无需额外配置。
Roty Tiffin Skill 是免费的吗?
是的,Roty Tiffin Skill 完全免费(开源免费),可自由下载、安装和使用。
Roty Tiffin Skill 支持哪些平台?
Roty Tiffin Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Roty Tiffin Skill?
由 Horng Yang Tan(@horngtan)开发并维护,当前版本 v0.1.0。