taobao-image-search
使用淘宝进行以图搜同款、候选比对和加购物车操作。用户提供商品图片并要求“搜同款/找类似款/比价/加入购物车”时使用。优先执行本地脚本(save-taobao-cookie.js、verify-taobao-runner.js)完成全流程;当脚本失败或页面结构变化时回退 browser 工具手动执行。
Why use this skill?
Automate Taobao product searches and cart management with OpenClaw. Find identical items from images, compare prices, and streamline your shopping workflow.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/lazygunner/taobao-image-searchWhat This Skill Does
The taobao-image-search skill is a sophisticated automation tool designed to bridge the gap between visual inspiration and e-commerce action. It empowers your OpenClaw AI agent to perform image-based product discovery on Taobao, including finding identical items, comparing alternatives, and adding products to your shopping cart. Unlike basic web crawlers, this skill employs a dual-layered execution strategy: a high-efficiency local automation script for standardized workflows and a robust browser-based fallback mechanism for handling dynamic page structures or complex UI interactions. It is strictly limited to search and cart management, ensuring that no financial transactions occur without your explicit, separate confirmation.
Installation
To integrate this capability into your environment, use the OpenClaw CLI:
clawhub install openclaw/skills/skills/lazygunner/taobao-image-search
Ensure you have the required dependencies, including Playwright, and that the save-taobao-cookie.js script has been initialized at least once to handle your Taobao authentication securely.
Use Cases
- Style Matching: Convert a social media screenshot of an outfit into actual purchase links on Taobao.
- Price Benchmarking: Quickly compare the same product across different sellers to find the best deal.
- Inventory Management: Effortlessly build a wishlist or shopping cart from visual references collected during browsing.
- Hard-to-Find Items: Use visual similarity search when you don't know the specific name or brand of an item.
Example Prompts
- "I found this jacket in a magazine, can you search for the same model on Taobao and add it to my cart? [attach image]"
- "Search for this chair using this image and show me the best price options before I decide to add it to my cart."
- "Look for similar minimalist desk lamps based on this photo, focusing on items under 200 CNY."
Tips & Limitations
- Login Persistence: The tool relies on a
taobao-storage-state.jsonfile. If the session expires, simply re-run thesave-taobao-cookie.jsscript to refresh your credentials. - Precision: For optimal results, ensure the provided image is high-resolution and clearly shows the product features.
- Safety First: This tool will never proceed to the checkout or payment phase. You remain in complete control of the final transaction. If the site structure changes frequently, the fallback browser agent may trigger an interactive prompt for you to verify the selection or handle CAPTCHAs manually.
- Network Conditions: For slow internet environments, use the
--delay-msparameter with your scripts to ensure elements load completely before interactions occur.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-lazygunner-taobao-image-search": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read, code-execution