taobao-keyword-search
What it does
It searches Taobao and Tmall for a keyword and reads the product cards on each results page. It is for sellers, buyers and researchers working with Chinese e-commerce.
When to use it
- ✓When a seller wants to see how competing Taobao products are priced for a keyword.
- ✓When a researcher wants Taobao product listings for a set of keywords.
- ✓When a buyer wants a shortlist of Tmall items for a search term.
Skill link
https://github.com/browser-act/skills/blob/main/solutions/ecommerce/taobao-keyword-search/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Search Taobao for portable blenders and list the price, shop and sales for the first page of results.”
5 new skills a week. 1 minute to read.
How it works
The skill checks that the user is signed in to Taobao, opens the search page with the keyword and reads each product card, returning the requested page.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Taobao — Keyword Search
keyword + optional filters → paginated product listing (itemId, title, price, shop, image, sales)
Language
All process output to user (progress updates, process notifications) follows the user's language.
Objective
Search Taobao/Tmall for products by keyword and extract product cards from search results pages.
Prerequisites
- Target page is already open in the browser:
https://s.taobao.com/search - User is logged in to Taobao (user avatar or nickname visible in the page header)
Pre-execution Checks
1. Tool Readiness
If browser-act has been confirmed available in the current session → skip this step.
Invoke browser-act via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.
2. Login Verification
If login status for Taobao has been confirmed in the current session → skip this step.
Otherwise: open https://www.taobao.com and observe the page header:
- User nickname visible (e.g., "心林vs妞妞") → logged in, continue execution
- "亲,请登录" or login button visible → not logged in, inform the user that Taobao login is needed first, assist the user in completing the login flow
User refuses or cannot log in → terminate execution.
Capability Components
This Skill's operational boundary = what the user can manually do in their browser. It only reads data already displayed to the user on the page, never bypassing authentication or access controls. JS code is encapsulated in Python files under the
scripts/directory, invoked viaeval "$(python scripts/xxx.py {params})".$(...)is bash syntax; it is recommended to use the bash tool for execution.
DOM: product search results (data extraction)
Navigate to search results URL, then extract:
navigate "https://s.taobao.com/search?q={keyword}&page={page}&ie=utf8"wait stableeval "$(python scripts/search-products.py '{keyword}' --page {page} --sort '{sort}' --tab '{tab}' --start-price {startPrice} --end-price {endPrice})"
URL Parameters:
q: URL-encoded keywordpage: page number, 1-based, default1sort: sort order — empty string (default/recommended),sale-desc(by sales),price-asc(price low→high),price-desc(price high→low)tab:mallfor Tmall-only results; omit for all resultsstartPrice/endPrice: price range filter in yuan (e.g.,startPrice=100&endPrice=500)
Output example:
[
{
"itemId": "694593508978",
"itemUrl": "https://item.taobao.com/item.htm?id=694593508978",
"title": "蓝牙耳机2025新款官方",
"subTitle": "AI耳机热卖榜第1名",
"priceYuan": 79.9,
"priceDesc": "券后价",
"imageUrl": "https://img.alicdn.com/imgextra/...",
"salesCount": "40万+人付款",
"shopName": "金运旗舰店",
"location": "广东",
"rating": null,
"tags": ["政府补贴15%", "官方立减26元"]
}
]
Notes:
priceYuanis the displayed price (may be post-coupon price, not pre-coupon)priceDescindicates price type:券后价(after coupon),补贴价(subsidized price), etc.ratingis rarely shown on search cards; null is expected- Sponsored/ad items have
itemUrlpointing toclick.simba.taobao.com— they will haveitemIdextracted from query params
Enum Parameters
[collection failed] sort values: confirmed values are empty string (default), sale-desc, price-asc, price-desc; no API for enumeration, values are hardcoded constants.
Pagination
URL Pagination: URL pattern https://s.taobao.com/search?q={keyword}&page={N}&ie=utf8, increment page from 1. Each page returns ~47 items. Termination: when result count < 10 or returned items duplicate previous page.
Success Criteria
result count >= 1 and itemId non-null rate = 100%
Known Limitations
- Requires Taobao login; unauthenticated sessions redirect to login page
- Prices shown are displayed prices (may be post-coupon), not pre-discount prices
- Sponsored/ad items appear at unpredictable positions in results
- Price filter (
startPrice/endPrice) filters on pre-coupon prices, so post-coupon prices displayed may fall outside the requested range near boundaries - Taobao may return different result counts across pages; page count is approximate
Execution Efficiency
- Batch orchestration: Write a bash script to loop through keywords serially within a single session; do not parallelize within one browser (prone to triggering anti-scraping restrictions). Add 2–3 second intervals between page navigations. To
FAQ
Does it need a Taobao login?
Yes. The skill checks for a signed-in Taobao user before it runs.
Does it cover Tmall too?
Yes. The skill says it covers Taobao and Tmall listings.
What does each card contain?
Each card includes the item ID, title, price, shop, image, sales and tags.
Details
Original description by the author
Search Taobao and Tmall product listings by keyword, returning paginated product cards with title, price, shop, image, sales, and tags. Use when user asks to search Taobao, find products on Taobao/Tmall, scrape Taobao search results, get product listings from Taobao, collect Taobao items by keyword, 搜索淘宝, 淘宝关键词搜索, 采集淘宝商品, 抓取淘宝搜索结果, 淘宝天猫商品列表. Also applies to bulk keyword searches, price monitoring across keywords, and competitive product research on Taobao.
repo: browser-act/skills
Popularity
- GitHub stars
- 6.3k
- Ranking position
- #14274
- License
- MIT
- Updated
- 8/24/2026
Comments
- …
More skills from this repository
browser-act-skill-forge
6.3kHelps your agent explore a website once and save a reusable skill with scripts, so later data pulls from that site are faster.
browser-act
6.3kHelps your agent run a browser automation tool to open pages, read rendered content, fill forms, take screenshots and manage logged-in sessions.
1688-product-detail
6.3kHelps your agent pull product details from a 1688.com wholesale page, such as price tiers, variants, seller stats and attributes.
airbnb-listing-detail
6.3kHelps your agent fetch the public details of an Airbnb listing by its ID, such as photos, amenities, ratings and house rules.
Similar skills
tavily
394kHelps your agent search the web with Tavily and pull the text from specific web pages, with options for depth, domains, and dates.
blogwatcher
394kLets your agent follow blogs and RSS or Atom feeds, check them for new articles, and mark the ones you have read.
data-scraper-agent
280kHelps your agent automatically collect data from any public source. It can be scheduled, enrich information, and save results. Useful for monitoring or tracking online data.