openakita/skills@taobaoke-tool

Convert Taobao, JD, and Pinduoduo product links into affiliate links via the Zhetaoke API.

2.0k|274|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/openakita/openakita --skill openakita-skills-taobaoke-tool
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openakita/skills@taobaoke-tool
Source: https://github.com/openakita/openakita/tree/main/skills/taobaoke-tool
Command: npx skills add https://github.com/openakita/openakita --skill openakita-skills-taobaoke-tool

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Affiliate marketers on Chinese e-commerce platforms must manually convert product links into commission-bearing links, compare prices across platforms, and track commissions, which is repetitive and error-prone.

Core Features & Use Cases

  • Affiliate Link Conversion: Convert Taobao, JD, and Pinduoduo product links or IDs into high-commission affiliate links through the Zhetaoke API.
  • Product Search & Price Comparison: Search products by keyword and compare prices sorted ascending across listings.
  • Use Case: A shopping blogger receives a Taobao product link, converts it to a commission link with one command, then runs a price comparison to confirm it is the cheapest option before sharing it with followers.

Quick Start

Set the ZHETAOKE_APP_KEY and ZHETAOKE_SID environment variables, then ask the agent to convert a Taobao product link into an affiliate link using the taobaoke tool.

Frequently Asked Questions about openakita/skills@taobaoke-tool

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

FAQPage Schema
How do I convert a Taobao link to an affiliate link?

Run the taobaoke_master.py script with the convert subcommand followed by the product link or item ID. The script extracts the item ID and calls the Zhetaoke high-commission conversion API, returning the affiliate link as JSON.

How to compare prices across Taobao, JD, and Pinduoduo?

Use the compare subcommand with a search keyword to query the Zhetaoke product API sorted by ascending price. It returns a summary of the top results including title, price, shop, and sales volume.

What credentials does the Zhetaoke API require?

The script requires ZHETAOKE_APP_KEY and ZHETAOKE_SID environment variables, and exits with an error if either is missing. Optional variables like JD_UNION_ID, TAOBAO_PID, and PDD_PID configure platform-specific promotion IDs.

Does the taobaoke script need third-party Python packages?

No, the script is implemented purely with the Python standard library using urllib for HTTP requests and argparse for the CLI. No pip installations are required to run it.

Why does link conversion fail with a credential error?

Conversion fails when ZHETAOKE_APP_KEY or ZHETAOKE_SID are unset or invalid, producing a JSON error message. Verify both environment variables are exported before running the convert command.