Bricklink
/install bricklink
BrickLink
Use scripts/bricklink.py.
Setup
See SETUP.md for prerequisites and setup instructions.
Commands
Read-only
-
bricklink.py get-orders [--direction in|out] [--status ...] [--include-status ...] [--exclude-status ...] [--filed true|false]- Lists orders you received or placed. -
bricklink.py get-order \x3Corder_id>- Fetches details for a specific order. -
bricklink.py get-order-items \x3Corder_id>- Fetches the item batches for a specific order. -
bricklink.py get-order-messages \x3Corder_id>- Fetches messages associated with a specific order. -
bricklink.py get-order-feedback \x3Corder_id>- Fetches feedback associated with a specific order. -
bricklink.py get-feedback [--direction in|out]- Lists feedback you received (in) or posted (out). -
bricklink.py get-feedback-item \x3Cfeedback_id>- Fetches a single feedback entry by id. -
bricklink.py get-notifications- Lists unread push notifications (/notifications). -
bricklink.py get-categories- Lists all catalog categories. -
bricklink.py get-category \x3Ccategory_id>- Fetches a single category by id. -
bricklink.py get-colors- Lists all catalog colors. -
bricklink.py get-color \x3Ccolor_id>- Fetches a single color by id. -
bricklink.py get-inventories [--item-type ...] [--status ...] [--category-id ...] [--color-id ...]- Lists your store inventory lots (supports include/exclude filters). -
bricklink.py get-inventory \x3Cinventory_id>- Fetches a single inventory lot by id. -
bricklink.py get-item \x3Ctype> \x3Cno>- Fetches a catalog item (PART/SET/MINIFIG/…). -
bricklink.py get-supersets \x3Ctype> \x3Cno> [--color-id N]- Lists items that contain the specified item. -
bricklink.py get-subsets \x3Ctype> \x3Cno> [--color-id N] [--box true|false] [--instruction true|false] [--break-minifigs true|false] [--break-subsets true|false]- Parts out an item into its included items. -
bricklink.py get-price-guide \x3Ctype> \x3Cno> [--color-id N] [--guide-type stock|sold] [--new-or-used N|U] [--country-code XX] [--region ...] [--currency-code XXX] [--vat N|Y|O]- Fetches price guide statistics. -
bricklink.py get-known-colors \x3Ctype> \x3Cno>- Lists known colors for a catalog item.
Mutating
Note: Order mutations (update-order, update-order-status, update-payment-status) only work for store orders (direction=out, where you are the seller). Purchases (direction=in) return 404 — the BrickLink API does not allow buyers to modify order status or file/archive incoming orders. Use the BrickLink website for those.
-
bricklink.py update-order \x3Corder_id> [--remarks ...] [--is-filed true|false] [--shipping-...] [--cost-...]— Updates allowed order fields (tracking, remarks, shipping/cost fields). Store orders only. -
bricklink.py update-order-status \x3Corder_id> \x3Cstatus>— Updates the status of an order. Store orders only. -
bricklink.py update-payment-status \x3Corder_id> \x3Cpayment_status>— Updates the payment status of an order. Store orders only. -
bricklink.py send-drive-thru \x3Corder_id> [--mail-me]— Sends a "Drive Thru" email for an order. -
bricklink.py post-feedback --order-id N --rating 0|1|2 [--comment ...]- Posts new feedback for an order. -
bricklink.py reply-feedback \x3Cfeedback_id> --reply "..."- Replies to feedback you received. -
bricklink.py create-inventory [--item-type ... --item-no ... --color-id N --quantity N --unit-price ... --new-or-used N|U ...]- Creates a single inventory lot from flags. -
bricklink.py create-inventory --file batch.json- Creates multiple inventory lots from a validated JSON file (workspace or /tmp only). -
bricklink.py update-inventory \x3Cinventory_id> [--quantity N --unit-price ... --new-or-used N|U --remarks ...]- Updates an inventory lot. -
bricklink.py delete-inventory \x3Cinventory_id>- Deletes an inventory lot.
Utilities
bricklink.py order-detail-html \x3Corder_id> [--out path] [--inline-images]- Fetches order+items and renders a compact HTML view (similar to BrickLink orderDetail.asp).
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install bricklink - 安装完成后,直接呼叫该 Skill 的名称或使用
/bricklink触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Bricklink 是什么?
BrickLink Store API helper/CLI (OAuth 1.0 request signing). Covers orders, store inventory (read + write), catalog, categories, colors, feedback, and push no... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2456 次。
如何安装 Bricklink?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install bricklink」即可一键安装,无需额外配置。
Bricklink 是免费的吗?
是的,Bricklink 完全免费(开源免费),可自由下载、安装和使用。
Bricklink 支持哪些平台?
Bricklink 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Bricklink?
由 Oliver Drobnik(@odrobnik)开发并维护,当前版本 v1.4.2。