购物省钱宝 - 淘宝/京东/拼多多优惠查询、商品比价、链接转链
test simple description Skill: 购物省钱宝 - 淘宝/京东/拼多多优惠查询、商品比价、链接转链 Owner: zhangjiun1 Summary: test simple description Tags: compare:1.3.0, coupon:1.3.0, deals:1.3.0, jd:1.3.0, latest:1.5.6, latest=1.0.2:1.0.2, pinduoduo:1.3.0, price:1.3.0, shopping:1.3.0, taobao:1.3.0 Version history: v1.5.6 | 2026-08-06T03:33:21.204Z | auto - Version bump to 1.5.6. - Added specific error handling for JD search indicating platform limitations; now suggests user
Rank
62
Safety
84
Downloads
1.9k
Updated
Oct 9, 2026
Version
1.5.6
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.9K downloads reported by the source. Last updated 10/9/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 9, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 9, 2026
- Adoption signal
- 1.9K downloadsadoption · observed Oct 9, 2026
- Latest release
- 1.5.6release · observed Aug 6, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s17d9t052p5wmawk9kr6fvt8bs851nx7:pricecompare- Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-zhangjiun1-pricecompare/snapshot"
Documentation
CLAWHUB
80,199 characters of source documentation, loaded on request.
Extracted files
3 files captured from the source.
SKILL.md
---
name: 购物省钱宝 - 京东/淘宝/拼多多优惠查询
description: 京东/淘宝/拼多多商品比价、优惠券查询、口令解析与链接转链省钱助手。帮用户在三平台找到最低价。Use when: 想查某商品在哪个平台最便宜、想搜索商品看有没有优惠券、收到电商分享口令想解析、拿到商品链接想转优惠链接省钱购买。Supports product search, price comparison across JD/Taobao/PDD, coupon discovery, share-code parsing, affiliate link conversion. 适用于:帮我查XX的价格、XX在哪买最便宜、这个口令帮我看看、这个链接有优惠吗、帮我找XX的优惠券、哪个平台买XX最省钱、对比XX价格、查一下XX多少钱。Save money on every purchase.
version: 1.5.6
---
# PriceCompare · 购物省钱宝
> 三平台比价省钱助手:查价格、找优惠券、解析口令、转链接。帮我查XX在哪买最便宜。Cross-platform price comparison, coupon discovery, and deal conversion.
> 调用入口: `handle_message(message, keyword=None)` — message 用于路由判断,keyword 用于搜索/比价。API: `POST http://op.squirrel2.cn/api/v1/{endpoint}`。数据仅用于本次查询,发送至 op.squirrel2.cn 处理。
## 功能
### 1. 链接转链 `convert_link`
将商品链接转换为优惠链接。
```
触发条件: 用户发送了电商商品链接
调用签名: convert_link(url: str, platform: str|None = None) -> str
API: POST /api/v1/convert body: {"url": "...", "platform": "jd|taobao|pinduoduo"}
platform 可选,服务端自动识别域名:
JD: item.jd.com, u.jd.com, 3.cn
TB: item.taobao.com, detail.tmall.com, m.tb.cn, e.tb.cn
PDD: mobile.yangkeduo.com, p.pinduoduo.com
```
### 2. 口令解析 `parse_share_content`
解析用户粘贴的电商分享内容(口令、短链接等)。服务端自动判断是否含有效口令。
```
触发条件: 用户发送了疑似分享口令的文本(非纯 URL)
调用签名: parse_share_content(content: str) -> str
API: POST /api/v1/parse_share body: {"content": "<用户原话>"}
注意: 服务端自动识别口令格式,无需客户端做正则检测。
解析失败时返回错误信息,调用方应 fallback 到商品搜索。
```
### 3. 商品搜索 `search_goods`
按关键词搜索商品。不指定 platform 时自动走三平台比价。
```
触发条件: 用户想搜索/找某类商品
调用签名: search_goods(keyword: str, platform: str|None = None, page_size: int = 10) -> str
API: POST /api/v1/search body: {"platform": "jd|taobao|pinduoduo", "keyword": "...", "page_size": 10}
platform 为 None: 自动调用 compare_prices 三平台比价
page_size 最小值: 10(拼多多限制)
```
### 4. 多平台比价 `compare_prices`
同一关键词在京东/淘宝/拼多多三平台同时搜索,返回最低价。
```
触发条件: 用户想对比价格、找最便宜的平台
调用签名: compare_prices(keyword: str) -> str
API: POST /api/v1/compare body: {"keyword": "..."}
```
## Agent 调用指引
### 调用方式
```
handle_message(user_raw_message, keyword=extracted_product_name)
```
- **message**: 用户原始输入,用于路由判断(检测 URL)
- **keyword**: agent 从用户消息中提取的商品关键词,用于搜索/比价。不提供时回退到 message
### 路由决策
| 优先级 | 条件 | 调用 |
|:---:|------|------|
| 1 | message 含电商商品 URL | `convert_link(url)` |
| 2 | 其他文本 | 先 `parse_share_content(message)`,失败则 `search_goods(keyword or message)` |
### Agent 行为规范
1. 从用户消息中提取商品关键词传给 `keyword` 参数(如"帮我查一下iPhone 16的价格" → keyword="iPhone 16")
2. 用户指定平台时传 `platform` 参数(jd/taobao/pinduoduo)
3. 展示链接时优先用超链接格式,如前端不支持则输出原始 URL
4. 函数返回的格式化内容直接呈现,无需重新组织
## 平台代码
| 中文 | 代码 | 主要域名 |
|------|:---:|------|
| 京东 | `jd` | item.jd.com, u.jd.com, 3.cn |
| 淘宝/天猫 | `taobao` | item.taobao.com, detail.tmall.com, m.tb.cn |
| 拼多多 | `pinduoduo` | mobile.yangkeduo.com, p.pinduoduo.com |
## 响应字段
| 字段 | 类型 | 含义 |
|------|------|------|
| title | string | 商品名称 |
| price | number | 券后价(元) |
| originalPrice | number | 原价(元) |
| couponInfo | string | 优惠券描述,如"满99减30" |
| couponAmount | number | 优惠券面值(元) |
| shopName | string | 店铺名称 |
| monthSal_meta.json
{
"ownerId": "kn76azyt0xxb21dk6bq8qqqn29851gxm",
"slug": "pricecompare",
"version": "1.5.6",
"publishedAt": 1785987201204
}skill-card.md
## Description: 京东/淘宝/拼多多商品比价、优惠券查询、口令解析与链接转链省钱助手,帮助用户搜索商品、对比价格、解析电商分享内容并生成优惠购买链接。 This skill is ready for commercial/non-commercial use. ## Publisher: [zhangjiun1](https://clawhub.ai/user/zhangjiun1) ### License/Terms of Use: MIT-0 ## Use Case: External users and shopping agents use this skill to search JD, Taobao/Tmall, and Pinduoduo products, compare coupon-adjusted prices, parse shopping share text, and convert supported product links into promotional links. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: The skill may send shopping queries, pasted share text, and product links to the external service op.squirrel2.cn for processing. Mitigation: Use the skill only for intended shopping queries and links, and avoid sending private details, credentials, account data, or unrelated personal text. Risk: Ordinary non-URL user text can be sent for share-code parsing before local filtering. Mitigation: Have the agent confirm ambiguous or sensitive-looking pasted text before invoking share parsing, or narrow inputs to validated shopping share-code formats. ## Reference(s): - [ClawHub skill page](https://clawhub.ai/zhangjiun1/skills/pricecompare) - [Publisher profile](https://clawhub.ai/user/zhangjiun1) - [External shopping API service](https://op.squirrel2.cn) ## Skill Output: **Output Type(s):** [text, markdown, API calls, guidance] **Output Format:** [Markdown-formatted text with product details, coupon information, price comparisons, error guidance, and shopping links] **Output Parameters:** [1D] **Other Properties Related to Output:** [May include external promotional links and platform-specific shopping metadata returned by the API.] ## Skill Version(s): 1.5.6 (source: frontmatter and release evidence) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/zhangjiun1/skills/pricecompare",
"sourceUrl": "https://clawhub.ai/zhangjiun1/skills/pricecompare",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T22:55:09.377Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-zhangjiun1-pricecompare/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-zhangjiun1-pricecompare/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-09T22:55:09.377Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.9K downloads",
"href": "https://clawhub.ai/zhangjiun1/pricecompare",
"sourceUrl": "https://clawhub.ai/zhangjiun1/pricecompare",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T22:55:09.377Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.5.6",
"href": "https://clawhub.ai/zhangjiun1/pricecompare",
"sourceUrl": "https://clawhub.ai/zhangjiun1/pricecompare",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-06T03:33:21.204Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-zhangjiun1-pricecompare/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-zhangjiun1-pricecompare/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.5.6",
"description": "- Version bump to 1.5.6. - Added specific error handling for JD search indicating platform limitations; now suggests users simplify keywords or try other platforms. - Updated documentation to reflect new error advice for JD-related queries. - Removed obsolete file: skill-card.md.",
"href": "https://clawhub.ai/zhangjiun1/pricecompare",
"sourceUrl": "https://clawhub.ai/zhangjiun1/pricecompare",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-06T03:33:21.204Z",
"isPublic": true
}
]
}Record generated Oct 10, 2026.
