Find Items
This skill helps you search for products on major Chinese e-commerce platforms.
Supported Platforms
| Platform | Type | Best For |
|---|
| 淘宝 (Taobao) | C2C/B2C | Variety, price comparison |
| 京东 (JD) |
B2C | Electronics, fast delivery |
| 唯品会 (Vipshop) | B2C | Brand discounts, fashion |
| 拼多多 (PDD) | C2M | Low prices, group buying |
| 天猫 (Tmall) | B2C | Brand stores, quality |
| 苏宁易购 (Suning) | B2C | Appliances, electronics |
| 美团 (Meituan) | O2O | Local services, food delivery |
| 饿了么 (Ele.me) | O2O | Food delivery |
| 抖音商城 (Douyin) | Social commerce | Live shopping, trends |
| 小红书 (Xiaohongshu) | Social commerce | Reviews, lifestyle |
When to Use This Skill
Use this skill when the user:
- - Asks "搜索[商品]" or "找[商品]"
- Wants to compare prices across platforms
- Needs product recommendations
- Asks "哪里买[商品]便宜"
- Wants to find specific items with filters (price, brand, etc.)
How It Works
Step 1: Understand the Request
Identify:
- 1. Product name/keywords
- Preferred platform (if specified)
- Filters: price range, brand, specifications
- Sort preference: price, rating, sales
Step 2: Construct Search Query
Build a search query with platform and product:
CODEBLOCK0
Examples:
- - "淘宝 iPhone 16 价格"
- "京东 索尼耳机 降噪"
- "唯品会 耐克运动鞋 折扣"
- "拼多多 纸巾 便宜"
Step 3: Execute Search
Use web search to find current product information:
CODEBLOCK1
Step 4: Parse and Present Results
Format results with:
- - Product name and image
- Price (with platform comparison if multiple)
- Store/seller info
- Rating/reviews
- Direct links
Command Usage
CODEBLOCK2
Example Output
CODEBLOCK3
Platform-Specific Tips
淘宝/天猫
- - Use "天猫" for brand stores
- Check "淘宝特价版" for lower prices
- Look for "天猫超市" for daily goods
京东
- - "京东自营" = JD's own inventory, fastest delivery
- "京东物流" = JD delivery network
- "百亿补贴" = subsidized prices
拼多多
- - "品牌" tag = authorized sellers
- "百亿补贴" = official subsidies
- Group buying for extra discounts
唯品会
- - Flash sales, limited time
- Brand focus
- Check "即将售罄" for best deals
Search Filters
| Filter | Options | Example |
|---|
| --platform | taobao, jd, pdd, vipshop, tmall | --platform jd |
| --min-price |
Number | --min-price 100 |
| --max-price | Number | --max-price 500 |
| --brand | Brand name | --brand nike |
| --sort | price-asc, price-desc, sales, rating | --sort price-asc |
| --condition | new, used, refurbished | --condition new |
Implementation Notes
This skill uses web search to gather real-time product information. Results are:
- - Current as of search time
- From official platform pages
- May include affiliate links
- Prices subject to change
Security Updates
v1.0.2
- - Changed shebang from
#!/bin/bash to #!/bin/sh for POSIX compliance - Fixed
get_platform_name to return empty string for invalid platforms instead of echoing input - Improved
is_safe_string validation with more dangerous characters - Used
tr instead of IFS for safer string splitting - Removed all local variable declarations (not POSIX)
- Used underscore-prefixed variable names to avoid conflicts
v1.0.1
- - Fixed potential shell compatibility issues
- Added input validation for all parameters
- Added platform whitelist validation
- Improved dangerous character filtering
- Replaced bash-specific syntax with POSIX-compatible alternatives
Author & License
OpenClaw Skill - MIT License
查找商品
此技能可帮助您在中国主流电商平台上搜索商品。
支持的平台
| 平台 | 类型 | 最佳用途 |
|---|
| 淘宝 | C2C/B2C | 多样性、比价 |
| 京东 |
B2C | 电子产品、快速配送 |
| 唯品会 | B2C | 品牌折扣、时尚 |
| 拼多多 | C2M | 低价、拼团 |
| 天猫 | B2C | 品牌旗舰店、品质 |
| 苏宁易购 | B2C | 家电、电子产品 |
| 美团 | O2O | 本地服务、外卖 |
| 饿了么 | O2O | 外卖 |
| 抖音商城 | 社交电商 | 直播购物、潮流 |
| 小红书 | 社交电商 | 评测、生活方式 |
何时使用此技能
当用户出现以下情况时使用此技能:
- - 询问搜索[商品]或找[商品]
- 想要跨平台比价
- 需要商品推荐
- 询问哪里买[商品]便宜
- 希望通过筛选条件(价格、品牌等)查找特定商品
工作原理
第一步:理解请求
识别:
- 1. 商品名称/关键词
- 首选平台(如指定)
- 筛选条件:价格范围、品牌、规格
- 排序偏好:价格、评分、销量
第二步:构建搜索查询
使用平台和商品构建搜索查询:
{平台} {商品} {筛选条件}
示例:
- - 淘宝 iPhone 16 价格
- 京东 索尼耳机 降噪
- 唯品会 耐克运动鞋 折扣
- 拼多多 纸巾 便宜
第三步:执行搜索
使用网络搜索获取当前商品信息:
bash
使用 agent-reach 或类似搜索功能
web_search {查询}
第四步:解析并呈现结果
结果格式包含:
- - 商品名称和图片
- 价格(多平台对比)
- 店铺/卖家信息
- 评分/评价
- 直接链接
命令用法
bash
基础搜索
find-items search iPhone 16 --platform taobao
带筛选条件的搜索
find-items search 运动鞋 --platform jd --max-price 500 --brand nike
跨平台对比
find-items compare MacBook Pro --platforms taobao,jd,pdd
查找优惠/折扣
find-items deals 化妆品 --platform vipshop
输出示例
🔍 搜索结果:iPhone 16 256GB
📱 淘宝/天猫
💰 ¥5,999 - ¥6,299
🏪 Apple官方旗舰店
⭐ 4.9/5 (12,345条评价)
🔗 https://detail.tmall.com/...
📱 京东
💰 ¥5,899 (百亿补贴)
🏪 京东自营
⭐ 4.8/5 (8,234条评价)
🔗 https://item.jd.com/...
📱 拼多多
💰 ¥5,699 (拼团价)
🏪 品牌授权店
⭐ 4.7/5 (5,678条评价)
🔗 https://mobile.yangkeduo.com/...
💡 价格对比:拼多多最便宜 (省¥300)
💡 物流速度:京东最快 (当日达)
💡 售后保障:天猫/京东官方店最优
各平台使用技巧
淘宝/天猫
- - 使用天猫查找品牌旗舰店
- 查看淘宝特价版获取更低价格
- 寻找天猫超市购买日用品
京东
- - 京东自营=京东自有库存,配送最快
- 京东物流=京东配送网络
- 百亿补贴=补贴价格
拼多多
- - 品牌标签=授权卖家
- 百亿补贴=官方补贴
- 拼团获取额外折扣
唯品会
搜索筛选条件
| 筛选条件 | 选项 | 示例 |
|---|
| --platform | taobao, jd, pdd, vipshop, tmall | --platform jd |
| --min-price |
数字 | --min-price 100 |
| --max-price | 数字 | --max-price 500 |
| --brand | 品牌名称 | --brand nike |
| --sort | price-asc, price-desc, sales, rating | --sort price-asc |
| --condition | new, used, refurbished | --condition new |
实现说明
此技能使用网络搜索获取实时商品信息。结果:
- - 搜索时实时更新
- 来自官方平台页面
- 可能包含推广链接
- 价格可能变动
安全更新
v1.0.2
- - 将 shebang 从 #!/bin/bash 改为 #!/bin/sh 以符合 POSIX 标准
- 修复 getplatformname 函数,对无效平台返回空字符串而非回显输入
- 改进 issafestring 验证,增加更多危险字符
- 使用 tr 替代 IFS 进行更安全的字符串分割
- 移除所有局部变量声明(不符合 POSIX 标准)
- 使用下划线前缀变量名避免冲突
v1.0.1
- - 修复潜在的 shell 兼容性问题
- 为所有参数增加输入验证
- 增加平台白名单验证
- 改进危险字符过滤
- 将 bash 特定语法替换为 POSIX 兼容替代方案
作者与许可
OpenClaw 技能 - MIT 许可协议