agentleFS
Vladimir-HumanVladimir-Human/ru-marketplace-mcp/skills/taobao-connector/SKILL.md

taobao-connector

Skill214 starsChanged 16 days agoMITView on GitHub

Use this skill when the operator needs Taobao marketplace data — search Chinese listings or read an item card. Trigger on Chinese or English queries like "taobao", "淘宝", "найди на таобао", "цена taobao". Always needs the operator's Chrome over CDP (signed mtop API). Skip for non-Taobao tasks.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Search Taobao by Chinese or English text

    line 15

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Taobao Connector

Reads Taobao inside the operator's own Chrome over CDP. The search page is a client-side React app whose data layer is the signed mtop API — every XHR wants a sign computed from the _m_h5_tk cookie, and unsigned probes answer FAIL_SYS_TOKEN_EMPTY. There is no anonymous tier; the site's own JS signs requests natively in a real browser.

When to use

  • Search Taobao by Chinese or English text
  • One item's price, shop, sales label, description images

Tools available

  • taobao_search(query, page) — listings. Prices are in YUAN (CNY), never converted: price_cny is None when hidden — never 0.
  • taobao_card(item_id_or_url) — one item card. item ids are 9-13 digit strings; pass a bare id or an item.taobao.com URL.

Not an MCP tool: taobao_selfcheck() is a tri-state canary that renders one live search page. It is CLI-only — marketplace-mcp doctor runs every connector's canary at once.

Gotchas

  • Prices stay in yuan. Comparing against ruble sources needs an explicit rate; a baked-in one would go silently stale.
  • A detected login/CAPTCHA wall returns challenge_required and requires_user_action=true. Complete it in the scraping profile before retrying the same operation. Failed payloads are not cached; a retry reads the browser again. Successful results still use the normal TTL cache.
  • With CHROME_CHALLENGE_HANDOFF_S enabled, handoff_expires_at confirms that the challenged search/card tab is retained. Complete its interaction, then repeat the same tool arguments in the same MCP session before expiry. No new navigation is issued for that resume; expiry never extends on retries.
  • The operator's Chrome must be running with CDP (uvx ru-marketplace-mcp browser start or scripts/start_chrome_cdp.sh; use uvx ru-marketplace-mcp unblock taobao to log in).

DSH activation

In DeepSeek Harness the default profile mounts compare-mcp, which exposes exactly 4 tools: compare_prices, compare_sources, compare_verify_offer and compare_browser_snapshot.

The middle decision-mcp profile adds decision_inspect (5 tools). This connector's own tools and marketplace_sources need RU_MARKETPLACE_MCP_FULL=1 and a profile restart; do not call them in the default mode.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.