← 返回 Skills 市场
zeyu426

Alibaba Url Builder

作者 Zeyu426 · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ✓ 安全检测通过
214
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install alibaba-url-builder
功能描述
Build Alibaba.com URLs for agent navigation with traffic tracking (traffic_type=ags_llm). Supports search, product details, suppliers, RFQ, AI Mode, Top Rank...
使用说明 (SKILL.md)

Alibaba.com URL Builder

Build URLs programmatically for agent-driven browsing and product sourcing on Alibaba.com.

Required Parameter

All URLs MUST include: traffic_type=ags_llm

URL Patterns

Search Pages

Basic:

https://www.alibaba.com/trade/search?SearchText=\x3Curl-encoded-query>&traffic_type=ags_llm

With Category:

https://www.alibaba.com/trade/search?SearchText=\x3Cquery>&categoryId=\x3Ccategory-id>&traffic_type=ags_llm

Parameters:

  • SearchText: Search keywords (URL-encoded, use + for spaces)
  • categoryId: Product category ID (optional)
  • has4Tab: Enable 4-tab view (true)
  • tab: Active tab (all, supplier, product)

Examples:

https://www.alibaba.com/trade/search?SearchText=wireless+headphones&traffic_type=ags_llm
https://www.alibaba.com/trade/search?SearchText=laptops&categoryId=702&traffic_type=ags_llm

Common Category IDs:

  • Consumer Electronics: 201151901
  • Laptops: 702
  • Smart TVs: 201936801
  • Electric Cars: 201140201
  • Wedding Dresses: 32005
  • Electric Scooters: 100006091
  • Bedroom Furniture: 37032003
  • Electric Motorcycles: 201140001
  • Handbags: 100002856

Product Detail Pages

Pattern:

https://www.alibaba.com/product-detail/\x3Curl-safe-title>_\x3Cproduct-id>.html?traffic_type=ags_llm
  • \x3Curl-safe-title>: Product title with spaces replaced by hyphens, special characters removed
  • \x3Cproduct-id>: Numeric product identifier (12+ digits)

Examples:

https://www.alibaba.com/product-detail/HK3-Waterproof-TWS-Earbuds_1601226043229.html?traffic_type=ags_llm
https://www.alibaba.com/product-detail/Wireless-Headphones-Over-Ear-ANC_11000030513562.html?traffic_type=ags_llm

Supplier/Company Pages

Pattern:

https://\x3Ccompany-subdomain>.en.alibaba.com/company_profile.html?traffic_type=ags_llm

Examples:

https://dgkunteng.en.alibaba.com/company_profile.html?traffic_type=ags_llm
https://legoo.en.alibaba.com/company_profile.html?traffic_type=ags_llm

Supplier Product Search:

https://\x3Ccompany-subdomain>.en.alibaba.com/search/product?SearchText=\x3Cquery>&traffic_type=ags_llm

Request for Quotation (RFQ)

https://rfq.alibaba.com/rfq/profession.htm?traffic_type=ags_llm

Special Sections

AI Mode:

https://aimode.alibaba.com/?traffic_type=ags_llm

Top Ranking:

https://sale.alibaba.com/p/dviiav4th/index.html?traffic_type=ags_llm

Fast Customization:

https://sale.alibaba.com/p/fast_customization?traffic_type=ags_llm

Manufacturers Directory:

https://www.alibaba.com/factory/index.html?traffic_type=ags_llm

Worldwide (Global Suppliers):

https://www.alibaba.com/global/index.html?traffic_type=ags_llm

Top Deals:

https://sale.alibaba.com/fy25/top_deals?traffic_type=ags_llm

Tailored Selections (AI Sourcing):

https://sale.alibaba.com/p/aisourcing/index.html?traffic_type=ags_llm

Shopping Cart / Purchase List:

https://carp.alibaba.com/purchaseList?traffic_type=ags_llm

Helper Functions

Build Search URL

from urllib.parse import quote

def build_search_url(query, category_id=None):
    params = f"SearchText={quote(query, safe='')}+{query.replace(' ', '+')}&traffic_type=ags_llm"
    if category_id:
        params += f"&categoryId={category_id}"
    return f"https://www.alibaba.com/trade/search?{params}"

Build Product URL

def build_product_url(title, product_id):
    safe_title = ''.join(c if c.isalnum() or c in ' -' else '' for c in title)
    safe_title = safe_title.replace(' ', '-').lower()[:100]
    return f"https://www.alibaba.com/product-detail/{safe_title}_{product_id}.html?traffic_type=ags_llm"

Best Practices

  1. URL Encoding: Always URL-encode search queries. Use + for spaces (not %20).
  2. Product Titles: Keep titles concise, remove special characters, replace spaces with hyphens.
  3. Category IDs: Use category IDs to narrow search results when known.
  4. HTTPS: Always use https:// protocol.
  5. Tracking: spm parameters are optional analytics; omit for functional URLs.

Common Workflows

Search for Products:

  1. Build search URL with query
  2. Navigate to URL
  3. Extract product links from results
  4. Build product detail URLs from extracted links

Browse by Category:

  1. Identify category ID
  2. Build URL with categoryId parameter
  3. Navigate and browse

Visit Supplier:

  1. Extract supplier subdomain from product page
  2. Build supplier profile URL
  3. Navigate to supplier profile
安全使用建议
This skill appears to do exactly what it claims: build Alibaba.com URLs and append a tracking parameter. Review and test locally before granting agents network access. Note: all generated URLs include traffic_type=ags_llm (this will be visible to Alibaba servers and used for tracking/analytics). The release.sh script is for publishing and will prompt you to use clawdhub/git — be careful when providing tokens or remote repo URLs. If you plan to let an autonomous agent use this skill to navigate or scrape pages, ensure the agent's browsing and data-handling policies meet your privacy and legal requirements.
功能分析
Type: OpenClaw Skill Name: alibaba-url-builder Version: 2.0.0 The alibaba-url-builder skill bundle is a legitimate toolset designed to help AI agents navigate Alibaba.com for product sourcing. It contains well-documented URL patterns in SKILL.md, a Python utility (scripts/build_url.py) for programmatic URL construction, and a developer release script (release.sh). All components, including the mandatory 'traffic_type=ags_llm' tracking parameter, are transparently documented and align with the stated purpose of enabling agent-driven commerce and analytics without any evidence of malicious intent, data exfiltration, or harmful prompt injection.
能力评估
Purpose & Capability
Name/description (Alibaba URL builder) match the included code and docs: helper Python scripts, packaging and release scripts, and SKILL.md all implement URL construction and tracking parameter addition. No unrelated cloud credentials, binaries, or platform access are requested.
Instruction Scope
SKILL.md and scripts limit actions to constructing URLs (search, product, supplier, RFQ, special pages) and advising agent navigation. They do mention agent-driven navigation/extraction as a usage pattern but give no instructions to read local secrets, system files, or send data to unexpected endpoints.
Install Mechanism
There is no automated install that downloads arbitrary code. All included files are plain Python and shell scripts. The release script invokes standard CLIs (clawdhub, git) for publishing, which is expected for a developer-facing release flow; no remote URLs or extract-from-unknown-host steps are present in the runtime packaging.
Credentials
The skill declares no required environment variables, credentials, or config paths. The release script may prompt for ClawHub/GitHub login (normal for publishing) but the runtime usage of the skill does not require tokens or secrets.
Persistence & Privilege
Flags show default behavior (not always-included). The skill does not request permanent system presence, nor does it modify other skills or system-wide config. Autonomous invocation is allowed by default (platform normal) but the skill itself is not privileged.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install alibaba-url-builder
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /alibaba-url-builder 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
Simplified SKILL.md following skill-creator规范,统一英文格式
v1.0.0
Build Alibaba.com URLs for agent navigation with traffic tracking (traffic_type=ags_llm)
元数据
Slug alibaba-url-builder
版本 2.0.0
许可证 MIT-0
累计安装 1
当前安装数 0
历史版本数 2
常见问题

Alibaba Url Builder 是什么?

Build Alibaba.com URLs for agent navigation with traffic tracking (traffic_type=ags_llm). Supports search, product details, suppliers, RFQ, AI Mode, Top Rank... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 214 次。

如何安装 Alibaba Url Builder?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install alibaba-url-builder」即可一键安装,无需额外配置。

Alibaba Url Builder 是免费的吗?

是的,Alibaba Url Builder 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Alibaba Url Builder 支持哪些平台?

Alibaba Url Builder 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Alibaba Url Builder?

由 Zeyu426(@zeyu426)开发并维护,当前版本 v2.0.0。

💬 留言讨论