Oliver Drobnik

BrickLink

开发编程v1.4.4
作者:Oliver Drobnik更新于 2026-09-24共 16 个版本 · 最新版本发布于 2026-09-24bricklink@clawhub_odrobnik/bricklink
脚本工具

据 AlphaMoat 统计,截至 2026-09,BrickLink 累计下载 3,858 次、获 1 个星标,在全部 5,078 个 AI 技能中排名第 2,708 位,在「开发编程」分类(577 个)中排名第 352 位。

累计安装
143
累计下载
3,858
星标
1
全站排名
#2,708
全站前 54% · 「开发编程」前 62%
平台累计安装累计下载星标评论
ClawHub ↗1183,8571-
SkillHub ↗1433,8581—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

CLI 提供读取订单及商品详情、查询目录和价格指南等功能,也能更新店铺订单、发送或回复反馈,以及创建、更新或删除库存记录。订单变更仅适用于卖家店铺订单。写入命令可能立即修改线上订单、反馈或库存;应优先使用只读或最小权限凭据,逐条审阅目标和变更。订单详情与发票导出可能包含客户个人信息,保存文件时应选择受保护路径并清理临时副本。 需要 Python 和已配置的 BrickLink OAuth 凭据。

资料发布于 2026-10-29

可以用来做什么

  • 查询 BrickLink 店铺订单、库存和目录信息
  • 在确认后更新店铺订单、反馈或库存
  • 生成供内部检查的订单详情或发票文件

什么时候用

  • 已明确店铺账号、对象和操作范围时
  • 执行变更前能检查当前状态并人工复核命令时
  • 使用最小权限凭据并妥善保存含客户信息的导出文件时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

列出指定 BrickLink 店铺库存的只读检查步骤,并将任何创建、更新或删除操作单独标记为需人工确认;不要调用 CLI。

月度数据趋势

累计下载3,858
2,2843,1303,9752026-03 · 累计下载 2,4012026-05 · 累计下载 2,9772026-06 · 累计下载 3,1402026-07 · 累计下载 3,4632026-08 · 累计下载 3,6192026-09 · 累计下载 3,85826-0326-09
星标1
0122026-03 · 星标 12026-05 · 星标 12026-06 · 星标 12026-07 · 星标 12026-08 · 星标 12026-09 · 星标 126-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-093,858—1
2026-083,619+4.5%1
2026-073,463+10.3%1
2026-063,140+5.5%1
2026-052,977—1
2026-032,401—1

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

4.8 KB · ClawHub v1.4.4
---
name: bricklink
description: "BrickLink Store API helper/CLI (OAuth 1.0 request signing). Covers orders, store inventory (read + write), catalog, categories, colors, feedback, and push notifications."
summary: "BrickLink Store API CLI: orders, inventory, catalog, pricing, feedback."
version: 1.4.4
homepage: https://github.com/odrobnik/bricklink-skill
metadata:
  openclaw:
    emoji: "🧱"
    requires:
展开全部(共 74 行)
      bins: ["python3"]
      env: ["BRICKLINK_CONSUMER_KEY", "BRICKLINK_CONSUMER_SECRET", "BRICKLINK_TOKEN_VALUE", "BRICKLINK_TOKEN_SECRET"]
---

# BrickLink

Use `scripts/bricklink.py`.

## Setup

See [SETUP.md](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. Include/exclude flags are repeatable and accept comma-separated lists (e.g. `--exclude-status purged,completed`).
- `bricklink.py get-order <order_id>` - Fetches details for a specific order.
- `bricklink.py get-order-items <order_id>` - Fetches the item batches for a specific order.
- `bricklink.py get-order-messages <order_id>` - Fetches messages associated with a specific order.
- `bricklink.py get-order-feedback <order_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 <feedback_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 <category_id>` - Fetches a single category by id.

- `bricklink.py get-colors` - Lists all catalog colors.
- `bricklink.py get-color <color_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 <inventory_id>` - Fetches a single inventory lot by id.

- `bricklink.py get-item <type> <no>` - Fetches a catalog item (PART/SET/MINIFIG/…).
- `bricklink.py get-supersets <type> <no> [--color-id N]` - Lists items that contain the specified item.
- `bricklink.py get-subsets <type> <no> [--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 <type> <no> [--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 <type> <no>` - 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 <order_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 <order_id> <status>` — Updates the status of an order. Store orders only.
- `bricklink.py update-payment-status <order_id> <payment_status>` — Updates the payment status of an order. Store orders only.
- `bricklink.py send-drive-thru <order_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 <feedback_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 <inventory_id> [--quantity N --unit-price ... --new-or-used N|U --remarks ...]` - Updates an inventory lot.
- `bricklink.py delete-inventory <inventory_id>` - Deletes an inventory lot.

### Utilities

- `bricklink.py order-detail-html <order_id> [--out path] [--inline-images]` - Fetches order+items and renders a compact HTML view (similar to BrickLink orderDetail.asp).
- `bricklink.py order-invoice-html <order_id> [--out path]` - Fetches order+items and renders a printable invoice HTML using the workspace `bricklink/invoice-template.html` styling.

「开发编程」分类下的热门技能

Oliver Drobnik 的其他技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。