{"id":"5e2914ad-8b6f-455e-ba7b-55819c2c2d37","entityType":"agent","slug":"clawhub-zhangjiun1-pricecompare","name":"购物省钱宝 - 淘宝/京东/拼多多优惠查询、商品比价、链接转链","canonicalUrl":"https://www.xpersona.co/agent/clawhub-zhangjiun1-pricecompare","canonicalPath":"/agent/clawhub-zhangjiun1-pricecompare","generatedAt":"2026-10-10T04:59:58.731Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-09T22:55:09.377Z","emptyReason":null},"description":"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","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 1.9K downloads reported by the source. Last updated 10/9/2026.","installCommand":"clawhub skill install s17d9t052p5wmawk9kr6fvt8bs851nx7:pricecompare","sourceUrl":"https://clawhub.ai/zhangjiun1/pricecompare","homepage":"https://clawhub.ai/zhangjiun1/skills/pricecompare","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/zhangjiun1/pricecompare","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/zhangjiun1/skills/pricecompare","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":66,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"test simple description Skill: 购物省钱宝 - 淘宝/京东/拼多多优惠查询、商品比价、链接转链 Owner: zhangjiun1 Summary: test simple description Tags: compare:1.3.0, coupon:1.3.0, deals:1.3.0"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T22:55:09.377Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T22:55:09.377Z","emptyReason":null},"stars":null,"forks":null,"downloads":1922,"packageName":null,"latestVersion":"1.5.6","tractionLabel":"1.9K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T22:55:09.377Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T22:55:09.377Z","lastCrawledAt":"2026-10-09T22:55:09.377Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-10T22:55:09.377Z","lastVerifiedAt":null,"highlights":[{"version":"1.5.6","createdAt":"2026-08-06T03:33:21.204Z","changelog":"- 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.","fileCount":7,"zipByteSize":13891},{"version":"1.5.5","createdAt":"2026-07-12T13:44:49.795Z","changelog":"Version 1.5.5 - Updated skill description for clarity and more detailed usage guidance in SKILL.md. - Refined use cases and scenario examples to help users understand when to use the skill. - Removed obsolete file: skill-card.md. - No functional or API changes.","fileCount":7,"zipByteSize":13787},{"version":"1.5.4","createdAt":"2026-07-07T17:36:07.087Z","changelog":"test","fileCount":7,"zipByteSize":13606},{"version":"1.5.3","createdAt":"2026-07-07T01:29:13.395Z","changelog":"v1.5.3: 优化description触发词覆盖","fileCount":7,"zipByteSize":13572},{"version":"1.5.2","createdAt":"2026-07-07T01:27:43.997Z","changelog":"v1.5.2: 优化description覆盖更多用户搜索触发词(查价格/比价/优惠券/省钱/口令解析)，补充双语Use when触发场景，扩展语义搜索匹配面150→250词","fileCount":7,"zipByteSize":13876},{"version":"1.5.1","createdAt":"2026-06-25T15:55:28.740Z","changelog":"v1.5.1: 补充SEO优化内容(YAML描述恢复关键词覆盖/双语简介段落)","fileCount":7,"zipByteSize":13343},{"version":"1.5.0","createdAt":"2026-06-25T15:39:41.355Z","changelog":"v1.5.0: SKILL.md重写为agent友好格式(三段式函数定义)，路由简化为URL→parse→search fallback，新增keyword参数支持agent提取商品名；口令检测移交服务端；链接格式放宽；删除冗余文档","fileCount":7,"zipByteSize":13448},{"version":"1.4.2","createdAt":"2026-06-17T16:51:45.121Z","changelog":"版本更新提示优化","fileCount":8,"zipByteSize":17877}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s17d9t052p5wmawk9kr6fvt8bs851nx7:pricecompare","setupComplexity":"low","setupSteps":["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":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-zhangjiun1-pricecompare/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-zhangjiun1-pricecompare/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-zhangjiun1-pricecompare/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-zhangjiun1-pricecompare/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-zhangjiun1-pricecompare/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-zhangjiun1-pricecompare/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-10T04:59:58.729Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-zhangjiun1-pricecompare/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-zhangjiun1-pricecompare/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-zhangjiun1-pricecompare/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-zhangjiun1-pricecompare/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-09T22:55:09.377Z","emptyReason":null},"readme":"Skill: 购物省钱宝 - 淘宝/京东/拼多多优惠查询、商品比价、链接转链\n\nOwner: zhangjiun1\n\nSummary: test simple description\n\nTags: 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\n\nVersion history:\n\nv1.5.6 | 2026-08-06T03:33:21.204Z | auto\n\n- Version bump to 1.5.6.\n- Added specific error handling for JD search indicating platform limitations; now suggests users simplify keywords or try other platforms.\n- Updated documentation to reflect new error advice for JD-related queries.\n- Removed obsolete file: skill-card.md.\n\nv1.5.5 | 2026-07-12T13:44:49.795Z | auto\n\nVersion 1.5.5\n\n- Updated skill description for clarity and more detailed usage guidance in SKILL.md.\n- Refined use cases and scenario examples to help users understand when to use the skill.\n- Removed obsolete file: skill-card.md.\n- No functional or API changes.\n\nv1.5.4 | 2026-07-07T17:36:07.087Z | user\n\ntest\n\nv1.5.3 | 2026-07-07T01:29:13.395Z | user\n\nv1.5.3: 优化description触发词覆盖\n\nv1.5.2 | 2026-07-07T01:27:43.997Z | user\n\nv1.5.2: 优化description覆盖更多用户搜索触发词(查价格/比价/优惠券/省钱/口令解析)，补充双语Use when触发场景，扩展语义搜索匹配面150→250词\n\nv1.5.1 | 2026-06-25T15:55:28.740Z | user\n\nv1.5.1: 补充SEO优化内容(YAML描述恢复关键词覆盖/双语简介段落)\n\nv1.5.0 | 2026-06-25T15:39:41.355Z | user\n\nv1.5.0: SKILL.md重写为agent友好格式(三段式函数定义)，路由简化为URL→parse→search fallback，新增keyword参数支持agent提取商品名；口令检测移交服务端；链接格式放宽；删除冗余文档\n\nv1.4.2 | 2026-06-17T16:51:45.121Z | user\n\n版本更新提示优化\n\nv1.4.1 | 2026-06-17T16:51:17.131Z | user\n\n优化版本更新提示位置（开头醒目展示）+ 模块加载时自动检查版本\n\nv1.4.0 | 2026-06-15T12:45:55.294Z | auto\n\nVersion 1.4.0\n\n- Unified coupon fields across JD.com, Taobao, and Pinduoduo (couponInfo/couponAmount).\n- Added API return field documentation to the SKILL.md.\n- Internal fields are now filtered and not exposed to the client.\n- Removed the outdated skill-card.md file.\n\nv1.3.14 | 2026-06-12T04:12:03.011Z | user\n\n增强商品搜索数据稳定性，接入多源信息查询，提升搜索结果覆盖率与链接可靠性\n\nv1.3.13 | 2026-06-12T02:30:46.588Z | user\n\n服务端升级 HTTPS 加密传输，同时保持 HTTP 80 端口服务向下兼容旧版本 Skill；安全审查整改（优化输出策略措辞、添加前置隐私提示）\n\nv1.3.12 | 2026-06-12T02:30:10.320Z | user\n\n服务端升级 HTTPS 加密传输，同时保持 HTTP 80 端口服务向下兼容旧版本 Skill；安全审查整改（优化输出策略措辞、添加前置隐私提示）\n\nv1.3.11 | 2026-06-12T00:56:21.319Z | user\n\n清理无关文件（测试、缓存、参考文档）\n\nv1.3.10 | 2026-06-11T01:09:46.517Z | user\n\n新增隐私声明；支持环境变量关闭版本检查\n\nv1.3.9 | 2026-06-10T06:55:02.372Z | user\n\n删除返利关键词\n\nv1.3.8 | 2026-06-10T06:53:18.776Z | user\n\n支持拼多多百亿补贴商品搜索\n\nv1.3.7 | 2026-06-10T05:55:25.614Z | user\n\nAdd monthSales and couponPrice display; cleanup response fields; add national subsidy info\n\nv1.3.6 | 2026-06-10T03:50:31.449Z | user\n\nAdd national subsidy display for Taobao search results\n\nv1.3.5 | 2026-06-10T02:43:08.019Z | user\n\nVersion check now queries ClawHub API directly; removed server-side version endpoint\n\nv1.3.4 | 2026-06-10T02:36:18.294Z | user\n\nFix ClawHub display name\n\nv1.3.3 | 2026-06-10T02:33:00.726Z | user\n\nVersion check: change from once-per-lifetime to once-per-day\n\nv1.3.2 | 2026-06-10T02:26:31.785Z | user\n\nAdd version check mechanism: auto-check latest version via server endpoint, show update hint with ClawHub URL; PDD search enforce page_size>=10\n\nv1.3.1 | 2026-06-09T08:27:59.164Z | user\n\nFix Taobao parse_share recognition; dual-source Taobao search; pdd platform alias\n\nv1.3.0 | 2026-06-09T04:39:12.792Z | auto\n\nVersion 1.3.0 — 品牌及 SEO 升级\n\n- 品牌升级为「购物省钱宝」，突出省钱和跨平台比价定位\n- 英文与中文描述双语优化，提高 SEO 效果\n- 新增关键词覆盖，包括优惠券、折扣、省钱、返利、deals、coupons\n- 其他文档描述细节优化，便于用户理解功能\n\nv1.2.1 | 2026-06-09T04:07:33.371Z | auto\n\n- 修复拼多多搜索 page_size 最小限制，将 DEFAULT_SEARCH_PAGE_SIZE 从 5 调整为 10\n- 新增测试文件 test_skill.py 及测试结果输出 test_result.txt\n\nv1.2.0 | 2026-06-09T03:38:15.387Z | auto\n\n**1.2.0 版本更新要点：**\n- 优化京东口令识别，支持数字前缀、CA后缀、全角/半角感叹号等多种格式精确匹配\n- 淘宝商品搜索改为使用淘宝联盟API\n- is_token_format 规则优化：自动排除纯URL识别\n- config参数与服务器端配置保持一致\n- 文档细化、规则更新（支持格式、示例更全面）\n- skill-card.md 文件移除\n\nv1.0.2 | 2026-04-17T05:56:59.550Z | user\n\n更新 Display Name 为淘宝/京东/拼多多优惠查询、产品比价\n\nv1.0.1 | 2026-04-17T05:53:40.482Z | user\n\n更新 Display Name\n\nv1.0.0 | 2026-04-17T02:09:59.677Z | user\n\nprice-compare 1.0.0 首发上线：\n\n- 支持解析京东、淘宝、拼多多分享口令和链接，自动识别商品信息。\n- 实现多平台（京东/淘宝/拼多多）商品搜索功能。\n- 支持普通商品链接一键转为优惠链接，方便用户省钱购物。\n- 提供同一商品跨平台价格对比，快速找到最低价及优惠信息。\n- 规范输出格式，自动展示券后价、优惠券及一键跳转链接。\n\nArchive index:\n\nArchive v1.5.6: 7 files, 13891 bytes\n\nFiles: config.py (2846b), formatters.py (10391b), skill-card.md (2181b), SKILL.md (5311b), skill.py (7509b), utils.py (8568b), _meta.json (131b)\n\nFile v1.5.6:SKILL.md\n\n---\nname: 购物省钱宝 - 京东/淘宝/拼多多优惠查询\ndescription: 京东/淘宝/拼多多商品比价、优惠券查询、口令解析与链接转链省钱助手。帮用户在三平台找到最低价。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.\nversion: 1.5.6\n---\n\n# PriceCompare · 购物省钱宝\n\n> 三平台比价省钱助手：查价格、找优惠券、解析口令、转链接。帮我查XX在哪买最便宜。Cross-platform price comparison, coupon discovery, and deal conversion.\n\n> 调用入口: `handle_message(message, keyword=None)` — message 用于路由判断，keyword 用于搜索/比价。API: `POST http://op.squirrel2.cn/api/v1/{endpoint}`。数据仅用于本次查询，发送至 op.squirrel2.cn 处理。\n\n## 功能\n\n### 1. 链接转链 `convert_link`\n将商品链接转换为优惠链接。\n```\n触发条件: 用户发送了电商商品链接\n调用签名: convert_link(url: str, platform: str|None = None) -> str\nAPI:      POST /api/v1/convert  body: {\"url\": \"...\", \"platform\": \"jd|taobao|pinduoduo\"}\n\nplatform 可选，服务端自动识别域名:\n  JD: item.jd.com, u.jd.com, 3.cn\n  TB: item.taobao.com, detail.tmall.com, m.tb.cn, e.tb.cn\n  PDD: mobile.yangkeduo.com, p.pinduoduo.com\n```\n\n### 2. 口令解析 `parse_share_content`\n解析用户粘贴的电商分享内容（口令、短链接等）。服务端自动判断是否含有效口令。\n```\n触发条件: 用户发送了疑似分享口令的文本（非纯 URL）\n调用签名: parse_share_content(content: str) -> str\nAPI:      POST /api/v1/parse_share  body: {\"content\": \"<用户原话>\"}\n\n注意: 服务端自动识别口令格式，无需客户端做正则检测。\n      解析失败时返回错误信息，调用方应 fallback 到商品搜索。\n```\n\n### 3. 商品搜索 `search_goods`\n按关键词搜索商品。不指定 platform 时自动走三平台比价。\n```\n触发条件: 用户想搜索/找某类商品\n调用签名: search_goods(keyword: str, platform: str|None = None, page_size: int = 10) -> str\nAPI:      POST /api/v1/search  body: {\"platform\": \"jd|taobao|pinduoduo\", \"keyword\": \"...\", \"page_size\": 10}\n\nplatform 为 None: 自动调用 compare_prices 三平台比价\npage_size 最小值: 10（拼多多限制）\n```\n\n### 4. 多平台比价 `compare_prices`\n同一关键词在京东/淘宝/拼多多三平台同时搜索，返回最低价。\n```\n触发条件: 用户想对比价格、找最便宜的平台\n调用签名: compare_prices(keyword: str) -> str\nAPI:      POST /api/v1/compare  body: {\"keyword\": \"...\"}\n```\n\n## Agent 调用指引\n\n### 调用方式\n```\nhandle_message(user_raw_message, keyword=extracted_product_name)\n```\n\n- **message**: 用户原始输入，用于路由判断（检测 URL）\n- **keyword**: agent 从用户消息中提取的商品关键词，用于搜索/比价。不提供时回退到 message\n\n### 路由决策\n\n| 优先级 | 条件 | 调用 |\n|:---:|------|------|\n| 1 | message 含电商商品 URL | `convert_link(url)` |\n| 2 | 其他文本 | 先 `parse_share_content(message)`，失败则 `search_goods(keyword or message)` |\n\n### Agent 行为规范\n\n1. 从用户消息中提取商品关键词传给 `keyword` 参数（如\"帮我查一下iPhone 16的价格\" → keyword=\"iPhone 16\"）\n2. 用户指定平台时传 `platform` 参数（jd/taobao/pinduoduo）\n3. 展示链接时优先用超链接格式，如前端不支持则输出原始 URL\n4. 函数返回的格式化内容直接呈现，无需重新组织\n\n## 平台代码\n\n| 中文 | 代码 | 主要域名 |\n|------|:---:|------|\n| 京东 | `jd` | item.jd.com, u.jd.com, 3.cn |\n| 淘宝/天猫 | `taobao` | item.taobao.com, detail.tmall.com, m.tb.cn |\n| 拼多多 | `pinduoduo` | mobile.yangkeduo.com, p.pinduoduo.com |\n\n## 响应字段\n\n| 字段 | 类型 | 含义 |\n|------|------|------|\n| title | string | 商品名称 |\n| price | number | 券后价（元） |\n| originalPrice | number | 原价（元） |\n| couponInfo | string | 优惠券描述，如\"满99减30\" |\n| couponAmount | number | 优惠券面值（元） |\n| shopName | string | 店铺名称 |\n| monthSales | string | 月销量 |\n| link | string | 优惠购买链接 |\n| platform | string | 平台代码 |\n\n## 参数速查\n\n| 参数 | 值 |\n|------|-----|\n| 推广链接有效期 | JD 15天 / TB 15天 / PDD 7天 |\n| 口令有效期 | JD 7-15天 / TB 15-30天 |\n| 搜索最小页大小 | 10 |\n\n## 错误处理\n\n- 口令过期/无效 → 告知用户重新获取\n- 商品下架 → 告知不可购买，建议搜索同类\n- 无搜索结果 → 建议放宽关键词\n- parse_share 失败 → 自动 fallback 到商品搜索\n- API 异常 → 提示服务暂时不可用\n- 京东搜索返回\"京东平台暂时无法获取该关键词的商品\" → 建议用户简化关键词（去掉\"百亿补贴\"等活动词）或改用淘宝/拼多多查询\n\nFile v1.5.6:_meta.json\n\n{\n  \"ownerId\": \"kn76azyt0xxb21dk6bq8qqqn29851gxm\",\n  \"slug\": \"pricecompare\",\n  \"version\": \"1.5.6\",\n  \"publishedAt\": 1785987201204\n}\n\nFile v1.5.6:skill-card.md\n\n## Description:\n\n京东/淘宝/拼多多商品比价、优惠券查询、口令解析与链接转链省钱助手，帮助用户搜索商品、对比价格、解析电商分享内容并生成优惠购买链接。\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[zhangjiun1](https://clawhub.ai/user/zhangjiun1)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal 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.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill may send shopping queries, pasted share text, and product links to the external service op.squirrel2.cn for processing.\n\nMitigation: Use the skill only for intended shopping queries and links, and avoid sending private details, credentials, account data, or unrelated personal text.\n\nRisk: Ordinary non-URL user text can be sent for share-code parsing before local filtering.\n\nMitigation: Have the agent confirm ambiguous or sensitive-looking pasted text before invoking share parsing, or narrow inputs to validated shopping share-code formats.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/zhangjiun1/skills/pricecompare)\n- [Publisher profile](https://clawhub.ai/user/zhangjiun1)\n- [External shopping API service](https://op.squirrel2.cn)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, API calls, guidance]\n\n**Output Format:** [Markdown-formatted text with product details, coupon information, price comparisons, error guidance, and shopping links]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May include external promotional links and platform-specific shopping metadata returned by the API.]\n\n## Skill Version(s):\n\n1.5.6 (source: frontmatter and release evidence)\n\n## Ethical Considerations:\n\nUsers 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.\n\nArchive v1.5.5: 7 files, 13787 bytes\n\nFiles: config.py (2846b), formatters.py (10391b), skill-card.md (2497b), SKILL.md (5136b), skill.py (7509b), utils.py (8568b), _meta.json (131b)\n\nFile v1.5.5:SKILL.md\n\n---\nname: 购物省钱宝 - 京东/淘宝/拼多多优惠查询\ndescription: 京东/淘宝/拼多多商品比价、优惠券查询、口令解析与链接转链省钱助手。帮用户在三平台找到最低价。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.\nversion: 1.5.5\n---\n\n# PriceCompare · 购物省钱宝\n\n> 三平台比价省钱助手：查价格、找优惠券、解析口令、转链接。帮我查XX在哪买最便宜。Cross-platform price comparison, coupon discovery, and deal conversion.\n\n> 调用入口: `handle_message(message, keyword=None)` — message 用于路由判断，keyword 用于搜索/比价。API: `POST http://op.squirrel2.cn/api/v1/{endpoint}`。数据仅用于本次查询，发送至 op.squirrel2.cn 处理。\n\n## 功能\n\n### 1. 链接转链 `convert_link`\n将商品链接转换为优惠链接。\n```\n触发条件: 用户发送了电商商品链接\n调用签名: convert_link(url: str, platform: str|None = None) -> str\nAPI:      POST /api/v1/convert  body: {\"url\": \"...\", \"platform\": \"jd|taobao|pinduoduo\"}\n\nplatform 可选，服务端自动识别域名:\n  JD: item.jd.com, u.jd.com, 3.cn\n  TB: item.taobao.com, detail.tmall.com, m.tb.cn, e.tb.cn\n  PDD: mobile.yangkeduo.com, p.pinduoduo.com\n```\n\n### 2. 口令解析 `parse_share_content`\n解析用户粘贴的电商分享内容（口令、短链接等）。服务端自动判断是否含有效口令。\n```\n触发条件: 用户发送了疑似分享口令的文本（非纯 URL）\n调用签名: parse_share_content(content: str) -> str\nAPI:      POST /api/v1/parse_share  body: {\"content\": \"<用户原话>\"}\n\n注意: 服务端自动识别口令格式，无需客户端做正则检测。\n      解析失败时返回错误信息，调用方应 fallback 到商品搜索。\n```\n\n### 3. 商品搜索 `search_goods`\n按关键词搜索商品。不指定 platform 时自动走三平台比价。\n```\n触发条件: 用户想搜索/找某类商品\n调用签名: search_goods(keyword: str, platform: str|None = None, page_size: int = 10) -> str\nAPI:      POST /api/v1/search  body: {\"platform\": \"jd|taobao|pinduoduo\", \"keyword\": \"...\", \"page_size\": 10}\n\nplatform 为 None: 自动调用 compare_prices 三平台比价\npage_size 最小值: 10（拼多多限制）\n```\n\n### 4. 多平台比价 `compare_prices`\n同一关键词在京东/淘宝/拼多多三平台同时搜索，返回最低价。\n```\n触发条件: 用户想对比价格、找最便宜的平台\n调用签名: compare_prices(keyword: str) -> str\nAPI:      POST /api/v1/compare  body: {\"keyword\": \"...\"}\n```\n\n## Agent 调用指引\n\n### 调用方式\n```\nhandle_message(user_raw_message, keyword=extracted_product_name)\n```\n\n- **message**: 用户原始输入，用于路由判断（检测 URL）\n- **keyword**: agent 从用户消息中提取的商品关键词，用于搜索/比价。不提供时回退到 message\n\n### 路由决策\n\n| 优先级 | 条件 | 调用 |\n|:---:|------|------|\n| 1 | message 含电商商品 URL | `convert_link(url)` |\n| 2 | 其他文本 | 先 `parse_share_content(message)`，失败则 `search_goods(keyword or message)` |\n\n### Agent 行为规范\n\n1. 从用户消息中提取商品关键词传给 `keyword` 参数（如\"帮我查一下iPhone 16的价格\" → keyword=\"iPhone 16\"）\n2. 用户指定平台时传 `platform` 参数（jd/taobao/pinduoduo）\n3. 展示链接时优先用超链接格式，如前端不支持则输出原始 URL\n4. 函数返回的格式化内容直接呈现，无需重新组织\n\n## 平台代码\n\n| 中文 | 代码 | 主要域名 |\n|------|:---:|------|\n| 京东 | `jd` | item.jd.com, u.jd.com, 3.cn |\n| 淘宝/天猫 | `taobao` | item.taobao.com, detail.tmall.com, m.tb.cn |\n| 拼多多 | `pinduoduo` | mobile.yangkeduo.com, p.pinduoduo.com |\n\n## 响应字段\n\n| 字段 | 类型 | 含义 |\n|------|------|------|\n| title | string | 商品名称 |\n| price | number | 券后价（元） |\n| originalPrice | number | 原价（元） |\n| couponInfo | string | 优惠券描述，如\"满99减30\" |\n| couponAmount | number | 优惠券面值（元） |\n| shopName | string | 店铺名称 |\n| monthSales | string | 月销量 |\n| link | string | 优惠购买链接 |\n| platform | string | 平台代码 |\n\n## 参数速查\n\n| 参数 | 值 |\n|------|-----|\n| 推广链接有效期 | JD 15天 / TB 15天 / PDD 7天 |\n| 口令有效期 | JD 7-15天 / TB 15-30天 |\n| 搜索最小页大小 | 10 |\n\n## 错误处理\n\n- 口令过期/无效 → 告知用户重新获取\n- 商品下架 → 告知不可购买，建议搜索同类\n- 无搜索结果 → 建议放宽关键词\n- parse_share 失败 → 自动 fallback 到商品搜索\n- API 异常 → 提示服务暂时不可用\n\nFile v1.5.5:_meta.json\n\n{\n  \"ownerId\": \"kn76azyt0xxb21dk6bq8qqqn29851gxm\",\n  \"slug\": \"pricecompare\",\n  \"version\": \"1.5.5\",\n  \"publishedAt\": 1783863889795\n}\n\nFile v1.5.5:skill-card.md\n\n## Description: <br>\nThis skill helps agents search Taobao, JD, and Pinduoduo products, compare prices, find coupons, parse e-commerce share text, and convert product links into discount purchase links. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[zhangjiun1](https://clawhub.ai/user/zhangjiun1) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal shopping assistants and personal agents use this skill to answer price comparison, coupon lookup, share-code parsing, and discount-link conversion requests for Taobao, JD, and Pinduoduo. It is intended for users who provide product keywords, product links, or e-commerce share text and want concise purchase options. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Shopping queries, product links, and pasted e-commerce share text are sent to op.squirrel2.cn for processing. <br>\nMitigation: Install only when this data sharing is acceptable, and avoid pasting unrelated personal text into the skill. <br>\nRisk: The skill performs an automatic ClawHub update check that is under-disclosed in the artifact. <br>\nMitigation: Set PRICECOMPARE_NO_VERSION_CHECK when automatic version checks are not desired. <br>\nRisk: Product prices, coupons, and generated purchase links depend on external shopping API data and may change or become unavailable. <br>\nMitigation: Have the agent present results as current offers and advise users to verify price and coupon details before purchase. <br>\n\n\n## Reference(s): <br>\n- [ClawHub Skill Page](https://clawhub.ai/zhangjiun1/skills/pricecompare) <br>\n- [Publisher Profile](https://clawhub.ai/user/zhangjiun1) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [Text, Markdown, Guidance] <br>\n**Output Format:** [Markdown-formatted text with product details, prices, coupon information, and purchase links] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Returns formatted strings for direct presentation by the agent; external shopping API responses determine product availability and pricing.] <br>\n\n## Skill Version(s): <br>\n1.5.5 (source: frontmatter and server release evidence) <br>\n\n## Ethical Considerations: <br>\nUsers 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. <br>\n\nArchive v1.5.4: 7 files, 13606 bytes\n\nFiles: config.py (2846b), formatters.py (10391b), skill-card.md (2734b), SKILL.md (4479b), skill.py (7509b), utils.py (8568b), _meta.json (131b)\n\nFile v1.5.4:SKILL.md\n\n---\nname: 购物省钱宝 - 京东/淘宝/拼多多优惠查询\ndescription: test simple description\nversion: 1.5.2\n---\n\n# PriceCompare · 购物省钱宝\n\n> 三平台比价省钱助手：查价格、找优惠券、解析口令、转链接。帮我查XX在哪买最便宜。Cross-platform price comparison, coupon discovery, and deal conversion.\n\n> 调用入口: `handle_message(message, keyword=None)` — message 用于路由判断，keyword 用于搜索/比价。API: `POST http://op.squirrel2.cn/api/v1/{endpoint}`。数据仅用于本次查询，发送至 op.squirrel2.cn 处理。\n\n## 功能\n\n### 1. 链接转链 `convert_link`\n将商品链接转换为优惠链接。\n```\n触发条件: 用户发送了电商商品链接\n调用签名: convert_link(url: str, platform: str|None = None) -> str\nAPI:      POST /api/v1/convert  body: {\"url\": \"...\", \"platform\": \"jd|taobao|pinduoduo\"}\n\nplatform 可选，服务端自动识别域名:\n  JD: item.jd.com, u.jd.com, 3.cn\n  TB: item.taobao.com, detail.tmall.com, m.tb.cn, e.tb.cn\n  PDD: mobile.yangkeduo.com, p.pinduoduo.com\n```\n\n### 2. 口令解析 `parse_share_content`\n解析用户粘贴的电商分享内容（口令、短链接等）。服务端自动判断是否含有效口令。\n```\n触发条件: 用户发送了疑似分享口令的文本（非纯 URL）\n调用签名: parse_share_content(content: str) -> str\nAPI:      POST /api/v1/parse_share  body: {\"content\": \"<用户原话>\"}\n\n注意: 服务端自动识别口令格式，无需客户端做正则检测。\n      解析失败时返回错误信息，调用方应 fallback 到商品搜索。\n```\n\n### 3. 商品搜索 `search_goods`\n按关键词搜索商品。不指定 platform 时自动走三平台比价。\n```\n触发条件: 用户想搜索/找某类商品\n调用签名: search_goods(keyword: str, platform: str|None = None, page_size: int = 10) -> str\nAPI:      POST /api/v1/search  body: {\"platform\": \"jd|taobao|pinduoduo\", \"keyword\": \"...\", \"page_size\": 10}\n\nplatform 为 None: 自动调用 compare_prices 三平台比价\npage_size 最小值: 10（拼多多限制）\n```\n\n### 4. 多平台比价 `compare_prices`\n同一关键词在京东/淘宝/拼多多三平台同时搜索，返回最低价。\n```\n触发条件: 用户想对比价格、找最便宜的平台\n调用签名: compare_prices(keyword: str) -> str\nAPI:      POST /api/v1/compare  body: {\"keyword\": \"...\"}\n```\n\n## Agent 调用指引\n\n### 调用方式\n```\nhandle_message(user_raw_message, keyword=extracted_product_name)\n```\n\n- **message**: 用户原始输入，用于路由判断（检测 URL）\n- **keyword**: agent 从用户消息中提取的商品关键词，用于搜索/比价。不提供时回退到 message\n\n### 路由决策\n\n| 优先级 | 条件 | 调用 |\n|:---:|------|------|\n| 1 | message 含电商商品 URL | `convert_link(url)` |\n| 2 | 其他文本 | 先 `parse_share_content(message)`，失败则 `search_goods(keyword or message)` |\n\n### Agent 行为规范\n\n1. 从用户消息中提取商品关键词传给 `keyword` 参数（如\"帮我查一下iPhone 16的价格\" → keyword=\"iPhone 16\"）\n2. 用户指定平台时传 `platform` 参数（jd/taobao/pinduoduo）\n3. 展示链接时优先用超链接格式，如前端不支持则输出原始 URL\n4. 函数返回的格式化内容直接呈现，无需重新组织\n\n## 平台代码\n\n| 中文 | 代码 | 主要域名 |\n|------|:---:|------|\n| 京东 | `jd` | item.jd.com, u.jd.com, 3.cn |\n| 淘宝/天猫 | `taobao` | item.taobao.com, detail.tmall.com, m.tb.cn |\n| 拼多多 | `pinduoduo` | mobile.yangkeduo.com, p.pinduoduo.com |\n\n## 响应字段\n\n| 字段 | 类型 | 含义 |\n|------|------|------|\n| title | string | 商品名称 |\n| price | number | 券后价（元） |\n| originalPrice | number | 原价（元） |\n| couponInfo | string | 优惠券描述，如\"满99减30\" |\n| couponAmount | number | 优惠券面值（元） |\n| shopName | string | 店铺名称 |\n| monthSales | string | 月销量 |\n| link | string | 优惠购买链接 |\n| platform | string | 平台代码 |\n\n## 参数速查\n\n| 参数 | 值 |\n|------|-----|\n| 推广链接有效期 | JD 15天 / TB 15天 / PDD 7天 |\n| 口令有效期 | JD 7-15天 / TB 15-30天 |\n| 搜索最小页大小 | 10 |\n\n## 错误处理\n\n- 口令过期/无效 → 告知用户重新获取\n- 商品下架 → 告知不可购买，建议搜索同类\n- 无搜索结果 → 建议放宽关键词\n- parse_share 失败 → 自动 fallback 到商品搜索\n- API 异常 → 提示服务暂时不可用\n\nFile v1.5.4:_meta.json\n\n{\n  \"ownerId\": \"kn76azyt0xxb21dk6bq8qqqn29851gxm\",\n  \"slug\": \"pricecompare\",\n  \"version\": \"1.5.4\",\n  \"publishedAt\": 1783445767087\n}\n\nFile v1.5.4:skill-card.md\n\n## Description: <br>\ntest is a shopping comparison skill that helps agents search products, compare prices, parse shopping share text, and convert JD, Taobao/Tmall, and Pinduoduo product links. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[zhangjiun1](https://clawhub.ai/user/zhangjiun1) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nUse this skill when an agent needs to respond to shopping requests by searching products, comparing prices across supported Chinese e-commerce platforms, parsing pasted share content, or producing promotional purchase links. <br>\n\n### Deployment Geography for Use: <br>\nGlobal, subject to access to the supported shopping platforms and the external API service used by the skill. <br>\n\n## Known Risks and Mitigations: <br>\nRisk: ClawScan marked this release suspicious because the skill under-describes its behavior and makes automatic outbound network calls that users may not expect. <br>\nMitigation: Review the skill behavior before deployment, disclose the outbound calls to users, and install only in environments that permit these network dependencies. <br>\nRisk: Shopping links, pasted share text, and product queries are sent to op.squirrel2.cn for processing. <br>\nMitigation: Use only with shopping data appropriate for that service and avoid submitting sensitive or private text in product queries or pasted share content. <br>\nRisk: The skill contacts clawhub.ai for version checks when loaded and during API-wrapped calls. <br>\nMitigation: Set PRICECOMPARE_NO_VERSION_CHECK or apply environment-level network controls when automatic version checks are not acceptable. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/zhangjiun1/skills/pricecompare) <br>\n- [Publisher profile](https://clawhub.ai/user/zhangjiun1) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown] <br>\n**Output Format:** [Formatted shopping results, price comparison summaries, coupon or converted-link details, and user-facing error messages.] <br>\n**Output Parameters:** [User shopping message, optional extracted product keyword, optional platform, product URL, or pasted share content.] <br>\n**Other Properties Related to Output:** [Outputs may include product titles, prices, coupon information, shop names, sales information, platform names, and purchase links returned by the external service.] <br>\n\n## Skill Version(s): <br>\n1.5.4 <br>\n\n## Ethical Considerations: <br>\nUsers 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. <br>\n\nArchive v1.5.3: 7 files, 13572 bytes\n\nFiles: config.py (2846b), formatters.py (10391b), skill-card.md (1960b), SKILL.md (5136b), skill.py (7509b), utils.py (8568b), _meta.json (131b)\n\nFile v1.5.3:SKILL.md\n\n---\nname: 购物省钱宝 - 京东/淘宝/拼多多优惠查询\ndescription: 京东/淘宝/拼多多商品比价、优惠券查询、口令解析与链接转链省钱助手。帮用户在三平台找到最低价。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.\nversion: 1.5.3\n---\n\n# PriceCompare · 购物省钱宝\n\n> 三平台比价省钱助手：查价格、找优惠券、解析口令、转链接。帮我查XX在哪买最便宜。Cross-platform price comparison, coupon discovery, and deal conversion.\n\n> 调用入口: `handle_message(message, keyword=None)` — message 用于路由判断，keyword 用于搜索/比价。API: `POST http://op.squirrel2.cn/api/v1/{endpoint}`。数据仅用于本次查询，发送至 op.squirrel2.cn 处理。\n\n## 功能\n\n### 1. 链接转链 `convert_link`\n将商品链接转换为优惠链接。\n```\n触发条件: 用户发送了电商商品链接\n调用签名: convert_link(url: str, platform: str|None = None) -> str\nAPI:      POST /api/v1/convert  body: {\"url\": \"...\", \"platform\": \"jd|taobao|pinduoduo\"}\n\nplatform 可选，服务端自动识别域名:\n  JD: item.jd.com, u.jd.com, 3.cn\n  TB: item.taobao.com, detail.tmall.com, m.tb.cn, e.tb.cn\n  PDD: mobile.yangkeduo.com, p.pinduoduo.com\n```\n\n### 2. 口令解析 `parse_share_content`\n解析用户粘贴的电商分享内容（口令、短链接等）。服务端自动判断是否含有效口令。\n```\n触发条件: 用户发送了疑似分享口令的文本（非纯 URL）\n调用签名: parse_share_content(content: str) -> str\nAPI:      POST /api/v1/parse_share  body: {\"content\": \"<用户原话>\"}\n\n注意: 服务端自动识别口令格式，无需客户端做正则检测。\n      解析失败时返回错误信息，调用方应 fallback 到商品搜索。\n```\n\n### 3. 商品搜索 `search_goods`\n按关键词搜索商品。不指定 platform 时自动走三平台比价。\n```\n触发条件: 用户想搜索/找某类商品\n调用签名: search_goods(keyword: str, platform: str|None = None, page_size: int = 10) -> str\nAPI:      POST /api/v1/search  body: {\"platform\": \"jd|taobao|pinduoduo\", \"keyword\": \"...\", \"page_size\": 10}\n\nplatform 为 None: 自动调用 compare_prices 三平台比价\npage_size 最小值: 10（拼多多限制）\n```\n\n### 4. 多平台比价 `compare_prices`\n同一关键词在京东/淘宝/拼多多三平台同时搜索，返回最低价。\n```\n触发条件: 用户想对比价格、找最便宜的平台\n调用签名: compare_prices(keyword: str) -> str\nAPI:      POST /api/v1/compare  body: {\"keyword\": \"...\"}\n```\n\n## Agent 调用指引\n\n### 调用方式\n```\nhandle_message(user_raw_message, keyword=extracted_product_name)\n```\n\n- **message**: 用户原始输入，用于路由判断（检测 URL）\n- **keyword**: agent 从用户消息中提取的商品关键词，用于搜索/比价。不提供时回退到 message\n\n### 路由决策\n\n| 优先级 | 条件 | 调用 |\n|:---:|------|------|\n| 1 | message 含电商商品 URL | `convert_link(url)` |\n| 2 | 其他文本 | 先 `parse_share_content(message)`，失败则 `search_goods(keyword or message)` |\n\n### Agent 行为规范\n\n1. 从用户消息中提取商品关键词传给 `keyword` 参数（如\"帮我查一下iPhone 16的价格\" → keyword=\"iPhone 16\"）\n2. 用户指定平台时传 `platform` 参数（jd/taobao/pinduoduo）\n3. 展示链接时优先用超链接格式，如前端不支持则输出原始 URL\n4. 函数返回的格式化内容直接呈现，无需重新组织\n\n## 平台代码\n\n| 中文 | 代码 | 主要域名 |\n|------|:---:|------|\n| 京东 | `jd` | item.jd.com, u.jd.com, 3.cn |\n| 淘宝/天猫 | `taobao` | item.taobao.com, detail.tmall.com, m.tb.cn |\n| 拼多多 | `pinduoduo` | mobile.yangkeduo.com, p.pinduoduo.com |\n\n## 响应字段\n\n| 字段 | 类型 | 含义 |\n|------|------|------|\n| title | string | 商品名称 |\n| price | number | 券后价（元） |\n| originalPrice | number | 原价（元） |\n| couponInfo | string | 优惠券描述，如\"满99减30\" |\n| couponAmount | number | 优惠券面值（元） |\n| shopName | string | 店铺名称 |\n| monthSales | string | 月销量 |\n| link | string | 优惠购买链接 |\n| platform | string | 平台代码 |\n\n## 参数速查\n\n| 参数 | 值 |\n|------|-----|\n| 推广链接有效期 | JD 15天 / TB 15天 / PDD 7天 |\n| 口令有效期 | JD 7-15天 / TB 15-30天 |\n| 搜索最小页大小 | 10 |\n\n## 错误处理\n\n- 口令过期/无效 → 告知用户重新获取\n- 商品下架 → 告知不可购买，建议搜索同类\n- 无搜索结果 → 建议放宽关键词\n- parse_share 失败 → 自动 fallback 到商品搜索\n- API 异常 → 提示服务暂时不可用\n\nFile v1.5.3:_meta.json\n\n{\n  \"ownerId\": \"kn76azyt0xxb21dk6bq8qqqn29851gxm\",\n  \"slug\": \"pricecompare\",\n  \"version\": \"1.5.3\",\n  \"publishedAt\": 1783387753395\n}\n\nFile v1.5.3:skill-card.md\n\n## Description: <br>\nPriceCompare helps agents search JD, Taobao, and Pinduoduo for product prices, coupons, share-code parsing, and affiliate link conversion so users can find lower purchase prices. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[zhangjiun1](https://clawhub.ai/user/zhangjiun1) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal shoppers and shopping-assistant agents use this skill to compare prices, discover coupons, parse e-commerce share text, and convert product links for JD, Taobao, and Pinduoduo purchases. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Shopping queries, product links, and pasted e-commerce share text are sent to op.squirrel2.cn for processing. <br>\nMitigation: Use the skill only for explicit shopping tasks and avoid sending sensitive personal, account, or payment information. <br>\nRisk: The skill performs an automatic ClawHub version check. <br>\nMitigation: Set PRICECOMPARE_NO_VERSION_CHECK in environments that should avoid the automatic version check. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/zhangjiun1/skills/pricecompare) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [Text, Markdown, Guidance] <br>\n**Output Format:** [Markdown/plain text product summaries with prices, coupon details, sales information, links, and error guidance.] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [May include affiliate or promotion links and a ClawHub update hint.] <br>\n\n## Skill Version(s): <br>\n1.5.3 (source: server release and SKILL.md frontmatter) <br>\n\n## Ethical Considerations: <br>\nUsers 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. <br>\n\nArchive v1.5.2: 7 files, 13876 bytes\n\nFiles: config.py (2846b), formatters.py (10391b), skill-card.md (2575b), SKILL.md (5162b), skill.py (7509b), utils.py (8568b), _meta.json (131b)\n\nFile v1.5.2:SKILL.md\n\n---\nname: 购物省钱宝 - 京东/淘宝/拼多多优惠查询\ndescription: >-\n  京东/淘宝/拼多多商品比价、优惠券查询、口令解析与链接转链省钱助手。\n  帮用户在三平台找到最低价。Use when: 想查某商品在哪个平台最便宜、\n  想搜索商品看有没有优惠券、收到电商分享口令想解析、\n  拿到商品链接想转优惠链接省钱购买。Supports product search,\n  price comparison across JD/Taobao/PDD, coupon discovery,\n  share-code parsing, affiliate link conversion.\n  适用于：帮我查XX的价格、XX在哪买最便宜、这个口令帮我看看、\n  这个链接有优惠吗、帮我找XX的优惠券、哪个平台买XX最省钱、\n  对比XX价格、查一下XX多少钱。Save money on every purchase.\nversion: 1.5.2\n---\n\n# PriceCompare · 购物省钱宝\n\n> 三平台比价省钱助手：查价格、找优惠券、解析口令、转链接。帮我查XX在哪买最便宜。Cross-platform price comparison, coupon discovery, and deal conversion.\n\n> 调用入口: `handle_message(message, keyword=None)` — message 用于路由判断，keyword 用于搜索/比价。API: `POST http://op.squirrel2.cn/api/v1/{endpoint}`。数据仅用于本次查询，发送至 op.squirrel2.cn 处理。\n\n## 功能\n\n### 1. 链接转链 `convert_link`\n将商品链接转换为优惠链接。\n```\n触发条件: 用户发送了电商商品链接\n调用签名: convert_link(url: str, platform: str|None = None) -> str\nAPI:      POST /api/v1/convert  body: {\"url\": \"...\", \"platform\": \"jd|taobao|pinduoduo\"}\n\nplatform 可选，服务端自动识别域名:\n  JD: item.jd.com, u.jd.com, 3.cn\n  TB: item.taobao.com, detail.tmall.com, m.tb.cn, e.tb.cn\n  PDD: mobile.yangkeduo.com, p.pinduoduo.com\n```\n\n### 2. 口令解析 `parse_share_content`\n解析用户粘贴的电商分享内容（口令、短链接等）。服务端自动判断是否含有效口令。\n```\n触发条件: 用户发送了疑似分享口令的文本（非纯 URL）\n调用签名: parse_share_content(content: str) -> str\nAPI:      POST /api/v1/parse_share  body: {\"content\": \"<用户原话>\"}\n\n注意: 服务端自动识别口令格式，无需客户端做正则检测。\n      解析失败时返回错误信息，调用方应 fallback 到商品搜索。\n```\n\n### 3. 商品搜索 `search_goods`\n按关键词搜索商品。不指定 platform 时自动走三平台比价。\n```\n触发条件: 用户想搜索/找某类商品\n调用签名: search_goods(keyword: str, platform: str|None = None, page_size: int = 10) -> str\nAPI:      POST /api/v1/search  body: {\"platform\": \"jd|taobao|pinduoduo\", \"keyword\": \"...\", \"page_size\": 10}\n\nplatform 为 None: 自动调用 compare_prices 三平台比价\npage_size 最小值: 10（拼多多限制）\n```\n\n### 4. 多平台比价 `compare_prices`\n同一关键词在京东/淘宝/拼多多三平台同时搜索，返回最低价。\n```\n触发条件: 用户想对比价格、找最便宜的平台\n调用签名: compare_prices(keyword: str) -> str\nAPI:      POST /api/v1/compare  body: {\"keyword\": \"...\"}\n```\n\n## Agent 调用指引\n\n### 调用方式\n```\nhandle_message(user_raw_message, keyword=extracted_product_name)\n```\n\n- **message**: 用户原始输入，用于路由判断（检测 URL）\n- **keyword**: agent 从用户消息中提取的商品关键词，用于搜索/比价。不提供时回退到 message\n\n### 路由决策\n\n| 优先级 | 条件 | 调用 |\n|:---:|------|------|\n| 1 | message 含电商商品 URL | `convert_link(url)` |\n| 2 | 其他文本 | 先 `parse_share_content(message)`，失败则 `search_goods(keyword or message)` |\n\n### Agent 行为规范\n\n1. 从用户消息中提取商品关键词传给 `keyword` 参数（如\"帮我查一下iPhone 16的价格\" → keyword=\"iPhone 16\"）\n2. 用户指定平台时传 `platform` 参数（jd/taobao/pinduoduo）\n3. 展示链接时优先用超链接格式，如前端不支持则输出原始 URL\n4. 函数返回的格式化内容直接呈现，无需重新组织\n\n## 平台代码\n\n| 中文 | 代码 | 主要域名 |\n|------|:---:|------|\n| 京东 | `jd` | item.jd.com, u.jd.com, 3.cn |\n| 淘宝/天猫 | `taobao` | item.taobao.com, detail.tmall.com, m.tb.cn |\n| 拼多多 | `pinduoduo` | mobile.yangkeduo.com, p.pinduoduo.com |\n\n## 响应字段\n\n| 字段 | 类型 | 含义 |\n|------|------|------|\n| title | string | 商品名称 |\n| price | number | 券后价（元） |\n| originalPrice | number | 原价（元） |\n| couponInfo | string | 优惠券描述，如\"满99减30\" |\n| couponAmount | number | 优惠券面值（元） |\n| shopName | string | 店铺名称 |\n| monthSales | string | 月销量 |\n| link | string | 优惠购买链接 |\n| platform | string | 平台代码 |\n\n## 参数速查\n\n| 参数 | 值 |\n|------|-----|\n| 推广链接有效期 | JD 15天 / TB 15天 / PDD 7天 |\n| 口令有效期 | JD 7-15天 / TB 15-30天 |\n| 搜索最小页大小 | 10 |\n\n## 错误处理\n\n- 口令过期/无效 → 告知用户重新获取\n- 商品下架 → 告知不可购买，建议搜索同类\n- 无搜索结果 → 建议放宽关键词\n- parse_share 失败 → 自动 fallback 到商品搜索\n- API 异常 → 提示服务暂时不可用\n\nFile v1.5.2:_meta.json\n\n{\n  \"ownerId\": \"kn76azyt0xxb21dk6bq8qqqn29851gxm\",\n  \"slug\": \"pricecompare\",\n  \"version\": \"1.5.2\",\n  \"publishedAt\": 1783387663997\n}\n\nFile v1.5.2:skill-card.md\n\n## Description: <br>\n购物省钱宝 helps agents search JD, Taobao/Tmall, and Pinduoduo for coupons, compare prices, parse e-commerce share text, and convert product links into promotional purchase links. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[zhangjiun1](https://clawhub.ai/user/zhangjiun1) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal shoppers and shopping assistants use this skill to find lower prices, coupons, and promotional links across JD, Taobao/Tmall, and Pinduoduo. Agents can route product URLs, pasted share text, or shopping keywords to the skill and return formatted deal results to the user. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Shopping searches, product URLs, and pasted e-commerce share text are sent to op.squirrel2.cn for processing. <br>\nMitigation: Use the skill only for product-search and deal-conversion content, and avoid pasting private account pages, personal data, or links containing sensitive tokens. <br>\nRisk: The documentation mentions an HTTP API pattern while the code defaults to HTTPS for the external API. <br>\nMitigation: Confirm deployments use the HTTPS default and avoid overriding API_BASE_URL to a plain-HTTP or untrusted endpoint. <br>\nRisk: The skill performs an optional daily version check against ClawHub during import and before API calls. <br>\nMitigation: Set PRICECOMPARE_NO_VERSION_CHECK in privacy-sensitive or offline deployments and disclose the network check to operators. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill release page](https://clawhub.ai/zhangjiun1/skills/pricecompare) <br>\n- [External deal API base URL](https://op.squirrel2.cn) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, guidance] <br>\n**Output Format:** [Markdown-formatted text with product names, prices, coupon details, sales information, promotional links, comparisons, and user-facing error guidance.] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Results may include affiliate or promotional purchase links and are based on responses from the external deal API.] <br>\n\n## Skill Version(s): <br>\n1.5.2 (source: frontmatter, config.py, server release evidence) <br>\n\n## Ethical Considerations: <br>\nUsers 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. <br>\n\nArchive v1.5.1: 7 files, 13343 bytes\n\nFiles: config.py (2846b), formatters.py (10391b), skill-card.md (1777b), SKILL.md (4754b), skill.py (7509b), utils.py (8568b), _meta.json (131b)\n\nFile v1.5.1:SKILL.md\n\n---\nname: 购物省钱宝 - 京东/淘宝/拼多多优惠查询\ndescription: 购物省钱宝，淘宝京东拼多多优惠券查询、商品比价、链接转链省钱助手。支持解析电商分享口令，多平台价格对比，找优惠券更省钱。Shop smarter: parse share codes, search products, convert links with coupons, compare prices across JD/Taobao/PDD.\nversion: 1.5.1\n---\n\n# PriceCompare · 购物省钱宝\n\n> 京东/淘宝/拼多多优惠券查询、商品比价、口令解析、链接转链。Cross-platform price comparison, coupon discovery, and deal conversion for JD.com, Taobao, and Pinduoduo.\n\n> 调用入口: `handle_message(message, keyword=None)` — message 用于路由判断，keyword 用于搜索/比价。API: `POST http://op.squirrel2.cn/api/v1/{endpoint}`。数据仅用于本次查询，发送至 op.squirrel2.cn 处理。\n\n## 功能\n\n### 1. 链接转链 `convert_link`\n将商品链接转换为优惠链接。\n```\n触发条件: 用户发送了电商商品链接\n调用签名: convert_link(url: str, platform: str|None = None) -> str\nAPI:      POST /api/v1/convert  body: {\"url\": \"...\", \"platform\": \"jd|taobao|pinduoduo\"}\n\nplatform 可选，服务端自动识别域名:\n  JD: item.jd.com, u.jd.com, 3.cn\n  TB: item.taobao.com, detail.tmall.com, m.tb.cn, e.tb.cn\n  PDD: mobile.yangkeduo.com, p.pinduoduo.com\n```\n\n### 2. 口令解析 `parse_share_content`\n解析用户粘贴的电商分享内容（口令、短链接等）。服务端自动判断是否含有效口令。\n```\n触发条件: 用户发送了疑似分享口令的文本（非纯 URL）\n调用签名: parse_share_content(content: str) -> str\nAPI:      POST /api/v1/parse_share  body: {\"content\": \"<用户原话>\"}\n\n注意: 服务端自动识别口令格式，无需客户端做正则检测。\n      解析失败时返回错误信息，调用方应 fallback 到商品搜索。\n```\n\n### 3. 商品搜索 `search_goods`\n按关键词搜索商品。不指定 platform 时自动走三平台比价。\n```\n触发条件: 用户想搜索/找某类商品\n调用签名: search_goods(keyword: str, platform: str|None = None, page_size: int = 10) -> str\nAPI:      POST /api/v1/search  body: {\"platform\": \"jd|taobao|pinduoduo\", \"keyword\": \"...\", \"page_size\": 10}\n\nplatform 为 None: 自动调用 compare_prices 三平台比价\npage_size 最小值: 10（拼多多限制）\n```\n\n### 4. 多平台比价 `compare_prices`\n同一关键词在京东/淘宝/拼多多三平台同时搜索，返回最低价。\n```\n触发条件: 用户想对比价格、找最便宜的平台\n调用签名: compare_prices(keyword: str) -> str\nAPI:      POST /api/v1/compare  body: {\"keyword\": \"...\"}\n```\n\n## Agent 调用指引\n\n### 调用方式\n```\nhandle_message(user_raw_message, keyword=extracted_product_name)\n```\n\n- **message**: 用户原始输入，用于路由判断（检测 URL）\n- **keyword**: agent 从用户消息中提取的商品关键词，用于搜索/比价。不提供时回退到 message\n\n### 路由决策\n\n| 优先级 | 条件 | 调用 |\n|:---:|------|------|\n| 1 | message 含电商商品 URL | `convert_link(url)` |\n| 2 | 其他文本 | 先 `parse_share_content(message)`，失败则 `search_goods(keyword or message)` |\n\n### Agent 行为规范\n\n1. 从用户消息中提取商品关键词传给 `keyword` 参数（如\"帮我查一下iPhone 16的价格\" → keyword=\"iPhone 16\"）\n2. 用户指定平台时传 `platform` 参数（jd/taobao/pinduoduo）\n3. 展示链接时优先用超链接格式，如前端不支持则输出原始 URL\n4. 函数返回的格式化内容直接呈现，无需重新组织\n\n## 平台代码\n\n| 中文 | 代码 | 主要域名 |\n|------|:---:|------|\n| 京东 | `jd` | item.jd.com, u.jd.com, 3.cn |\n| 淘宝/天猫 | `taobao` | item.taobao.com, detail.tmall.com, m.tb.cn |\n| 拼多多 | `pinduoduo` | mobile.yangkeduo.com, p.pinduoduo.com |\n\n## 响应字段\n\n| 字段 | 类型 | 含义 |\n|------|------|------|\n| title | string | 商品名称 |\n| price | number | 券后价（元） |\n| originalPrice | number | 原价（元） |\n| couponInfo | string | 优惠券描述，如\"满99减30\" |\n| couponAmount | number | 优惠券面值（元） |\n| shopName | string | 店铺名称 |\n| monthSales | string | 月销量 |\n| link | string | 优惠购买链接 |\n| platform | string | 平台代码 |\n\n## 参数速查\n\n| 参数 | 值 |\n|------|-----|\n| 推广链接有效期 | JD 15天 / TB 15天 / PDD 7天 |\n| 口令有效期 | JD 7-15天 / TB 15-30天 |\n| 搜索最小页大小 | 10 |\n\n## 错误处理\n\n- 口令过期/无效 → 告知用户重新获取\n- 商品下架 → 告知不可购买，建议搜索同类\n- 无搜索结果 → 建议放宽关键词\n- parse_share 失败 → 自动 fallback 到商品搜索\n- API 异常 → 提示服务暂时不可用\n\nFile v1.5.1:_meta.json\n\n{\n  \"ownerId\": \"kn76azyt0xxb21dk6bq8qqqn29851gxm\",\n  \"slug\": \"pricecompare\",\n  \"version\": \"1.5.1\",\n  \"publishedAt\": 1782402928740\n}\n\nFile v1.5.1:skill-card.md\n\n## Description: <br>\n购物省钱宝 helps agents parse JD/Taobao/Pinduoduo shopping links and share codes, search coupons, compare product prices, and convert product links into deal links. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[zhangjiun1](https://clawhub.ai/user/zhangjiun1) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal shoppers and shopping-assistant agents use this skill to process JD.com, Taobao, and Pinduoduo product links, share codes, and product queries, then return coupon, converted-link, and price-comparison results. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Review before execution as proposals could introduce incorrect or misleading guidance into skills. <br>\nMitigation: Review and scan skill before deployment. <br>\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/zhangjiun1/skills/pricecompare) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [Text, Markdown] <br>\n**Output Format:** [Markdown-formatted shopping results with product names, prices, coupons, sales data, and links.] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Network queries send shopping links, share codes, and product searches to op.squirrel2.cn; PRICECOMPARE_NO_VERSION_CHECK disables the automatic ClawHub version check.] <br>\n\n## Skill Version(s): <br>\n1.5.1 (source: frontmatter and server release evidence) <br>\n\n## Ethical Considerations: <br>\nUsers 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. <br>\n\nArchive v1.5.0: 7 files, 13448 bytes\n\nFiles: config.py (2846b), formatters.py (10391b), skill-card.md (2156b), SKILL.md (4445b), skill.py (7509b), utils.py (8568b), _meta.json (131b)\n\nFile v1.5.0:SKILL.md\n\n---\nname: 购物省钱宝 - 京东/淘宝/拼多多优惠查询\ndescription: 京东/淘宝/拼多多优惠券查询、商品比价、口令解析、链接转链。JD/Taobao/PDD coupon search, price comparison, share-code parsing, link conversion.\nversion: 1.5.0\n---\n\n# PriceCompare · 购物省钱宝\n\n> 调用入口: `handle_message(message, keyword=None)` — message 用于路由判断，keyword 用于搜索/比价。\n> API: `POST http://op.squirrel2.cn/api/v1/{endpoint}`\n> 隐私: 数据发送至 op.squirrel2.cn 处理，仅用于本次查询。\n\n## 功能\n\n### 1. 链接转链 `convert_link`\n将商品链接转换为优惠链接。\n```\n触发条件: 用户发送了电商商品链接\n调用签名: convert_link(url: str, platform: str|None = None) -> str\nAPI:      POST /api/v1/convert  body: {\"url\": \"...\", \"platform\": \"jd|taobao|pinduoduo\"}\n\nplatform 可选，服务端自动识别域名:\n  JD: item.jd.com, u.jd.com, 3.cn\n  TB: item.taobao.com, detail.tmall.com, m.tb.cn, e.tb.cn\n  PDD: mobile.yangkeduo.com, p.pinduoduo.com\n```\n\n### 2. 口令解析 `parse_share_content`\n解析用户粘贴的电商分享内容（口令、短链接等）。服务端自动判断是否含有效口令。\n```\n触发条件: 用户发送了疑似分享口令的文本（非纯 URL）\n调用签名: parse_share_content(content: str) -> str\nAPI:      POST /api/v1/parse_share  body: {\"content\": \"<用户原话>\"}\n\n注意: 服务端自动识别口令格式，无需客户端做正则检测。\n      解析失败时返回错误信息，调用方应 fallback 到商品搜索。\n```\n\n### 3. 商品搜索 `search_goods`\n按关键词搜索商品。不指定 platform 时自动走三平台比价。\n```\n触发条件: 用户想搜索/找某类商品\n调用签名: search_goods(keyword: str, platform: str|None = None, page_size: int = 10) -> str\nAPI:      POST /api/v1/search  body: {\"platform\": \"jd|taobao|pinduoduo\", \"keyword\": \"...\", \"page_size\": 10}\n\nplatform 为 None: 自动调用 compare_prices 三平台比价\npage_size 最小值: 10（拼多多限制）\n```\n\n### 4. 多平台比价 `compare_prices`\n同一关键词在京东/淘宝/拼多多三平台同时搜索，返回最低价。\n```\n触发条件: 用户想对比价格、找最便宜的平台\n调用签名: compare_prices(keyword: str) -> str\nAPI:      POST /api/v1/compare  body: {\"keyword\": \"...\"}\n```\n\n## Agent 调用指引\n\n### 调用方式\n```\nhandle_message(user_raw_message, keyword=extracted_product_name)\n```\n\n- **message**: 用户原始输入，用于路由判断（检测 URL）\n- **keyword**: agent 从用户消息中提取的商品关键词，用于搜索/比价。不提供时回退到 message\n\n### 路由决策\n\n| 优先级 | 条件 | 调用 |\n|:---:|------|------|\n| 1 | message 含电商商品 URL | `convert_link(url)` |\n| 2 | 其他文本 | 先 `parse_share_content(message)`，失败则 `search_goods(keyword or message)` |\n\n### Agent 行为规范\n\n1. 从用户消息中提取商品关键词传给 `keyword` 参数（如\"帮我查一下iPhone 16的价格\" → keyword=\"iPhone 16\"）\n2. 用户指定平台时传 `platform` 参数（jd/taobao/pinduoduo）\n3. 展示链接时优先用超链接格式，如前端不支持则输出原始 URL\n4. 函数返回的格式化内容直接呈现，无需重新组织\n\n## 平台代码\n\n| 中文 | 代码 | 主要域名 |\n|------|:---:|------|\n| 京东 | `jd` | item.jd.com, u.jd.com, 3.cn |\n| 淘宝/天猫 | `taobao` | item.taobao.com, detail.tmall.com, m.tb.cn |\n| 拼多多 | `pinduoduo` | mobile.yangkeduo.com, p.pinduoduo.com |\n\n## 响应字段\n\n| 字段 | 类型 | 含义 |\n|------|------|------|\n| title | string | 商品名称 |\n| price | number | 券后价（元） |\n| originalPrice | number | 原价（元） |\n| couponInfo | string | 优惠券描述，如\"满99减30\" |\n| couponAmount | number | 优惠券面值（元） |\n| shopName | string | 店铺名称 |\n| monthSales | string | 月销量 |\n| link | string | 优惠购买链接 |\n| platform | string | 平台代码 |\n\n## 参数速查\n\n| 参数 | 值 |\n|------|-----|\n| 推广链接有效期 | JD 15天 / TB 15天 / PDD 7天 |\n| 口令有效期 | JD 7-15天 / TB 15-30天 |\n| 搜索最小页大小 | 10 |\n\n## 错误处理\n\n- 口令过期/无效 → 告知用户重新获取\n- 商品下架 → 告知不可购买，建议搜索同类\n- 无搜索结果 → 建议放宽关键词\n- parse_share 失败 → 自动 fallback 到商品搜索\n- API 异常 → 提示服务暂时不可用\n\nFile v1.5.0:_meta.json\n\n{\n  \"ownerId\": \"kn76azyt0xxb21dk6bq8qqqn29851gxm\",\n  \"slug\": \"pricecompare\",\n  \"version\": \"1.5.0\",\n  \"publishedAt\": 1782401981355\n}\n\nFile v1.5.0:skill-card.md\n\n## Description: <br>\n京东/淘宝/拼多多优惠券查询、商品比价、口令解析、链接转链。JD/Taobao/PDD coupon search, price comparison, share-code parsing, link conversion. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[zhangjiun1](https://clawhub.ai/user/zhangjiun1) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal users and shopping agents use this skill to search JD, Taobao, and Pinduoduo products, compare prices, parse shopping share content, and convert product links into promotional purchase links. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Shopping messages, pasted share content, product links, and search keywords are sent to op.squirrel2.cn for processing. <br>\nMitigation: Use the skill only for shopping-related requests and avoid invoking it in conversations that contain unrelated personal or sensitive details. <br>\nRisk: The skill automatically contacts clawhub.ai for update checks when loaded or used. <br>\nMitigation: Review network access expectations before installation and disable the version check with PRICECOMPARE_NO_VERSION_CHECK when automatic update checks are not acceptable. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/zhangjiun1/skills/pricecompare) <br>\n- [Publisher profile](https://clawhub.ai/user/zhangjiun1) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, guidance] <br>\n**Output Format:** [Markdown-formatted text with product details, coupon information, price comparisons, error guidance, and purchase links] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Returns formatted strings for direct presentation by the agent.] <br>\n\n## Skill Version(s): <br>\n1.5.0 (source: frontmatter and server release evidence) <br>\n\n## Ethical Considerations: <br>\nUsers 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. <br>\n\nArchive v1.4.2: 8 files, 17877 bytes\n\nFiles: config.py (2846b), formatters.py (10391b), README.md (3734b), skill-card.md (2205b), SKILL.md (10733b), skill.py (7978b), utils.py (8568b), _meta.json (131b)\n\nFile v1.4.2:SKILL.md\n\n---\nname: 购物省钱宝 - 淘宝/京东/拼多多优惠查询、产品比价\ndescription: 购物省钱宝，淘宝京东拼多多优惠券查询、商品比价、链接转链省钱助手。支持解析电商分享口令，多平台价格对比，找优惠券更省钱。Shop smarter: parse JD/Taobao/PDD share codes, search products, convert links with coupons, compare prices across platforms. Save money on every purchase.\n---\n\n# 购物省钱宝 - 淘宝/京东/拼多多优惠查询、商品比价、链接转链\n\n> ⚠️ **数据隐私提示**：使用本技能时，您的搜索关键词、商品链接和分享口令将发送至 `op.squirrel2.cn` 进行处理。该服务端为独立部署的私有 API，不会将数据分享给第三方。详情见下方[隐私说明](#隐私说明)。继续使用即表示您已知悉并同意此数据传输。\n\n> 🔍 Shopper's Money-Saving Tool: cross-platform price comparison, coupon discovery, and deal conversion for JD.com, Taobao, and Pinduoduo. 三大电商优惠券查询，帮你找到最便宜的价格。\n\n## 功能概述\n\n智能解析电商平台分享内容，自动识别商品信息并生成优惠链接，支持多平台价格对比，通过优惠券和折扣帮你省钱。\n\n### 核心功能\n\n1. **口令解析** - 自动识别京东/淘宝/拼多多分享口令，一键获取优惠信息\n2. **链接转换** - 将普通商品链接转换为带优惠券的优惠链接，下单更省钱\n3. **商品搜索** - 在京东/淘宝/拼多多搜索商品，找到最低价\n4. **价格对比** - 同一商品多平台比价，选择最优惠平台下单\n\n---\n\n## 使用方法\n\n### 1. 解析分享内容\n\n直接发送电商平台分享的内容，系统会自动识别：\n\n**京东分享**:\n```\n10:/京鲜生 云南石林树熟人参果 净重5斤 单果50g+ 生鲜水果源头直发包邮！XD7sd9CRyRzS9RPu！ CA3576\n14:/！Q5TVsCW8TeESpNr6！ CA3576 ，↦Jīιng◘东领10.0元优惠券！抢购超威电热蚊香液\n```\n\n**淘宝分享**:\n```\n3唐狮DESSO男款阔腿裤休闲百搭显瘦工装裤子直筒【包邮】\n【下单链接】https://m.tb.cn/h.iSxFMDo\n8fu😄質3$S4mw50FTpMq$:// ZH9102,打開/\n```\n\n**拼多多分享**:\n```\n【拼多多】https://p.pinduoduo.com/xxx\n```\n\n### 2. 商品搜索\n\n```\n搜索京东手机\n在淘宝搜索连衣裙\n拼多多搜索零食\n```\n\n### 3. 链接转换\n\n```\nhttps://item.jd.com/10021724657015.html\nhttps://item.taobao.com/item.htm?id=xxx\nhttps://mobile.yangkeduo.com/goods.html?goods_id=xxx\n```\n\n### 4. 价格对比\n\n```\n对比这款手机的价格：https://item.jd.com/xxx.html\n比价 iPhone 16\n```\n\n---\n\n## 支持的口令格式\n\n### 京东口令\n\n| 格式 | 示例 |\n|------|------|\n| 全角感叹号 | `！J3NBw7pFuxTN30jb！` |\n| 半角感叹号 | `!J3NBw7pFuxTN30jb!` |\n| 数字前缀 | `10:/...！CODE！`、`19:/...！CODE！` |\n| 数字前缀+CA后缀 | `10:/商品名 CODE CA3576` |\n| CA后缀 | `...CODE！ CA8680`（空格CA四位数字） |\n\n### 淘宝口令\n\n| 格式 | 示例 |\n|------|------|\n| 美元符号 | `$S4mw50FTpMq$://` |\n| 人民币符号 | `￥O4vSUzIElWE￥://` |\n| 淘口令 | `￥完整淘口令￥` |\n\n### 拼多多口令\n\n| 格式 | 示例 |\n|------|------|\n| 短链接 | `https://p.pinduoduo.com/xxx` |\n\n### 通用识别规则\n\n- **JD数字前缀**: `\\d{2,}:/` 开头（10:/ 17:/ 19:/ 等）\n- **JD CA后缀**: `\\sCA\\d{4}` 结尾\n- **对称符号包裹代码**: `！CODE！`、`!CODE!`（符号间10-30位字母数字，不含中文）\n- **特殊格式**: `$CODE$://`、`￥CODE￥://`\n- **17位混合字符串**: 大小写字母+数字+符号（≥2种类型），自动排除URL\n\n---\n\n## 输出格式\n\n**智能体行为规范：**\n1. 调用 `handle_message(user_input)` 函数获取结果\n2. 优先展示函数返回的格式化内容，保持输出风格一致\n3. 如发现输出中包含可疑链接或违反平台策略的内容，应过滤后再展示\n4. 不建议自行调用API或重新组织输出格式\n\n所有输出必须包含以下必填字段：\n- **商品名称**：商品完整名称\n- **原价**：商品原价（¥XX.XX）\n- **券后价**：使用优惠券后的价格（¥XX.XX）\n- **优惠券**：优惠券信息（如：满100减20）\n- **优惠链接**：优惠购买链接，**必须使用Markdown超链接格式**，格式为 `[点击跳转](链接地址)`，方便用户直接点击跳转\n\n**⚠️ 链接格式要求：所有链接必须使用超链接格式，禁止直接显示原始URL！**\n\n---\n\n## 返回字段说明\n\nAPI 返回的 JSON 数据中，常见字段含义如下：\n\n### 搜索/转链商品字段\n\n| 字段 | 类型 | 说明 |\n|:---|:---|:---|\n| `title` | string | 商品名称 |\n| `shortTitle` | string | 商品短标题 |\n| `shopName` | string | 店铺名称 |\n| `price` | number | 券后价（元），使用优惠券后的实际到手价 |\n| `originalPrice` | number | 原价（元），未使用优惠券的价格 |\n| `couponInfo` | string | 优惠券描述，如\"满99减30\"；无券时为空字符串 |\n| `couponAmount` | number | 优惠券面值（元），无券时为0 |\n| `monthSales` | string/number | 月销量 |\n| `link` | string | 优惠链接（点击可跳转下单） |\n| `platform` | string | 平台代码：jd / taobao / pinduoduo |\n\n### 比价（/compare）额外字段\n\n| 字段 | 类型 | 说明 |\n|:---|:---|:---|\n| `platform` | string | 平台中文名：京东 / 淘宝 / 拼多多 |\n| `platform_code` | string | 平台代码 |\n| `goods_name` | string | 商品名称 |\n| `coupon_info` | string | 优惠券描述（同 couponInfo） |\n| `coupon_amount` | number | 优惠券面值（同 couponAmount） |\n| `tpwd` | string | 淘口令（仅淘宝返回） |\n\n---\n\n### 口令解析输出格式\n\n```\n✅ 商品信息已解析\n\n商品名称：京鲜生 云南石林树熟人参果\n原价：¥39.9\n券后价：¥29.9\n优惠券：满30减10\n优惠链接：[点击跳转](https://u.jd.com/crD8of7)\n\n💡 预计节省：¥10.0\n```\n\n---\n\n### 商品搜索输出格式\n\n```\n🔍 找到 5 个商品：\n\n商品名称：iPhone 16 Pro Max 256GB\n原价：¥8999\n券后价：¥7999\n优惠券：满100减20\n优惠链接：https://item.jd.com/xxx\n\n---\n\n商品名称：华为 Mate 60 Pro\n原价：¥6999\n券后价：¥6499\n优惠券：满50减10\n优惠链接：https://item.jd.com/xxx\n\n---\n\n💡 已为您找到最优惠价格，预计节省 ¥1000\n```\n\n---\n\n### 链接转换输出格式\n\n```\n✅ 优惠链接已生成\n\n商品名称：iPhone 16 Pro Max 256GB\n原价：¥8999\n券后价：¥7999\n优惠券：满100减20\n优惠链接：https://u.jd.com/xxx\n\n💡 使用此链接购买，预计节省 ¥1000\n```\n\n---\n\n### 价格对比输出格式\n\n```\n📊 价格对比结果\n\n【京东】\n商品名称：iPhone 16 Pro Max 256GB\n原价：¥8999\n券后价：¥7999\n优惠券：满100减20\n优惠链接：https://u.jd.com/xxx\n\n---\n\n【淘宝】\n商品名称：iPhone 16 Pro Max 256GB\n原价：¥8899\n券后价：¥7899\n优惠券：满80减15\n优惠链接：https://s.click.taobao.com/xxx\n\n---\n\n【拼多多】\n商品名称：iPhone 16 Pro Max 256GB\n原价：¥8799\n券后价：¥7699\n优惠券：满60减10\n优惠链接：https://p.pinduoduo.com/xxx\n\n---\n\n💡 最优惠推荐：拼多多 券后价 ¥7699，节省 ¥1100\n```\n\n---\n\n## 技术说明\n\n### 服务器API\n\n- **API地址**: `https://op.squirrel2.cn`\n- **API版本**: v1\n- **API前缀**: `/api/v1`\n\n### 核心接口\n\n| 接口 | 方法 | 说明 |\n|------|------|------|\n| `/parse_share` | POST | 解析分享内容 |\n| `/search` | POST | 商品搜索 |\n| `/convert` | POST | 链接转链 |\n| `/compare` | POST | 价格对比 |\n\n---\n\n## 支持的链接格式\n\n### 京东\n- `https://item.jd.com/xxx.html`\n- `https://u.jd.com/xxx`（优惠短链）\n- `https://3.cn/xxx`（极短链接）\n- `https://jingfen.jd.com/detail/xxx.html`（京粉链接）\n\n### 淘宝/天猫\n- `https://item.taobao.com/item.htm?id=xxx`\n- `https://detail.tmall.com/item.htm?id=xxx`\n- `https://m.tb.cn/xxx`（短链接）\n- `https://e.tb.cn/xxx`（短链接）\n- `https://s.click.taobao.com/xxx`\n\n### 拼多多\n- `https://mobile.yangkeduo.com/goods.html?goods_id=xxx`\n- `https://p.pinduoduo.com/xxx`（短链接）\n\n---\n\n## 注意事项\n\n1. **口令有效期**\n   - 京东口令：通常7-15天\n   - 淘宝口令：通常15-30天\n   - 过期后需要重新获取\n\n2. **价格变动**\n   - 商品价格实时变动\n   - 以实际下单价格为准\n\n3. **优惠链接有效期**\n   - 京东：15天\n   - 淘宝：15天\n   - 拼多多：7天\n\n4. **优惠券使用**\n   - 优惠券数量有限，先到先得\n   - 建议尽快使用，避免过期\n\n---\n\n## 错误处理\n\n| 错误信息 | 原因 | 解决方法 |\n|---------|------|---------|\n| 口令解析失败 | 口令已过期或无效 | 重新获取口令 |\n| 无法识别分享内容的平台 | 格式不支持 | 使用支持的链接格式 |\n| 商品已下架 | 商品不可购买 | 搜索其他商品 |\n\n---\n\n## 隐私说明\n\n### 数据传输\n本技能会将您的搜索关键词、商品链接和分享口令发送到第三方服务 `op.squirrel2.cn` 进行处理：\n- 仅传输完成功能所需的最低数据\n- 不会收集或存储您的个人身份信息\n- 不会将数据传输给广告或数据商\n\n### 网络传输\n服务端已启用 HTTPS 加密传输，所有数据通过 SSL/TLS 加密保护。请避免粘贴包含个人账户信息的链接。\n\n### 版本更新检查\n本技能每天最多执行一次版本更新检查，会请求 `clawhub.ai` 公开 API，仅传输技能标识，不包含用户数据。可通过设置环境变量 `PRICECOMPARE_NO_VERSION_CHECK=1` 禁用。\n\n### 数据存储\n搜索日志仅保留最近 30 天内的调用统计数据（接口路径、响应时间、状态码），不存储请求内容。\n\n---\n\n## 更新日志\n\n| 日期 | 版本 | 更新内容 |\n|------|------|---------|\n| 2026-06-15 | 1.4.0 | 三平台统一优惠券字段（couponInfo/couponAmount）；新增API返回字段说明文档；过滤内部字段不暴露客户端 |\n| 2026-06-12 | 1.3.13 | 服务端升级 HTTPS 加密传输，同时保持 HTTP 80 端口服务，向下兼容旧版本 Skill |\n| 2026-06-10 | 1.3.8 | 新增拼多多百亿补贴商品搜索支持；修复PDD数组参数签名 |\n| 2026-06-09 | 1.3.0 | 品牌升级为「购物省钱宝」；双语描述优化SEO；新增关键词覆盖（优惠券/折扣/deals/coupons） |\n| 2026-06-09 | 1.2.1 | 修复拼多多搜索 page_size 最小10限制（DEFAULT_SEARCH_PAGE_SIZE 5→10） |\n| 2026-06-09 | 1.2.0 | 优化京东口令识别（数字前缀/CA后缀/全角感叹号精确匹配）；淘宝搜索改为淘宝联盟API；is_token_format 排除纯URL；config同步服务器端 |\n| 2026-04-08 | 1.0.0 | 初始版本，支持京东/淘宝/拼多多口令解析和价格对比 |\n\nFile v1.4.2:README.md\n\n# 省钱购物助手 Skill\n\n一个用于 OpenClaw 的智能省钱购物助手 Skill，帮助用户找到最优惠的商品价格，通过优惠券和折扣节省购物开支。\n\n## 📋 功能特性\n\n- ✅ **商品搜索** - 支持京东、淘宝、拼多多三大平台\n- ✅ **链接转换** - 自动转换为优惠链接\n- ✅ **口令解析** - 智能识别各平台分享口令\n- ✅ **价格对比** - 多平台价格对比，找到最优惠价格\n- ✅ **智能识别** - 自动识别用户意图和平台\n\n## 🚀 快速开始\n\n### 1. 安装依赖\n\n```bash\npip install requests\n```\n\n### 2. 配置API地址\n\n编辑 `config.py`，设置API地址：\n\n```python\nAPI_BASE_URL = 'http://op.squirrel2.cn'  # 生产环境\n# API_BASE_URL = 'http://localhost:8000'  # 开发环境\n```\n\n### 3. 运行测试\n\n```bash\npython skill.py\n```\n\n## 📖 使用方法\n\n### 商品搜索\n\n```python\nfrom skill import handle_message\n\n# 搜索商品\nresult = handle_message(\"iPhone 16\")\nprint(result)\n\n# 指定平台搜索\nresult = handle_message(\"在京东搜索手机\")\nprint(result)\n```\n\n### 链接转换\n\n```python\n# 转换京东链接\nresult = handle_message(\"https://item.jd.com/10021724657015.html\")\nprint(result)\n```\n\n### 口令解析\n\n```python\n# 解析淘宝分享\nresult = handle_message(\"【淘宝】假一赔四 https://e.tb.cn/h.iVW7Wnbs5Woz1ZI\")\nprint(result)\n```\n\n### 价格对比\n\n```python\n# 价格对比\nresult = handle_message(\"对比 iPhone 16\")\nprint(result)\n```\n\n## 📁 项目结构\n\n```\nskill-openclaw/\n├── SKILL.md                    # Skill 主文件（OpenClaw识别）\n├── skill.py                    # Skill 实现代码\n├── config.py                   # 配置文件\n├── utils.py                    # 工具函数\n├── formatters.py               # 格式化函数\n├── references/                 # 参考文档\n│   ├── api-guide.md           # API 使用指南\n│   ├── user-guide.md          # 用户使用手册\n│   └── troubleshooting.md     # 故障排查指南\n└── tests/                      # 测试文件\n    ├── test_skill.py          # Skill 测试\n    └── test_data.json         # 测试数据\n```\n\n## 🔧 配置说明\n\n### API配置\n\n在 `config.py` 中配置：\n\n```python\nAPI_BASE_URL = 'http://op.squirrel2.cn'  # API地址\nAPI_PREFIX = '/api/v1'                  # API前缀\nAPI_TIMEOUT = 10                        # 超时时间（秒）\n```\n\n### 平台配置\n\n```python\nPLATFORMS = {\n    'jd': {\n        'name': '京东',\n        'keywords': ['京东', 'jd.com', ...],\n        'link_patterns': [...]\n    },\n    'taobao': {\n        'name': '淘宝',\n        'keywords': ['淘宝', '天猫', ...],\n        'link_patterns': [...]\n    },\n    'pinduoduo': {\n        'name': '拼多多',\n        'keywords': ['拼多多', ...],\n        'link_patterns': [...]\n    }\n}\n```\n\n## 📚 文档\n\n- [API使用指南](references/api-guide.md) - API接口详细说明\n- [用户使用手册](references/user-guide.md) - 用户使用指南\n- [故障排查指南](references/troubleshooting.md) - 常见问题解决\n\n## 🧪 测试\n\n运行测试套件：\n\n```bash\npython tests/test_skill.py\n```\n\n## 📝 注意事项\n\n1. **API服务**: 确保 API 服务已启动并可访问\n2. **网络连接**: 确保可以访问 API 地址\n3. **口令有效期**: \n   - 京东口令：7-15天\n   - 淘宝口令：15-30天\n4. **优惠链接有效期**:\n   - 京东：15天\n   - 淘宝：15天\n   - 拼多多：7天\n\n## 🎯 核心价值\n\n帮助用户找到最优惠的价格，通过优惠券和折扣为用户节省购物开支。\n\n## 📄 许可证\n\nMIT License\n\n## 👤 作者\n\nAI Assistant\n\n## 📅 更新日志\n\n- 2026-04-08: v1.0.0 - 初始版本发布\n\nFile v1.4.2:_meta.json\n\n{\n  \"ownerId\": \"kn76azyt0xxb21dk6bq8qqqn29851gxm\",\n  \"slug\": \"pricecompare\",\n  \"version\": \"1.4.2\",\n  \"publishedAt\": 1781715105121\n}\n\nFile v1.4.2:skill-card.md\n\n## Description: <br>\n购物省钱宝 helps agents parse JD.com, Taobao, and Pinduoduo share codes, search products, convert product links into coupon links, and compare prices across platforms. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[zhangjiun1](https://clawhub.ai/user/zhangjiun1) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal shopping users and shopping-assistant agents use this skill to find coupons, compare prices, and generate promotional purchase links for JD.com, Taobao, and Pinduoduo products. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Shopping keywords, product URLs, and platform share codes are sent to op.squirrel2.cn for processing. <br>\nMitigation: Use nonsensitive shopping inputs, avoid account-specific or private links, and install only when this data transfer is acceptable. <br>\nRisk: The skill performs an optional ClawHub version check. <br>\nMitigation: Set PRICECOMPARE_NO_VERSION_CHECK=1 when the optional version check is not desired. <br>\nRisk: Prices, coupons, promotional links, and product availability can change or expire. <br>\nMitigation: Confirm the final merchant price, coupon terms, and destination link before purchase. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/zhangjiun1/pricecompare) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, guidance] <br>\n**Output Format:** [Markdown text with product details, prices, coupon information, estimated savings, and purchase links.] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Outputs may include product names, original prices, coupon-adjusted prices, coupon descriptions, monthly sales, savings estimates, and Markdown links.] <br>\n\n## Skill Version(s): <br>\n1.4.2 (source: server release metadata and artifact config.py) <br>\n\n## Ethical Considerations: <br>\nUsers 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. <br>\n\nArchive v1.4.1: 8 files, 17918 bytes\n\nFiles: config.py (2846b), formatters.py (10391b), README.md (3734b), skill-card.md (2296b), SKILL.md (10733b), skill.py (7978b), utils.py (8568b), _meta.json (131b)\n\nFile v1.4.1:SKILL.md\n\n---\nname: 购物省钱宝 - 淘宝/京东/拼多多优惠查询、产品比价\ndescription: 购物省钱宝，淘宝京东拼多多优惠券查询、商品比价、链接转链省钱助手。支持解析电商分享口令，多平台价格对比，找优惠券更省钱。Shop smarter: parse JD/Taobao/PDD share codes, search products, convert links with coupons, compare prices across platforms. Save money on every purchase.\n---\n\n# 购物省钱宝 - 淘宝/京东/拼多多优惠查询、商品比价、链接转链\n\n> ⚠️ **数据隐私提示**：使用本技能时，您的搜索关键词、商品链接和分享口令将发送至 `op.squirrel2.cn` 进行处理。该服务端为独立部署的私有 API，不会将数据分享给第三方。详情见下方[隐私说明](#隐私说明)。继续使用即表示您已知悉并同意此数据传输。\n\n> 🔍 Shopper's Money-Saving Tool: cross-platform price comparison, coupon discovery, and deal conversion for JD.com, Taobao, and Pinduoduo. 三大电商优惠券查询，帮你找到最便宜的价格。\n\n## 功能概述\n\n智能解析电商平台分享内容，自动识别商品信息并生成优惠链接，支持多平台价格对比，通过优惠券和折扣帮你省钱。\n\n### 核心功能\n\n1. **口令解析** - 自动识别京东/淘宝/拼多多分享口令，一键获取优惠信息\n2. **链接转换** - 将普通商品链接转换为带优惠券的优惠链接，下单更省钱\n3. **商品搜索** - 在京东/淘宝/拼多多搜索商品，找到最低价\n4. **价格对比** - 同一商品多平台比价，选择最优惠平台下单\n\n---\n\n## 使用方法\n\n### 1. 解析分享内容\n\n直接发送电商平台分享的内容，系统会自动识别：\n\n**京东分享**:\n```\n10:/京鲜生 云南石林树熟人参果 净重5斤 单果50g+ 生鲜水果源头直发包邮！XD7sd9CRyRzS9RPu！ CA3576\n14:/！Q5TVsCW8TeESpNr6！ CA3576 ，↦Jīιng◘东领10.0元优惠券！抢购超威电热蚊香液\n```\n\n**淘宝分享**:\n```\n3唐狮DESSO男款阔腿裤休闲百搭显瘦工装裤子直筒【包邮】\n【下单链接】https://m.tb.cn/h.iSxFMDo\n8fu😄質3$S4mw50FTpMq$:// ZH9102,打開/\n```\n\n**拼多多分享**:\n```\n【拼多多】https://p.pinduoduo.com/xxx\n```\n\n### 2. 商品搜索\n\n```\n搜索京东手机\n在淘宝搜索连衣裙\n拼多多搜索零食\n```\n\n### 3. 链接转换\n\n```\nhttps://item.jd.com/10021724657015.html\nhttps://item.taobao.com/item.htm?id=xxx\nhttps://mobile.yangkeduo.com/goods.html?goods_id=xxx\n```\n\n### 4. 价格对比\n\n```\n对比这款手机的价格：https://item.jd.com/xxx.html\n比价 iPhone 16\n```\n\n---\n\n## 支持的口令格式\n\n### 京东口令\n\n| 格式 | 示例 |\n|------|------|\n| 全角感叹号 | `！J3NBw7pFuxTN30jb！` |\n| 半角感叹号 | `!J3NBw7pFuxTN30jb!` |\n| 数字前缀 | `10:/...！CODE！`、`19:/...！CODE！` |\n| 数字前缀+CA后缀 | `10:/商品名 CODE CA3576` |\n| CA后缀 | `...CODE！ CA8680`（空格CA四位数字） |\n\n### 淘宝口令\n\n| 格式 | 示例 |\n|------|------|\n| 美元符号 | `$S4mw50FTpMq$://` |\n| 人民币符号 | `￥O4vSUzIElWE￥://` |\n| 淘口令 | `￥完整淘口令￥` |\n\n### 拼多多口令\n\n| 格式 | 示例 |\n|------|------|\n| 短链接 | `https://p.pinduoduo.com/xxx` |\n\n### 通用识别规则\n\n- **JD数字前缀**: `\\d{2,}:/` 开头（10:/ 17:/ 19:/ 等）\n- **JD CA后缀**: `\\sCA\\d{4}` 结尾\n- **对称符号包裹代码**: `！CODE！`、`!CODE!`（符号间10-30位字母数字，不含中文）\n- **特殊格式**: `$CODE$://`、`￥CODE￥://`\n- **17位混合字符串**: 大小写字母+数字+符号（≥2种类型），自动排除URL\n\n---\n\n## 输出格式\n\n**智能体行为规范：**\n1. 调用 `handle_message(user_input)` 函数获取结果\n2. 优先展示函数返回的格式化内容，保持输出风格一致\n3. 如发现输出中包含可疑链接或违反平台策略的内容，应过滤后再展示\n4. 不建议自行调用API或重新组织输出格式\n\n所有输出必须包含以下必填字段：\n- **商品名称**：商品完整名称\n- **原价**：商品原价（¥XX.XX）\n- **券后价**：使用优惠券后的价格（¥XX.XX）\n- **优惠券**：优惠券信息（如：满100减20）\n- **优惠链接**：优惠购买链接，**必须使用Markdown超链接格式**，格式为 `[点击跳转](链接地址)`，方便用户直接点击跳转\n\n**⚠️ 链接格式要求：所有链接必须使用超链接格式，禁止直接显示原始URL！**\n\n---\n\n## 返回字段说明\n\nAPI 返回的 JSON 数据中，常见字段含义如下：\n\n### 搜索/转链商品字段\n\n| 字段 | 类型 | 说明 |\n|:---|:---|:---|\n| `title` | string | 商品名称 |\n| `shortTitle` | string | 商品短标题 |\n| `shopName` | string | 店铺名称 |\n| `price` | number | 券后价（元），使用优惠券后的实际到手价 |\n| `originalPrice` | number | 原价（元），未使用优惠券的价格 |\n| `couponInfo` | string | 优惠券描述，如\"满99减30\"；无券时为空字符串 |\n| `couponAmount` | number | 优惠券面值（元），无券时为0 |\n| `monthSales` | string/number | 月销量 |\n| `link` | string | 优惠链接（点击可跳转下单） |\n| `platform` | string | 平台代码：jd / taobao / pinduoduo |\n\n### 比价（/compare）额外字段\n\n| 字段 | 类型 | 说明 |\n|:---|:---|:---|\n| `platform` | string | 平台中文名：京东 / 淘宝 / 拼多多 |\n| `platform_code` | string | 平台代码 |\n| `goods_name` | string | 商品名称 |\n| `coupon_info` | string | 优惠券描述（同 couponInfo） |\n| `coupon_amount` | number | 优惠券面值（同 couponAmount） |\n| `tpwd` | string | 淘口令（仅淘宝返回） |\n\n---\n\n### 口令解析输出格式\n\n```\n✅ 商品信息已解析\n\n商品名称：京鲜生 云南石林树熟人参果\n原价：¥39.9\n券后价：¥29.9\n优惠券：满30减10\n优惠链接：[点击跳转](https://u.jd.com/crD8of7)\n\n💡 预计节省：¥10.0\n```\n\n---\n\n### 商品搜索输出格式\n\n```\n🔍 找到 5 个商品：\n\n商品名称：iPhone 16 Pro Max 256GB\n原价：¥8999\n券后价：¥7999\n优惠券：满100减20\n优惠链接：https://item.jd.com/xxx\n\n---\n\n商品名称：华为 Mate 60 Pro\n原价：¥6999\n券后价：¥6499\n优惠券：满50减10\n优惠链接：https://item.jd.com/xxx\n\n---\n\n💡 已为您找到最优惠价格，预计节省 ¥1000\n```\n\n---\n\n### 链接转换输出格式\n\n```\n✅ 优惠链接已生成\n\n商品名称：iPhone 16 Pro Max 256GB\n原价：¥8999\n券后价：¥7999\n优惠券：满100减20\n优惠链接：https://u.jd.com/xxx\n\n💡 使用此链接购买，预计节省 ¥1000\n```\n\n---\n\n### 价格对比输出格式\n\n```\n📊 价格对比结果\n\n【京东】\n商品名称：iPhone 16 Pro Max 256GB\n原价：¥8999\n券后价：¥7999\n优惠券：满100减20\n优惠链接：https://u.jd.com/xxx\n\n---\n\n【淘宝】\n商品名称：iPhone 16 Pro Max 256GB\n原价：¥8899\n券后价：¥7899\n优惠券：满80减15\n优惠链接：https://s.click.taobao.com/xxx\n\n---\n\n【拼多多】\n商品名称：iPhone 16 Pro Max 256GB\n原价：¥8799\n券后价：¥7699\n优惠券：满60减10\n优惠链接：https://p.pinduoduo.com/xxx\n\n---\n\n💡 最优惠推荐：拼多多 券后价 ¥7699，节省 ¥1100\n```\n\n---\n\n## 技术说明\n\n### 服务器API\n\n- **API地址**: `https://op.squirrel2.cn`\n- **API版本**: v1\n- **API前缀**: `/api/v1`\n\n### 核心接口\n\n| 接口 | 方法 | 说明 |\n|------|------|------|\n| `/parse_share` | POST | 解析分享内容 |\n| `/search` | POST | 商品搜索 |\n| `/convert` | POST | 链接转链 |\n| `/compare` | POST | 价格对比 |\n\n---\n\n## 支持的链接格式\n\n### 京东\n- `https://item.jd.com/xxx.html`\n- `https://u.jd.com/xxx`（优惠短链）\n- `https://3.cn/xxx`（极短链接）\n- `https://jingfen.jd.com/detail/xxx.html`（京粉链接）\n\n### 淘宝/天猫\n- `https://item.taobao.com/item.htm?id=xxx`\n- `https://detail.tmall.com/item.htm?id=xxx`\n- `https://m.tb.cn/xxx`（短链接）\n- `https://e.tb.cn/xxx`（短链接）\n- `https://s.click.taobao.com/xxx`\n\n### 拼多多\n- `https://mobile.yangkeduo.com/goods.html?goods_id=xxx`\n- `https://p.pinduoduo.com/xxx`（短链接）\n\n---\n\n## 注意事项\n\n1. **口令有效期**\n   - 京东口令：通常7-15天\n   - 淘宝口令：通常15-30天\n   - 过期后需要重新获取\n\n2. **价格变动**\n   - 商品价格实时变动\n   - 以实际下单价格为准\n\n3. **优惠链接有效期**\n   - 京东：15天\n   - 淘宝：15天\n   - 拼多多：7天\n\n4. **优惠券使用**\n   - 优惠券数量有限，先到先得\n   - 建议尽快使用，避免过期\n\n---\n\n## 错误处理\n\n| 错误信息 | 原因 | 解决方法 |\n|---------|------|---------|\n| 口令解析失败 | 口令已过期或无效 | 重新获取口令 |\n| 无法识别分享内容的平台 | 格式不支持 | 使用支持的链接格式 |\n| 商品已下架 | 商品不可购买 | 搜索其他商品 |\n\n---\n\n## 隐私说明\n\n### 数据传输\n本技能会将您的搜索关键词、商品链接和分享口令发送到第三方服务 `op.squirrel2.cn` 进行处理：\n- 仅传输完成功能所需的最低数据\n- 不会收集或存储您的个人身份信息\n- 不会将数据传输给广告或数据商\n\n### 网络传输\n服务端已启用 HTTPS 加密传输，所有数据通过 SSL/TLS 加密保护。请避免粘贴包含个人账户信息的链接。\n\n### 版本更新检查\n本技能每天最多执行一次版本更新检查，会请求 `clawhub.ai` 公开 API，仅传输技能标识，不包含用户数据。可通过设置环境变量 `PRICECOMPARE_NO_VERSION_CHECK=1` 禁用。\n\n### 数据存储\n搜索日志仅保留最近 30 天内的调用统计数据（接口路径、响应时间、状态码），不存储请求内容。\n\n---\n\n## 更新日志\n\n| 日期 | 版本 | 更新内容 |\n|------|------|---------|\n| 2026-06-15 | 1.4.0 | 三平台统一优惠券字段（couponInfo/couponAmount）；新增API返回字段说明文档；过滤内部字段不暴露客户端 |\n| 2026-06-12 | 1.3.13 | 服务端升级 HTTPS 加密传输，同时保持 HTTP 80 端口服务，向下兼容旧版本 Skill |\n| 2026-06-10 | 1.3.8 | 新增拼多多百亿补贴商品搜索支持；修复PDD数组参数签名 |\n| 2026-06-09 | 1.3.0 | 品牌升级为「购物省钱宝」；双语描述优化SEO；新增关键词覆盖（优惠券/折扣/deals/coupons） |\n| 2026-06-09 | 1.2.1 | 修复拼多多搜索 page_size 最小10限制（DEFAULT_SEARCH_PAGE_SIZE 5→10） |\n| 2026-06-09 | 1.2.0 | 优化京东口令识别（数字前缀/CA后缀/全角感叹号精确匹配）；淘宝搜索改为淘宝联盟API；is_token_format 排除纯URL；config同步服务器端 |\n| 2026-04-08 | 1.0.0 | 初始版本，支持京东/淘宝/拼多多口令解析和价格对比 |\n\nFile v1.4.1:README.md\n\n# 省钱购物助手 Skill\n\n一个用于 OpenClaw 的智能省钱购物助手 Skill，帮助用户找到最优惠的商品价格，通过优惠券和折扣节省购物开支。\n\n## 📋 功能特性\n\n- ✅ **商品搜索** - 支持京东、淘宝、拼多多三大平台\n- ✅ **链接转换** - 自动转换为优惠链接\n- ✅ **口令解析** - 智能识别各平台分享口令\n- ✅ **价格对比** - 多平台价格对比，找到最优惠价格\n- ✅ **智能识别** - 自动识别用户意图和平台\n\n## 🚀 快速开始\n\n### 1. 安装依赖\n\n```bash\npip install requests\n```\n\n### 2. 配置API地址\n\n编辑 `config.py`，设置API地址：\n\n```python\nAPI_BASE_URL = 'http://op.squirrel2.cn'  # 生产环境\n# API_BASE_URL = 'http://localhost:8000'  # 开发环境\n```\n\n### 3. 运行测试\n\n```bash\npython skill.py\n```\n\n## 📖 使用方法\n\n### 商品搜索\n\n```python\nfrom skill import handle_message\n\n# 搜索商品\nresult = handle_message(\"iPhone 16\")\nprint(result)\n\n# 指定平台搜索\nresult = handle_message(\"在京东搜索手机\")\nprint(result)\n```\n\n### 链接转换\n\n```python\n# 转换京东链接\nresult = handle_message(\"https://item.jd.com/10021724657015.html\")\nprint(result)\n```\n\n### 口令解析\n\n```python\n# 解析淘宝分享\nresult = handle_message(\"【淘宝】假一赔四 https://e.tb.cn/h.iVW7Wnbs5Woz1ZI\")\nprint(result)\n```\n\n### 价格对比\n\n```python\n# 价格对比\nresult = handle_message(\"对比 iPhone 16\")\nprint(result)\n```\n\n## 📁 项目结构\n\n```\nskill-openclaw/\n├── SKILL.md                    # Skill 主文件（OpenClaw识别）\n├── skill.py                    # Skill 实现代码\n├── config.py                   # 配置文件\n├── utils.py                    # 工具函数\n├── formatters.py               # 格式化函数\n├── references/                 # 参考文档\n│   ├── api-guide.md           # API 使用指南\n│   ├── user-guide.md          # 用户使用手册\n│   └── troubleshooting.md     # 故障排查指南\n└── tests/                      # 测试文件\n    ├── test_skill.py          # Skill 测试\n    └── test_data.json         # 测试数据\n```\n\n## 🔧 配置说明\n\n### API配置\n\n在 `config.py` 中配置：\n\n```python\nAPI_BASE_URL = 'http://op.squirrel2.cn'  # API地址\nAPI_PREFIX = '/api/v1'                  # API前缀\nAPI_TIMEOUT = 10                        # 超时时间（秒）\n```\n\n### 平台配置\n\n```python\nPLATFORMS = {\n    'jd': {\n        'name': '京东',\n        'keywords': ['京东', 'jd.com', ...],\n        'link_patterns': [...]\n    },\n    'taobao': {\n        'name': '淘宝',\n        'keywords': ['淘宝', '天猫', ...],\n        'link_patterns': [...]\n    },\n    'pinduoduo': {\n        'name': '拼多多',\n        'keywords': ['拼多多', ...],\n        'link_patterns': [...]\n    }\n}\n```\n\n## 📚 文档\n\n- [API使用指南](references/api-guide.md) - API接口详细说明\n- [用户使用手册](references/user-guide.md) - 用户使用指南\n- [故障排查指南](references/troubleshooting.md) - 常见问题解决\n\n## 🧪 测试\n\n运行测试套件：\n\n```bash\npython tests/test_skill.py\n```\n\n## 📝 注意事项\n\n1. **API服务**: 确保 API 服务已启动并可访问\n2. **网络连接**: 确保可以访问 API 地址\n3. **口令有效期**: \n   - 京东口令：7-15天\n   - 淘宝口令：15-30天\n4. **优惠链接有效期**:\n   - 京东：15天\n   - 淘宝：15天\n   - 拼多多：7天\n\n## 🎯 核心价值\n\n帮助用户找到最优惠的价格，通过优惠券和折扣为用户节省购物开支。\n\n## 📄 许可证\n\nMIT License\n\n## 👤 作者\n\nAI Assistant\n\n## 📅 更新日志\n\n- 2026-04-08: v1.0.0 - 初始版本发布\n\nFile v1.4.1:_meta.json\n\n{\n  \"ownerId\": \"kn76azyt0xxb21dk6bq8qqqn29851gxm\",\n  \"slug\": \"pricecompare\",\n  \"version\": \"1.4.1\",\n  \"publishedAt\": 1781715077131\n}\n\nFile v1.4.1:skill-card.md\n\n## Description: <br>\n购物省钱宝 helps agents parse JD.com, Taobao, and Pinduoduo share codes or product links, search products, compare prices, and return coupon-aware shopping links. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[zhangjiun1](https://clawhub.ai/user/zhangjiun1) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal shoppers and shopping-assistant agents use this skill to search JD.com, Taobao, and Pinduoduo, convert product links into coupon links, parse shared shopping codes, and compare prices across platforms. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Shopping searches, product links, and share codes are sent to op.squirrel2.cn for processing. <br>\nMitigation: Install only if that data transfer is acceptable, and avoid pasting links or share codes that include account-specific or personal information. <br>\nRisk: The skill performs a daily ClawHub version-check request by default. <br>\nMitigation: Set PRICECOMPARE_NO_VERSION_CHECK=1 when the extra update-check request is not desired. <br>\nRisk: Prices, coupons, and promotion links can expire or change after the skill returns results. <br>\nMitigation: Verify the final price, coupon terms, and destination link on the shopping platform before purchase. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill listing](https://clawhub.ai/zhangjiun1/pricecompare) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, API calls, guidance] <br>\n**Output Format:** [Markdown-formatted text with product names, original prices, coupon-adjusted prices, coupon details, savings guidance, and clickable shopping links.] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Outputs depend on live third-party shopping APIs and may change as prices, coupons, product availability, and share-code validity change.] <br>\n\n## Skill Version(s): <br>\n1.4.1 (source: server release evidence) <br>\n\n## Ethical Considerations: <br>\nUsers 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. <br>\n\nArchive v1.4.0: 8 files, 17806 bytes\n\nFiles: config.py (2846b), formatters.py (10391b), README.md (3734b), skill-card.md (2364b), SKILL.md (10733b), skill.py (7770b), utils.py (8568b), _meta.json (131b)\n\nFile v1.4.0:SKILL.md\n\n---\nname: 购物省钱宝 - 淘宝/京东/拼多多优惠查询、产品比价\ndescription: 购物省钱宝，淘宝京东拼多多优惠券查询、商品比价、链接转链省钱助手。支持解析电商分享口令，多平台价格对比，找优惠券更省钱。Shop smarter: parse JD/Taobao/PDD share codes, search products, convert links with coupons, compare prices across platforms. Save money on every purchase.\n---\n\n# 购物省钱宝 - 淘宝/京东/拼多多优惠查询、商品比价、链接转链\n\n> ⚠️ **数据隐私提示**：使用本技能时，您的搜索关键词、商品链接和分享口令将发送至 `op.squirrel2.cn` 进行处理。该服务端为独立部署的私有 API，不会将数据分享给第三方。详情见下方[隐私说明](#隐私说明)。继续使用即表示您已知悉并同意此数据传输。\n\n> 🔍 Shopper's Money-Saving Tool: cross-platform price comparison, coupon discovery, and deal conversion for JD.com, Taobao, and Pinduoduo. 三大电商优惠券查询，帮你找到最便宜的价格。\n\n## 功能概述\n\n智能解析电商平台分享内容，自动识别商品信息并生成优惠链接，支持多平台价格对比，通过优惠券和折扣帮你省钱。\n\n### 核心功能\n\n1. **口令解析** - 自动识别京东/淘宝/拼多多分享口令，一键获取优惠信息\n2. **链接转换** - 将普通商品链接转换为带优惠券的优惠链接，下单更省钱\n3. **商品搜索** - 在京东/淘宝/拼多多搜索商品，找到最低价\n4. **价格对比** - 同一商品多平台比价，选择最优惠平台下单\n\n---\n\n## 使用方法\n\n### 1. 解析分享内容\n\n直接发送电商平台分享的内容，系统会自动识别：\n\n**京东分享**:\n```\n10:/京鲜生 云南石林树熟人参果 净重5斤 单果50g+ 生鲜水果源头直发包邮！XD7sd9CRyRzS9RPu！ CA3576\n14:/！Q5TVsCW8TeESpNr6！ CA3576 ，↦Jīιng◘东领10.0元优惠券！抢购超威电热蚊香液\n```\n\n**淘宝分享**:\n```\n3唐狮DESSO男款阔腿裤休闲百搭显瘦工装裤子直筒【包邮】\n【下单链接】https://m.tb.cn/h.iSxFMDo\n8fu😄質3$S4mw50FTpMq$:// ZH9102,打開/\n```\n\n**拼多多分享**:\n```\n【拼多多】https://p.pinduoduo.com/xxx\n```\n\n### 2. 商品搜索\n\n```\n搜索京东手机\n在淘宝搜索连衣裙\n拼多多搜索零食\n```\n\n### 3. 链接转换\n\n```\nhttps://item.jd.com/10021724657015.html\nhttps://item.taobao.com/item.htm?id=xxx\nhttps://mobile.yangkeduo.com/goods.html?goods_id=xxx\n```\n\n### 4. 价格对比\n\n```\n对比这款手机的价格：https://item.jd.com/xxx.html\n比价 iPhone 16\n```\n\n---\n\n## 支持的口令格式\n\n### 京东口令\n\n| 格式 | 示例 |\n|------|------|\n| 全角感叹号 | `！J3NBw7pFuxTN30jb！` |\n| 半角感叹号 | `!J3NBw7pFuxTN30jb!` |\n| 数字前缀 | `10:/...！CODE！`、`19:/...！CODE！` |\n| 数字前缀+CA后缀 | `10:/商品名 CODE CA3576` |\n| CA后缀 | `...CODE！ CA8680`（空格CA四位数字） |\n\n### 淘宝口令\n\n| 格式 | 示例 |\n|------|------|\n| 美元符号 | `$S4mw50FTpMq$://` |\n| 人民币符号 | `￥O4vSUzIElWE￥://` |\n| 淘口令 | `￥完整淘口令￥` |\n\n### 拼多多口令\n\n| 格式 | 示例 |\n|------|------|\n| 短链接 | `https://p.pinduoduo.com/xxx` |\n\n### 通用识别规则\n\n- **JD数字前缀**: `\\d{2,}:/` 开头（10:/ 17:/ 19:/ 等）\n- **JD CA后缀**: `\\sCA\\d{4}` 结尾\n- **对称符号包裹代码**: `！CODE！`、`!CODE!`（符号间10-30位字母数字，不含中文）\n- **特殊格式**: `$CODE$://`、`￥CODE￥://`\n- **17位混合字符串**: 大小写字母+数字+符号（≥2种类型），自动排除URL\n\n---\n\n## 输出格式\n\n**智能体行为规范：**\n1. 调用 `handle_message(user_input)` 函数获取结果\n2. 优先展示函数返回的格式化内容，保持输出风格一致\n3. 如发现输出中包含可疑链接或违反平台策略的内容，应过滤后再展示\n4. 不建议自行调用API或重新组织输出格式\n\n所有输出必须包含以下必填字段：\n- **商品名称**：商品完整名称\n- **原价**：商品原价（¥XX.XX）\n- **券后价**：使用优惠券后的价格（¥XX.XX）\n- **优惠券**：优惠券信息（如：满100减20）\n- **优惠链接**：优惠购买链接，**必须使用Markdown超链接格式**，格式为 `[点击跳转](链接地址)`，方便用户直接点击跳转\n\n**⚠️ 链接格式要求：所有链接必须使用超链接格式，禁止直接显示原始URL！**\n\n---\n\n## 返回字段说明\n\nAPI 返回的 JSON 数据中，常见字段含义如下：\n\n### 搜索/转链商品字段\n\n| 字段 | 类型 | 说明 |\n|:---|:---|:---|\n| `title` | string | 商品名称 |\n| `shortTitle` | string | 商品短标题 |\n| `shopName` | string | 店铺名称 |\n| `price` | number | 券后价（元），使用优惠券后的实际到手价 |\n| `originalPrice` | number | 原价（元），未使用优惠券的价格 |\n| `couponInfo` | string | 优惠券描述，如\"满99减30\"；无券时为空字符串 |\n| `couponAmount` | number | 优惠券面值（元），无券时为0 |\n| `monthSales` | string/number | 月销量 |\n| `link` | string | 优惠链接（点击可跳转下单） |\n| `platform` | string | 平台代码：jd / taobao / pinduoduo |\n\n### 比价（/compare）额外字段\n\n| 字段 | 类型 | 说明 |\n|:---|:---|:---|\n| `platform` | string | 平台中文名：京东 / 淘宝 / 拼多多 |\n| `platform_code` | string | 平台代码 |\n| `goods_name` | string | 商品名称 |\n| `coupon_info` | string | 优惠券描述（同 couponInfo） |\n| `coupon_amount` | number | 优惠券面值（同 couponAmount） |\n| `tpwd` | string | 淘口令（仅淘宝返回） |\n\n---\n\n### 口令解析输出格式\n\n```\n✅ 商品信息已解析\n\n商品名称：京鲜生 云南石林树熟人参果\n原价：¥39.9\n券后价：¥29.9\n优惠券：满30减10\n优惠链接：[点击跳转](https://u.jd.com/crD8of7)\n\n💡 预计节省：¥10.0\n```\n\n---\n\n### 商品搜索输出格式\n\n```\n🔍 找到 5 个商品：\n\n商品名称：iPhone 16 Pro Max 256GB\n原价：¥8999\n券后价：¥7999\n优惠券：满100减20\n优惠链接：https://item.jd.com/xxx\n\n---\n\n商品名称：华为 Mate 60 Pro\n原价：¥6999\n券后价：¥6499\n优惠券：满50减10\n优惠链接：https://item.jd.com/xxx\n\n---\n\n💡 已为您找到最优惠价格，预计节省 ¥1000\n```\n\n---\n\n### 链接转换输出格式\n\n```\n✅ 优惠链接已生成\n\n商品名称：iPhone 16 Pro Max 256GB\n原价：¥8999\n券后价：¥7999\n优惠券：满100减20\n优惠链接：https://u.jd.com/xxx\n\n💡 使用此链接购买，预计节省 ¥1000\n```\n\n---\n\n### 价格对比输出格式\n\n```\n📊 价格对比结果\n\n【京东】\n商品名称：iPhone 16 Pro Max 256GB\n原价：¥8999\n券后价：¥7999\n优惠券：满100减20\n优惠链接：https://u.jd.com/xxx\n\n---\n\n【淘宝】\n商品名称：iPhone 16 Pro Max 256GB\n原价：¥8899\n券后价：¥7899\n优惠券：满80减15\n优惠链接：https://s.click.taobao.com/xxx\n\n---\n\n【拼多多】\n商品名称：iPhone 16 Pro Max 256GB\n原价：¥8799\n券后价：¥7699\n优惠券：满60减10\n优惠链接：https://p.pinduoduo.com/xxx\n\n---\n\n💡 最优惠推荐：拼多多 券后价 ¥7699，节省 ¥1100\n```\n\n---\n\n## 技术说明\n\n### 服务器API\n\n- **API地址**: `https://op.squirrel2.cn`\n- **API版本**: v1\n- **API前缀**: `/api/v1`\n\n### 核心接口\n\n| 接口 | 方法 | 说明 |\n|------|------|------|\n| `/parse_share` | POST | 解析分享内容 |\n| `/search` | POST | 商品搜索 |\n| `/convert` | POST | 链接转链 |\n| `/compare` | POST | 价格对比 |\n\n---\n\n## 支持的链接格式\n\n### 京东\n- `https://item.jd.com/xxx.html`\n- `https://u.jd.com/xxx`（优惠短链）\n- `https://3.cn/xxx`（极短链接）\n- `https://jingfen.jd.com/detail/xxx.html`（京粉链接）\n\n### 淘宝/天猫\n- `https://item.taobao.com/item.htm?id=xxx`\n- `https://detail.tmall.com/item.htm?id=xxx`\n- `https://m.tb.cn/xxx`（短链接）\n- `https://e.tb.cn/xxx`（短链接）\n- `https://s.click.taobao.com/xxx`\n\n### 拼多多\n- `https://mobile.yangkeduo.com/goods.html?goods_id=xxx`\n- `https://p.pinduoduo.com/xxx`（短链接）\n\n---\n\n## 注意事项\n\n1. **口令有效期**\n   - 京东口令：通常7-15天\n   - 淘宝口令：通常15-30天\n   - 过期后需要重新获取\n\n2. **价格变动**\n   - 商品价格实时变动\n   - 以实际下单价格为准\n\n3. **优惠链接有效期**\n   - 京东：15天\n   - 淘宝：15天\n   - 拼多多：7天\n\n4. **优惠券使用**\n   - 优惠券数量有限，先到先得\n   - 建议尽快使用，避免过期\n\n---\n\n## 错误处理\n\n| 错误信息 | 原因 | 解决方法 |\n|---------|------|---------|\n| 口令解析失败 | 口令已过期或无效 | 重新获取口令 |\n| 无法识别分享内容的平台 | 格式不支持 | 使用支持的链接格式 |\n| 商品已下架 | 商品不可购买 | 搜索其他商品 |\n\n---\n\n## 隐私说明\n\n### 数据传输\n本技能会将您的搜索关键词、商品链接和分享口令发送到第三方服务 `op.squirrel2.cn` 进行处理：\n- 仅传输完成功能所需的最低数据\n- 不会收集或存储您的个人身份信息\n- 不会将数据传输给广告或数据商\n\n### 网络传输\n服务端已启用 HTTPS 加密传输，所有数据通过 SSL/TLS 加密保护。请避免粘贴包含个人账户信息的链接。\n\n### 版本更新检查\n本技能每天最多执行一次版本更新检查，会请求 `clawhub.ai` 公开 API，仅传输技能标识，不包含用户数据。可通过设置环境变量 `PRICECOMPARE_NO_VERSION_CHECK=1` 禁用。\n\n### 数据存储\n搜索日志仅保留最近 30 天内的调用统计数据（接口路径、响应时间、状态码），不存储请求内容。\n\n---\n\n## 更新日志\n\n| 日期 | 版本 | 更新内容 |\n|------|------|---------|\n| 2026-06-15 | 1.4.0 | 三平台统一优惠券字段（couponInfo/couponAmount）；新增API返回字段说明文档；过滤内部字段不暴露客户端 |\n| 2026-06-12 | 1.3.13 | 服务端升级 HTTPS 加密传输，同时保持 HTTP 80 端口服务，向下兼容旧版本 Skill |\n| 2026-06-10 | 1.3.8 | 新增拼多多百亿补贴商品搜索支持；修复PDD数组参数签名 |\n| 2026-06-09 | 1.3.0 | 品牌升级为「购物省钱宝」；双语描述优化SEO；新增关键词覆盖（优惠券/折扣/deals/coupons） |\n| 2026-06-09 | 1.2.1 | 修复拼多多搜索 page_size 最小10限制（DEFAULT_SEARCH_PAGE_SIZE 5→10） |\n| 2026-06-09 | 1.2.0 | 优化京东口令识别（数字前缀/CA后缀/全角感叹号精确匹配）；淘宝搜索改为淘宝联盟API；is_token_format 排除纯URL；config同步服务器端 |\n| 2026-04-08 | 1.0.0 | 初始版本，支持京东/淘宝/拼多多口令解析和价格对比 |\n\nFile v1.4.0:README.md\n\n# 省钱购物助手 Skill\n\n一个用于 OpenClaw 的智能省钱购物助手 Skill，帮助用户找到最优惠的商品价格，通过优惠券和折扣节省购物开支。\n\n## 📋 功能特性\n\n- ✅ **商品搜索** - 支持京东、淘宝、拼多多三大平台\n- ✅ **链接转换** - 自动转换为优惠链接\n- ✅ **口令解析** - 智能识别各平台分享口令\n- ✅ **价格对比** - 多平台价格对比，找到最优惠价格\n- ✅ **智能识别** - 自动识别用户意图和平台\n\n## 🚀 快速开始\n\n### 1. 安装依赖\n\n```bash\npip install requests\n```\n\n### 2. 配置API地址\n\n编辑 `config.py`，设置API地址：\n\n```python\nAPI_BASE_URL = 'http://op.squirrel2.cn'  # 生产环境\n# API_BASE_URL = 'http://localhost:8000'  # 开发环境\n```\n\n### 3. 运行测试\n\n```bash\npython skill.py\n```\n\n## 📖 使用方法\n\n### 商品搜索\n\n```python\nfrom skill import handle_message\n\n# 搜索商品\nresult = handle_message(\"iPhone 16\")\nprint(result)\n\n# 指定平台搜索\nresult = handle_message(\"在京东搜索手机\")\nprint(result)\n```\n\n### 链接转换\n\n```python\n# 转换京东链接\nresult = handle_message(\"https://item.jd.com/10021724657015.html\")\nprint(result)\n```\n\n### 口令解析\n\n```python\n# 解析淘宝分享\nresult = handle_message(\"【淘宝】假一赔四 https://e.tb.cn/h.iVW7Wnbs5Woz1ZI\")\nprint(result)\n```\n\n### 价格对比\n\n```python\n# 价格对比\nresult = handle_message(\"对比 iPhone 16\")\nprint(result)\n```\n\n## 📁 项目结构\n\n```\nskill-openclaw/\n├── SKILL.md                    # Skill 主文件（OpenClaw识别）\n├── skill.py                    # Skill 实现代码\n├── config.py                   # 配置文件\n├── utils.py                    # 工具函数\n├── formatters.py               # 格式化函数\n├── references/                 # 参考文档\n│   ├── api-guide.md           # API 使用指南\n│   ├── user-guide.md          # 用户使用手册\n│   └── troubleshooting.md     # 故障排查指南\n└── tests/                      # 测试文件\n    ├── test_skill.py          # Skill 测试\n    └── test_data.json         # 测试数据\n```\n\n## 🔧 配置说明\n\n### API配置\n\n在 `config.py` 中配置：\n\n```python\nAPI_BASE_URL = 'http://op.squirrel2.cn'  # API地址\nAPI_PREFIX = '/api/v1'                  # API前缀\nAPI_TIMEOUT = 10                        # 超时时间（秒）\n```\n\n### 平台配置\n\n```python\nPLATFORMS = {\n    'jd': {\n        'name': '京东',\n        'keywords': ['京东', 'jd.com', ...],\n        'link_patterns': [...]\n    },\n    'taobao': {\n        'name': '淘宝',\n        'keywords': ['淘宝', '天猫', ...],\n        'link_patterns': [...]\n    },\n    'pinduoduo': {\n        'name': '拼多多',\n        'keywords': ['拼多多', ...],\n        'link_patterns': [...]\n    }\n}\n```\n\n## 📚 文档\n\n- [API使用指南](references/api-guide.md) - API接口详细说明\n- [用户使用手册](references/user-guide.md) - 用户使用指南\n- [故障排查指南](references/troubleshooting.md) - 常见问题解决\n\n## 🧪 测试\n\n运行测试套件：\n\n```bash\npython tests/test_skill.py\n```\n\n## 📝 注意事项\n\n1. **API服务**: 确保 API 服务已启动并可访问\n2. **网络连接**: 确保可以访问 API 地址\n3. **口令有效期**: \n   - 京东口令：7-15天\n   - 淘宝口令：15-30天\n4. **优惠链接有效期**:\n   - 京东：15天\n   - 淘宝：15天\n   - 拼多多：7天\n\n## 🎯 核心价值\n\n帮助用户找到最优惠的价格，通过优惠券和折扣为用户节省购物开支。\n\n## 📄 许可证\n\nMIT License\n\n## 👤 作者\n\nAI Assistant\n\n## 📅 更新日志\n\n- 2026-04-08: v1.0.0 - 初始版本发布\n\nFile v1.4.0:_meta.json\n\n{\n  \"ownerId\": \"kn76azyt0xxb21dk6bq8qqqn29851gxm\",\n  \"slug\": \"pricecompare\",\n  \"version\": \"1.4.0\",\n  \"publishedAt\": 1781527555294\n}\n\nFile v1.4.0:skill-card.md\n\n## Description: <br>\nShopping deal assistant for JD.com, Taobao, and Pinduoduo that parses share codes and product links, searches products, compares prices, and returns coupon-aware purchase links. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[zhangjiun1](https://clawhub.ai/user/zhangjiun1) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal shoppers and shopping agents use this skill to find coupons, convert product links into discount links, and compare prices across JD.com, Taobao, and Pinduoduo before purchase. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Shopping searches, product links, and platform share codes are sent to op.squirrel2.cn for processing. <br>\nMitigation: Avoid submitting account details, private personal information, or sensitive messages in product links or share text. <br>\nRisk: The skill performs a daily update check to ClawHub unless disabled. <br>\nMitigation: Set PRICECOMPARE_NO_VERSION_CHECK=1 in environments where outbound version-check requests are not allowed. <br>\nRisk: Prices, coupons, and promotion links may expire or change before checkout. <br>\nMitigation: Verify the final price, coupon terms, and merchant page before purchasing. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/zhangjiun1/pricecompare) <br>\n- [Publisher profile](https://clawhub.ai/user/zhangjiun1) <br>\n- [Coupon API endpoint](https://op.squirrel2.cn) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [Text, Markdown] <br>\n**Output Format:** [Markdown-formatted shopping results with product names, original prices, coupon-adjusted prices, coupon details, savings estimates, and clickable offer links.] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Results are time-sensitive and depend on coupon availability, product availability, and responses from the external coupon API.] <br>\n\n## Skill Version(s): <br>\n1.4.0 (source: server release evidence, config.py, SKILL.md changelog) <br>\n\n## Ethical Considerations: <br>\nUsers 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. <br>","readmeExcerpt":"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","codeSnippets":[],"executableExamples":[{"language":"text","snippet":"触发条件: 用户发送了电商商品链接\n调用签名: convert_link(url: str, platform: str|None = None) -> str\nAPI:      POST /api/v1/convert  body: {\"url\": \"...\", \"platform\": \"jd|taobao|pinduoduo\"}\n\nplatform 可选，服务端自动识别域名:\n  JD: item.jd.com, u.jd.com, 3.cn\n  TB: item.taobao.com, detail.tmall.com, m.tb.cn, e.tb.cn\n  PDD: mobile.yangkeduo.com, p.pinduoduo.com"},{"language":"text","snippet":"触发条件: 用户发送了疑似分享口令的文本（非纯 URL）\n调用签名: parse_share_content(content: str) -> str\nAPI:      POST /api/v1/parse_share  body: {\"content\": \"<用户原话>\"}\n\n注意: 服务端自动识别口令格式，无需客户端做正则检测。\n      解析失败时返回错误信息，调用方应 fallback 到商品搜索。"},{"language":"text","snippet":"触发条件: 用户想搜索/找某类商品\n调用签名: search_goods(keyword: str, platform: str|None = None, page_size: int = 10) -> str\nAPI:      POST /api/v1/search  body: {\"platform\": \"jd|taobao|pinduoduo\", \"keyword\": \"...\", \"page_size\": 10}\n\nplatform 为 None: 自动调用 compare_prices 三平台比价\npage_size 最小值: 10（拼多多限制）"},{"language":"text","snippet":"触发条件: 用户想对比价格、找最便宜的平台\n调用签名: compare_prices(keyword: str) -> str\nAPI:      POST /api/v1/compare  body: {\"keyword\": \"...\"}"},{"language":"text","snippet":"handle_message(user_raw_message, keyword=extracted_product_name)"},{"language":"text","snippet":"触发条件: 用户发送了电商商品链接\n调用签名: convert_link(url: str, platform: str|None = None) -> str\nAPI:      POST /api/v1/convert  body: {\"url\": \"...\", \"platform\": \"jd|taobao|pinduoduo\"}\n\nplatform 可选，服务端自动识别域名:\n  JD: item.jd.com, u.jd.com, 3.cn\n  TB: item.taobao.com, detail.tmall.com, m.tb.cn, e.tb.cn\n  PDD: mobile.yangkeduo.com, p.pinduoduo.com"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: 购物省钱宝 - 京东/淘宝/拼多多优惠查询\ndescription: 京东/淘宝/拼多多商品比价、优惠券查询、口令解析与链接转链省钱助手。帮用户在三平台找到最低价。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.\nversion: 1.5.6\n---\n\n# PriceCompare · 购物省钱宝\n\n> 三平台比价省钱助手：查价格、找优惠券、解析口令、转链接。帮我查XX在哪买最便宜。Cross-platform price comparison, coupon discovery, and deal conversion.\n\n> 调用入口: `handle_message(message, keyword=None)` — message 用于路由判断，keyword 用于搜索/比价。API: `POST http://op.squirrel2.cn/api/v1/{endpoint}`。数据仅用于本次查询，发送至 op.squirrel2.cn 处理。\n\n## 功能\n\n### 1. 链接转链 `convert_link`\n将商品链接转换为优惠链接。\n```\n触发条件: 用户发送了电商商品链接\n调用签名: convert_link(url: str, platform: str|None = None) -> str\nAPI:      POST /api/v1/convert  body: {\"url\": \"...\", \"platform\": \"jd|taobao|pinduoduo\"}\n\nplatform 可选，服务端自动识别域名:\n  JD: item.jd.com, u.jd.com, 3.cn\n  TB: item.taobao.com, detail.tmall.com, m.tb.cn, e.tb.cn\n  PDD: mobile.yangkeduo.com, p.pinduoduo.com\n```\n\n### 2. 口令解析 `parse_share_content`\n解析用户粘贴的电商分享内容（口令、短链接等）。服务端自动判断是否含有效口令。\n```\n触发条件: 用户发送了疑似分享口令的文本（非纯 URL）\n调用签名: parse_share_content(content: str) -> str\nAPI:      POST /api/v1/parse_share  body: {\"content\": \"<用户原话>\"}\n\n注意: 服务端自动识别口令格式，无需客户端做正则检测。\n      解析失败时返回错误信息，调用方应 fallback 到商品搜索。\n```\n\n### 3. 商品搜索 `search_goods`\n按关键词搜索商品。不指定 platform 时自动走三平台比价。\n```\n触发条件: 用户想搜索/找某类商品\n调用签名: search_goods(keyword: str, platform: str|None = None, page_size: int = 10) -> str\nAPI:      POST /api/v1/search  body: {\"platform\": \"jd|taobao|pinduoduo\", \"keyword\": \"...\", \"page_size\": 10}\n\nplatform 为 None: 自动调用 compare_prices 三平台比价\npage_size 最小值: 10（拼多多限制）\n```\n\n### 4. 多平台比价 `compare_prices`\n同一关键词在京东/淘宝/拼多多三平台同时搜索，返回最低价。\n```\n触发条件: 用户想对比价格、找最便宜的平台\n调用签名: compare_prices(keyword: str) -> str\nAPI:      POST /api/v1/compare  body: {\"keyword\": \"...\"}\n```\n\n## Agent 调用指引\n\n### 调用方式\n```\nhandle_message(user_raw_message, keyword=extracted_product_name)\n```\n\n- **message**: 用户原始输入，用于路由判断（检测 URL）\n- **keyword**: agent 从用户消息中提取的商品关键词，用于搜索/比价。不提供时回退到 message\n\n### 路由决策\n\n| 优先级 | 条件 | 调用 |\n|:---:|------|------|\n| 1 | message 含电商商品 URL | `convert_link(url)` |\n| 2 | 其他文本 | 先 `parse_share_content(message)`，失败则 `search_goods(keyword or message)` |\n\n### Agent 行为规范\n\n1. 从用户消息中提取商品关键词传给 `keyword` 参数（如\"帮我查一下iPhone 16的价格\" → keyword=\"iPhone 16\"）\n2. 用户指定平台时传 `platform` 参数（jd/taobao/pinduoduo）\n3. 展示链接时优先用超链接格式，如前端不支持则输出原始 URL\n4. 函数返回的格式化内容直接呈现，无需重新组织\n\n## 平台代码\n\n| 中文 | 代码 | 主要域名 |\n|------|:---:|------|\n| 京东 | `jd` | item.jd.com, u.jd.com, 3.cn |\n| 淘宝/天猫 | `taobao` | item.taobao.com, detail.tmall.com, m.tb.cn |\n| 拼多多 | `pinduoduo` | mobile.yangkeduo.com, p.pinduoduo.com |\n\n## 响应字段\n\n| 字段 | 类型 | 含义 |\n|------|------|------|\n| title | string | 商品名称 |\n| price | number | 券后价（元） |\n| originalPrice | number | 原价（元） |\n| couponInfo | string | 优惠券描述，如\"满99减30\" |\n| couponAmount | number | 优惠券面值（元） |\n| shopName | string | 店铺名称 |\n| monthSal"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn76azyt0xxb21dk6bq8qqqn29851gxm\",\n  \"slug\": \"pricecompare\",\n  \"version\": \"1.5.6\",\n  \"publishedAt\": 1785987201204\n}"},{"path":"skill-card.md","content":"## Description:\n\n京东/淘宝/拼多多商品比价、优惠券查询、口令解析与链接转链省钱助手，帮助用户搜索商品、对比价格、解析电商分享内容并生成优惠购买链接。\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[zhangjiun1](https://clawhub.ai/user/zhangjiun1)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal 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.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill may send shopping queries, pasted share text, and product links to the external service op.squirrel2.cn for processing.\n\nMitigation: Use the skill only for intended shopping queries and links, and avoid sending private details, credentials, account data, or unrelated personal text.\n\nRisk: Ordinary non-URL user text can be sent for share-code parsing before local filtering.\n\nMitigation: Have the agent confirm ambiguous or sensitive-looking pasted text before invoking share parsing, or narrow inputs to validated shopping share-code formats.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/zhangjiun1/skills/pricecompare)\n- [Publisher profile](https://clawhub.ai/user/zhangjiun1)\n- [External shopping API service](https://op.squirrel2.cn)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, API calls, guidance]\n\n**Output Format:** [Markdown-formatted text with product details, coupon information, price comparisons, error guidance, and shopping links]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May include external promotional links and platform-specific shopping metadata returned by the API.]\n\n## Skill Version(s):\n\n1.5.6 (source: frontmatter and release evidence)\n\n## Ethical Considerations:\n\nUsers 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."}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"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","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":831,"uniquenessScore":57,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T22:55:09.377Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-09T22:55:09.377Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-10T04:59:58.731Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"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!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"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","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}