1688 Shopkeeper skill
1688-shopkeeper
The official 1688 skill for OpenClaw: supplier search, product details, listing to Douyin, Pinduoduo, Xiaohongshu and Taobao, trends and a daily report
- 1,676 ★ on the repository
- Last commit
Broad access
Why this level
- The publish command lists products in linked stores and, after a trial run, does so without asking again
- The AK key opens the 1688 account and is saved in openclaw.json in plain text
- The skill connects to ainext.1688.com and writes result files into the OpenClaw working directory
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add skills/1688-shopkeeperDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewBroad accessThe tool can change data, run commands or handle secrets.
- The publish command lists products in linked stores and, after a trial run, does so without asking again
- The AK key opens the 1688 account and is saved in openclaw.json in plain text
- The skill connects to ainext.1688.com and writes result files into the OpenClaw working directory
This is third-party code. Review the repository files before installing.
What it does
1688 Shopkeeper is a skill from the Chinese wholesale platform 1688 that turns an agent into a seller's assistant: it searches supplier products, shows cards and lists the chosen items in stores on Douyin, Pinduoduo, Xiaohongshu and Taobao. All the work is done by `cli.py`, which calls the `ainext.1688.com` API, signing requests with an access key (AK) from the 1688 AI app. The `search` command takes a request as an ordinary phrase and returns up to 20 products with price, sales over 30 days, positive review share, repeat purchases and listing counts. `prod_detail` shows the title, category, SKU, attributes and seller by IDs. `shops` lists the linked stores and `publish` lists chosen products in a store, up to 20 at a time. The agent first runs a trial pass with `--dry-run`, and when the store and products are unambiguous it publishes straight away without a second question to the user. The `opportunities`, `trend` and `shop_daily` commands read a list of hot niches, category dynamics with price distribution and a daily store report with product selection hints. The references folder holds a guide for each command and answers to seller questions about pricing, shipping, returns, new stores and content checks.
Who it is for. For sellers who buy from 1688 suppliers and trade on Douyin, Pinduoduo, Xiaohongshu or Taobao, and for those about to open a store there.
Good fit when
- You need a supplier of summer dresses with single-piece shipping and a price under 100 yuan
- Chosen products have to be listed at once in linked stores on Douyin and Pinduoduo
- You want to know which niches are trending now and how prices are spread across a category
- You need a daily store report every morning with sales by channel and product selection hints
- A newcomer needs answers on pricing, shipping and returns from the platform's guides
Not a fit when
- You have no access to the 1688 AI app, where the AK key comes from: the commands do not work without it
- Your store is outside Douyin, Pinduoduo, Xiaohongshu and Taobao: the skill knows no other channels
- Python 3 is not installed: all of the skill's code runs through it
- You need to move a product from 1688 to Ozon: the catalog has a skill for transfer to Ozon
Example request
Find folding camping chairs on 1688 under 100 yuan with single-piece shipping for Douyin and show the top sellersLimitations
The author did not specify a license, rights to use and copy are not defined, check with the author.
The interface, guides and platform answers are in Chinese, and the skill is built for OpenClaw: its header names that environment and the `ALI_1688_AK` variable. Work in other agents is not described in the repository.
The key comes from the 1688 AI app: you tap a button on the home screen, open the page and copy the key. Stores for listing are linked in the same app, and an expired authorization is renewed there too.
One listing batch holds at most 20 products, and search returns up to 20 results. The author writes that product selection and listing are free for a limited time, with the price set by 1688 rules.
The skill saves search, detail and listing results in the `1688-skill-data` folder of the OpenClaw working directory.
How to disable. Delete the 1688-shopkeeper folder from the OpenClaw skills directory. The key stays in `openclaw.json` in this skill's entry: remove it there, or revoke the key in the 1688 AI app. Saved data sits in the `1688-skill-data` folder of the working directory.
FAQ
What is AK and where do I get it?
AK (Access Key) is the access key to the 1688 platform. The 1688 AI app issues it on a page that a button on the home screen opens. After that the user tells the agent a phrase like "my AK is such-and-such", or you run `python3 cli.py configure YOUR_AK`.
What changes in OpenClaw after the key is set?
The `configure` command writes the key to `openclaw.json`, into the skill's entry, and at run time the skill takes it from the `ALI_1688_AK` variable or from that file if the OpenClaw gateway was not restarted.
Which listing channels does the skill support?
Douyin, Pinduoduo, Xiaohongshu and Taobao. Inside the API Taobao is called thyny, and the skill maps the Chinese channel names in platform answers to English codes.
How does product listing work?
The agent takes the store code from `shops` and runs `publish` first with `--dry-run`, then without it. You pass either the selection ID `--data-id` for the whole search at once, or `--item-ids` with the products you want, but not both together.
What if a reply comes back with rate limiting?
The skill advises waiting a minute or two and retrying. On an empty result for a long or narrow trend query it suggests a broader word or splitting the query.
What seller questions do the guides cover?
Platform choice, product selection risks, the listing template with price and shipping, dispatch times, returns and return shipping insurance, launching a new store, and content checks such as white-background images and titles.
Discussion
No questions or reviews yet.
Related
SkillsA CLI and MCP server for China's Xianyu marketplace: publish items, handle chats and search through commands and five skills
Thirteen skills turn an OpenClaw agent into a worker for paid jobs, while Guard caps its spending and stops loops
Filtmall's official shopping skill: live products, same-product price evidence, checkout, delivery and after-sales
Yandex Smart Home for OpenClaw
Yandex Smart Home CLI for OpenClaw
Python CLI and OpenClaw skill to switch Yandex Smart Home lights and sockets and set brightness, color temperature and color
Local MCP server for product search, cart and delivery with Pyaterochka
Yandex Direct Tools section skill
ya-direct-tools
An Agent Skill for the Yandex Direct Tools area: budget forecast, Wordstat, change history, API access and Direct Commander
Comparison with similar tools
Entries that share the main search query, and how they differ.
| Entry | Official | Repository stars | Main difference |
|---|---|---|---|
| 1688 Shopkeeper (this entry) | yes | 1,676 | |
| 1688-to-Ozon product transfer | no | 3 | turns a 1688 product card into JSON for the Ozon Seller API and checks the upload status |
| goofish-cli: CLI and MCP for Xianyu (Goofish) | no | 382 | a CLI and MCP server for China's Xianyu marketplace |
README in short
The project description, in Chinese, starts with a list of features: product selection, details by ID, listing to stores, status of linked stores, hot niches, trends and a daily report. Then come installation by one phrase in an OpenClaw dialog, four steps to get the key in the 1688 AI app, request examples and a table of nine command-line commands with calls. It ends with a table of supported platforms, questions on the key, pricing and store types, and the support contact in the app.
README badge
Original SKILL.md
---
name: 1688-shopkeeper
description: |
1688选品铺货 + 商机趋势专家。用于:(1) 在1688搜索商品/选品找货源 (2) 查询已绑定的下游店铺
(3) 将商品铺货到抖音/拼多多/小红书/淘宝等平台 (4) 配置1688 AK密钥 (5) 查看即时商机热榜
(6) 查看类目/行业趋势与价格分布 (7) 生成店铺经营日报并输出主营商品选品建议。
触发词:帮我找商品、在1688搜、选品、铺货、上架、查店铺、配置AK、商机、热榜、排行榜、趋势、价格分布、经营日报、店铺日报、动销分析、经营分析、选品建议、1688找货。
metadata: {"openclaw": {"emoji": "🛒", "requires": {"bins": ["python3"]}, "primaryEnv": "ALI_1688_AK"}}
---
# 1688-shopkeeper
统一入口:`python3 {baseDir}/cli.py <command> [options]`
## 命令速查
| 命令 | 说明 | 示例 |
|------|------|------|
| `search` | 找商品 | `cli.py search --query "帮我找1688上支持一件代发包邮的露营椅,100元以内" --channel douyin` |
| `prod_detail` | 商品详情 | `cli.py prod_detail --item-ids "991122553819,894138137003"` |
| `shops` | 查绑定店铺 | `cli.py shops` |
| `publish` | 铺货 | `cli.py publish --shop-code CODE --data-id ID` |
| `opportunities` | 商机热榜 | `cli.py opportunities` |
| `trend` | 趋势洞察 | `cli.py trend --query "大码女装"` |
| `shop_daily` | 店铺经营日报 | `cli.py shop_daily` |
| `configure` | 配置 AK | `cli.py configure YOUR_AK` |
| `check` | 检查配置状态 | `cli.py check` |
所有命令输出 JSON:`{"success": bool, "markdown": str, "data": {...}}`
**展示时直接输出 `markdown` 字段,Agent 分析追加在后面,不得混入其中。**
## 使用流程
Agent 根据用户意图**直接执行对应命令**,无需每次先执行 `check`。
各命令在 AK 缺失、店铺异常等情况下会自行返回明确错误,Agent 按下方「异常处理」应对即可。
**选品铺货典型路径**:`search` → 用户筛选 → `shops`(确认目标店铺) → `publish`
**商品详情使用指引**:
- `prod_detail`:用户想看商品标题、价格、类目、SKU、CPV 属性、商家信息时使用。
**商机/趋势使用指引**:
- `opportunities`:用户想看“此刻/近1小时/热榜/趋势商机”。
- `trend`:用户询问某宽泛类目/行业的周期趋势、价格分布、热品概况;关键词过长或过细时先按用户原词尝试,若空结果再提示用户换更宽泛/拆分词后重试。
- `shop_daily`:用户想看“店铺经营日报/今日动销/渠道经营诊断/主营商品选品建议”。