🤖
Bring
Manage Bring! shopping lists - view, add, remove items from shared grocery lists.
安全通过
技能说明
name: "bring" description: "Manage Bring! shopping lists - view, add, remove items from shared grocery lists." allowed-tools: ["exec"] user-invocable: true
Bring Shopping List Integration
Invocation
The CLI lives at scripts/bring-cli.js. Always prefix with NODE_PATH=$(npm root -g):
NODE_PATH=$(npm root -g) node ~/.openclaw/workspace/skills/bring/scripts/bring-cli.js <command> [args]
Prerequisites
npm install -g bring-shopping
Setup
NODE_PATH=$(npm root -g) node ~/.openclaw/workspace/skills/bring/scripts/bring-cli.js configure <email> <password>
Config stored at ~/.openclaw/bring/config.json. Tokens cached at ~/.openclaw/bring/token.json (7-day expiry).
Commands
| Command | Args | Notes |
|---|---|---|
configure | <email> <password> | One-time setup |
renew | — | Force re-login if token expired |
lists | — | All lists with UUIDs |
findlist | <name> | Partial name match |
items | [listUuid] | Default list if omitted |
add | <listUuid> <item> [note] | Raw add, no catalog lookup |
smartadd | <listUuid> <item> [locale] [note] | Preferred: catalog-aware, gets icons |
remove | <listUuid> <item> | Moves to recent |
setdefault | <listUuid> | Avoid passing UUID every time |
detectlang | <listUuid> | Auto-detect list language |
setlang | <listUuid> <locale> | Cache language preference |
getlang | <listUuid> | Cached or auto-detected |
Supported locales: en-US, it-IT, es-ES, de-DE, fr-FR
Workflow
Adding items (prefer smartadd)
- If user doesn't specify a list, use default (check
itemswithout UUID first). - Use
smartaddwith the list's locale for icon support. Fall back toaddif catalog miss. - Confirm what was added.
Viewing items
Run items (with listUuid or default). Present purchase items as "to buy" and recently as "recently bought".
Removing items
Run remove <listUuid> "<exact-item-name>". Item names are case-sensitive — match exactly from items output.
Gotchas
- Item names are case-sensitive — copy exact names from
itemsoutput. removemoves to recent, doesn't delete.- Token cache expires after 7 days; run
renewif commands start failing with auth errors. smartaddneeds the right locale to find catalog matches.- Lists use mixed languages (e.g. "Home in Florence" has Italian, German, English items). Detect per-list.
如何使用「Bring」?
- 打开小龙虾AI(Web 或 iOS App)
- 点击上方「立即使用」按钮,或在对话框中输入任务描述
- 小龙虾AI 会自动匹配并调用「Bring」技能完成任务
- 结果即时呈现,支持继续对话优化