Taobao-Search-Skill

Automate Taobao/Tmall product search, SKU selection, and cart operations via JSON commands.

11|1|Updated Apr 28, 2026
One-click install
npx skills add https://github.com/newbietan/Taobao-Search-Skill --skill taobao-search-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Taobao-Search-Skill
Source: https://github.com/newbietan/Taobao-Search-Skill/tree/main
Command: npx skills add https://github.com/newbietan/Taobao-Search-Skill --skill taobao-search-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, playwright-stealth, ddddocr, opencv-python, numpy, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the tedious Taobao/Tmall product discovery, SKU selection, and cart operations by maintaining a persistent browser session and orchestrating actions via a JSON protocol.

Core Features & Use Cases

  • Persistent browser session: AI agents issue JSON commands via stdin and receive structured results via stdout, eliminating browser restarts.
  • End-to-end shopping flow: search, open product, choose SKUs, add to cart, and view cart with minimal human interaction.
  • Use Case: An agent can autonomously find under-budget laptops, select specific SKUs (e.g., M4 + 16G + 512G), and add to cart for checkout.

Quick Start

Start a persistent session and issue a search for the desired keywords.

Frequently Asked Questions about Taobao-Search-Skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Taobao search and SKU selection with Playwright?

Automate Taobao search using a persistent Playwright browser session where AI agents issue JSON commands via stdin to find products, select specific SKUs, and add to cart. This approach eliminates browser restarts and enables continuous end-to-end shopping flows.

Can an AI agent autonomously add items to a Taobao cart within a budget?

Yes, an AI agent can autonomously find under-budget products on Taobao by issuing structured JSON commands. The persistent browser session maintains state, allowing the agent to search, inspect details, choose specific SKUs, and add to cart with minimal human interaction.

What Python dependencies do I need to automate Tmall product discovery?

Automating Tmall product discovery requires Python tooling including Playwright for browser automation, playwright-stealth for evasion, ddddocr for CAPTCHA solving, and opencv-python with numpy for image processing. These dependencies coordinate deterministic shopping tasks via a JSON protocol.

How does the stdin/stdout JSON protocol work for browser session automation?

The stdin/stdout JSON protocol allows AI agents to issue structured commands to a persistent browser session and receive results. This mechanism coordinates deterministic Taobao tasks like searching, opening products, and completing checkout steps without restarting the browser environment.

What is the best way to maintain a persistent browser session for AI-driven shopping workflows?

The best way to maintain a persistent browser session for AI-driven shopping workflows is using Playwright with stealth plugins. By orchestrating actions through a JSON protocol over stdin/stdout, agents execute search, SKU selection, and cart operations continuously without session drops.

Why does Taobao automation fail without stealth plugins and OCR dependencies?

Taobao automation fails without stealth plugins and OCR dependencies because anti-bot detection blocks automated access. Using playwright-stealth, ddddocr, and opencv-python ensures the persistent browser session bypasses detection and solves CAPTCHAs during product discovery and checkout.