Taobao Product Reviews logo

Taobao Product Reviews

OrganizationPopular
browser-act
taobao-product-reviews

Fetch customer reviews for a Taobao or Tmall product by itemId, returning reviewer name, date, purchased variant, review text, and photo URLs. Use when user asks to get product reviews from Taobao, scrape Taobao customer feedback, extract buyer reviews by item ID, collect Tmall ratings and comments, 采集淘宝商品评价, 抓取淘宝买家评论, 获取淘宝商品评论, 天猫商品评价抓取, 按商品ID获取评价. Also applies to sentiment analysis of product reviews, building review datasets, and monitoring product rating changes.

Overview

Publisherbrowser-act
Repositoryskills
Skill nametaobao-product-reviews
Stars
5.9K
Forks
295
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by browser-act on GitHub. Read the source before you install it.

Installation

Install the Taobao Product Reviews AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/browser-act/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/solutions/ecommerce/taobao-product-reviews .claude/skills/taobao-product-reviews
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Taobao Product Reviews in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Taobao Product Reviews on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Taobao Product Reviews is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Taobao — Product Reviews

itemId → paginated customer reviews (reviewer, date, purchased SKU, text, photos)

Language

All process output to user (progress updates, process notifications) follows the user's language.

Objective

Navigate to a Taobao/Tmall product page, load the reviews section, and extract customer review content.

Prerequisites

  • Target page is already open in the browser: https://item.taobao.com/item.htm?id={itemId}
  • 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 → logged in, continue execution
  • 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 via eval "$(python scripts/xxx.py {params})". $(...) is bash syntax; it is recommended to use the bash tool for execution.

DOM: product reviews (data extraction)

The reviews section is lazy-loaded below the main product area. Follow these steps to load and extract reviews:

  1. navigate "https://item.taobao.com/item.htm?id={itemId}"
  2. wait stable
  3. Close any popup: look for buttons with text "开心收下", "不了", "关闭" and click to dismiss
  4. Scroll to trigger lazy loading of the tabs/reviews section: scroll down --amount 8000
  5. wait --selector "[class*='tabTitleItem--']" --state attached --timeout 10000
    • If timeout: scroll down --amount 8000 again and retry wait once more
    • If still no tabs after 2 attempts: take screenshot to confirm page state; the product page may be rendering in a condensed mode — check Known Limitations below
  6. eval "$(python scripts/extract-reviews.py '{itemId}')"

Output example:

json
[
  {
    "username": "一笑奈何",
    "date": "2026-06-03",
    "purchasedSku": "轻巧白|英转中转换器【适用国内电器】适用马来西亚/新加坡等国家",
    "content": "商品非常好,造工很用心!,还会再回购!",
    "photos": [
      "https://gw.alicdn.com/bao/uploaded/i1/O1CN015Cyg4b2FPR2YNq3PD_!!4611686018427383816-0-rate.jpg"
    ],
    "rating": null
  }
]

Notes:

  • purchasedSku: the specific variant the reviewer purchased (extracted from "已购:{sku}" prefix in review header)
  • content: review text body; may be empty if reviewer submitted only photos
  • photos: review photo URLs; empty array if no photos
  • rating: star rating; not always visible in current page layout (null is common)
  • Reviews shown are the default sort (most recent or most helpful as determined by Taobao)

Error handling: if result count = 0 after scroll attempts, the reviews section may not have loaded in the current browser rendering environment. Try navigating to the product page fresh (navigate again) and repeating the scroll sequence. If still failing, this is a known rendering limitation — see Known Limitations below.

DOM: paginate to next review page

After extracting current page reviews:

  1. eval "$(python scripts/next-review-page.py)"
    • Returns {"hasNext": true, "buttonText": "下一页"} if next page exists, or {"hasNext": false} if on last page
  2. If hasNext is true: state to find the "下一页" button index → click <index>
  3. wait stable
  4. Re-run eval "$(python scripts/extract-reviews.py '{itemId}')"

Enum Parameters

[collection failed] Sort/filter options for reviews (e.g., newest, most helpful): these controls exist in the reviews section UI but require the tabs section to be loaded; their URL parameters are not exposed and must be set via UI clicks on the sort tabs within the reviews section.

Pagination

DOM Pagination: Click the "下一页" button in the reviews section footer. Each page shows ~10 reviews. Termination: "下一页" button is absent or hasNext returns false.

Success Criteria

result count >= 1 and username non-null rate = 100%

Known Limitations

  • Tab section lazy-loading: The reviews section (along with all tabs: specs, images, recommendations) is lazy-loaded and requires scrolling past the main product area to appear. In some browser sessions or rendering environments, the tabs section does not load even after multiple scroll attempts. This is an intermittent behavior of the Taobao product page rendering engine and does not indicate a site change. Workaround: close and reopen the browser session, then navigate fresh.
  • Requires Taobao login; unauthenticated sessions redirect to login page
  • Review content is only visible on the product page; there is no standalone reviews URL for Taobao/Tmall products
  • Only shows positive buyer reviews by default; negative reviews may require clicking a filter tab within the reviews section (if visible)

Execution Efficiency

  • Batch orchestration: Write a bash script to loop through itemIds serially within a single session; add 3–5 second intervals to allow the lazy-loaded reviews section to render.
  • Test before batch execution: After writing a batch script, you must first test with 1–2 items to verify the reviews section loads correctly; only then run the full batch. Never skip testing and execute in batch directly.
  • Reduce redundant pre-operations: When collecting multiple pages of reviews for one product, stay on the same page and paginate via button click rather than re-navigating.
  • Error resumption: Save results page by page; on failure, resume from the last successful page.

Experience Notes

Path: {working-directory}/browser-act-skill-forge-memories/taobao-product-reviews.memory.md

Before execution: If the file exists, read it first — it records unexpected situations encountered during past executions (e.g., a strategy has become ineffective); adjust strategy order accordingly.

After execution: If an unexpected situation is encountered (strategy became ineffective, page redesigned, anti-scraping upgraded, better path discovered), append a line: {YYYY-MM-DD}: {what happened} → {conclusion}

Normal execution does not write to the file. Do not record what keywords were used or how many results were returned — those are task outputs, not experience.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Taobao Product Reviews AI skill do?

Fetch customer reviews for a Taobao or Tmall product by itemId, returning reviewer name, date, purchased variant, review text, and photo URLs. Use when user asks to get product reviews from Taobao, scrape Taobao customer feedback, extract buyer reviews by item ID, collect Tmall ratings and comments, 采集淘宝商品评价, 抓取淘宝买家评论, 获取淘宝商品评论, 天猫商品评价抓取, 按商品ID获取评价. Also applies to sentiment analysis of product reviews, building review datasets, and monitoring product rating changes.

Why use Taobao Product Reviews on TypingMind?

Because you install it once and use it with any model. Taobao Product Reviews is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Taobao Product Reviews in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/browser-act/skills/tree/main/solutions/ecommerce/taobao-product-reviews. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Taobao Product Reviews?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Taobao Product Reviews?

As many as you like. As long as a model supports skills, you can use Taobao Product Reviews with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Taobao Product Reviews AI skill free?

Yes. It is published on GitHub by browser-act under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇